Cyber Risks · Trail of Bits Blog

Our audit of PyPI

Summary: Trail of Bits audited Warehouse and cabotage, the codebases that power and deploy PyPI, and found issues that were not critical but could compromise the integrity and availability of both, plus one finding that would allow an attacker to disclose ordinarily private account information. The audit, sponsored by the Open Tech Fund, rated Warehouse consistent with industry-standard practices while finding cabotage less mature, with a single active maintainer, limited public documentation, no complete unit test suite, and no CI/CD system to run tests or evaluate code quality.

What you should know: PyPI hosts half a million packages from 750,000 users and serves over 26 billion downloads a month, making its distributions the ground truth for nearly every Python program - and the deployment tooling behind it has one active maintainer and no automated test pipeline.

Read the original at Trail of Bits Blog ↗