~/talk

Malicious Needle in a Haystack - PyPi Security Pitfalls

Talkat PyCon Israel 2024 · on Monday, 2024-09-16· [security, python]
slides:none on file

Shows concrete PyPI attacks and defenses: demonstrates star-jacking (fake GitHub stats shown until PyPI requires uploads via trusted publisher management), documents a recent campaign of 900+ crypto‑stealing typosquat packages, and notes malicious packages typically appear within days–weeks while originals are months old. Describes supply‑chain incidents (polyfill.io takeover, XZ utils social‑engineering over two years), recommends GitHub Actions for publishing, MFA and least‑privilege tokens, secret scanners, a browser extension validator, and reporting malware via PyPI’s hidden “report” button (PyPI responds ~one day).

AI-written summary · about

  1. 0:00Introduction to PyPi security
  2. 1:37Dependency risks in packages
  3. 5:11Star jacking explained
  4. 5:33Typosquatting attacks
  5. 8:21Malware consequences after install
  6. 9:24Maintainer account hijacking
  7. 11:58Python GitHub admin token leak
  8. 14:30Polyfill.io supply chain attack
  9. 16:37Revival hijack explained
  10. 17:22XZ Utils backdoor incident
  11. 19:10Security best practices summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.