~/talk

Malicious Needle in a Haystack – PyPi Security Pitfalls

Talkat XtremePython 2024 Online Conference · on Tuesday, 2024-11-19· [security, python]
slides:none on file

PyPI contains real attacks: star spoofing where repo stats are faked via unvalidated GitHub links, 900+ malicious packages found in one typosquatting campaign, and a supply‑chain backdoor in xz utils planted after two years of social engineering. Observed payloads steal cloud credentials, cookies, crypto keys and replace wallet addresses. Defenses shown include using package pages or a scanner plugin instead of manual pip install, reporting via PyPI’s hidden security button, enforcing 2FA, one short‑lived token per project, and scanning for leaked secrets.

AI-written summary · about

  1. 0:00Introduction to PyPi security
  2. 2:07Star checking vulnerability
  3. 5:42Typosquatting attacks
  4. 7:50Malware behavior overview
  5. 8:54Compromised developer accounts
  6. 11:02Python infrastructure breach
  7. 13:11Malicious library transfers
  8. 15:45XZ utils supply chain attack
  9. 17:10Defense strategies 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.