~/talk

Solving the Phantom Dependency Problem for Python Packages

Talkat Open Source Summit North America 2025 · 2025-06-23..06-25· [python]
slides:none on file

Phantom dependencies are bundled native libraries that aren’t listed in Python metadata, causing SCA and vulnerability checks to miss them; the concrete fix is a packaged SBOM directory PEP 770 (dist-info/sboms) that audit tools can write into wheels. Auditwheel is patched to emit those SBOMs and a demo shows auditwheel generating a CycloneDX SBOM that lets SIFT detect libwebp libtiff libpng previously invisible. PEP 770 is accepted after ~5 months of review and targets PyPI’s hundreds of thousands of packages.

AI-written summary · about

  1. 0:00Welcome
  2. 1:56What to expect from this talk
  3. 2:39Phantom dependencies defined
  4. 3:46Demo: Pillow phantom deps
  5. 5:34Software Bill of Materials
  6. 6:58Why scanners fail
  7. 8:43Legitimate phantom deps
  8. 10:51Wheels and phantom deps
  9. 12:34Python as glue language
  10. 13:18Solving with SBOMs
  11. 14:19PEP 770 introduction
  12. 15:24Contributing to SBOMs
  13. 17:55Social side of standards
  14. 18:36Skepticism on SBOMs
  15. 20:21Open source strategies
  16. 22:28Slow standards process
  17. 23:51PEP 770 success
  18. 24:12Supporting the Python Software Foundation
  19. 24:56Checking vulnerabilities
  20. 28:03Key takeaways
  21. 29:33Q&A
~/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.