Security Developer-in-Residence Weekly Report #22

Published 2023-12-20 by Seth Larson
Reading time: 1 minute

This critical role would not be possible without funding from the OpenSSF Alpha-Omega project. Massive thank-you to Alpha-Omega for investing in the security of the Python ecosystem!

This week was all about working on Software Bill-of-Materials tooling and documentation for CPython. I published a new resource to the CPython core developer guide. This documents Software Bill-of-Materials and all of the tooling and processes for adding, updating, and removing dependencies. I'll continue to add to this document as more is developed in this project.

During an upgrade to CPython's ensurepip module, the bundled pip wheel was upgraded to version 23.3.2 however during the upgrade there was some confusion about what to do with an SBOM CI failure due to the Developer Guide documentation not yet being live. This resulted in the SBOM becoming out-of-date.

I fixed the SBOM ahead of the 3.13.0a3 release and automated the pip SBOM metadata discovery since pip is a part of a packaging ecosystem which isn't the case for most of CPython dependencies in the source tree.

Next steps for the SBOM infrastructure for CPython include adding Windows dependencies into the SBOMs released for the Windows installers and doing discovery work on macOS installers.

Other items

That's all for this week! 👋 If you're interested in more you can read next week's report or last week's report.

Thanks for reading! ♡ Did you find this article helpful and want more content like it? Get notified of new posts by subscribing to the RSS feed or the email newsletter.

This work is licensed under CC BY-SA 4.0