This discussion recently came up on the Packaging Discord. I think we need a new coordination path for security disclosures affecting Python packaging tools. Currently, the Python Security Response Team (PSRT) is responsible for handling vulnerability reports for pip, as well as CPython.
The current process, however, is problematic:
- Recently, most pip-related reports reaching the PSRT have in practice consisted of forwarding the report to the pip maintainers, this makes the PSRT an inconvenient relay for reports.
security@python.orgreceives a large volume of CPython reports, which makes it a noisy place for coordinating packaging-specific issues.- With PEP 811 making the Steering Council’s oversight of the team explicit, it feels odd for packaging security reports to go through them when packaging is overseen by the Packaging Council.
- pip has a special historical relationship with CPython because it is bundled with the official CPython installers, however, other packaging tools share similar vulnerability surfaces with pip.
- It is difficultly to add more packaging maintainers to the PSRT. Many of the people who should be involved in pip, uv, Poetry, conda, etc. disclosures do not need access to CPython vulnerability reports. Broadening PSRT access for packaging coordination would increase the number of people with access to the confidential CPython reports, create additional access-control/trust-boundary concerns, and still leave the coordination model somewhat indirect.
I propose creating a separate private coordination team for packaging security issues.
This would let the relevant packaging maintainers be included directly, without giving them access
to unrelated CPython reports. It would also provide a lower-volume/more organised place to coordinate issues that affect multiple tools, agree on disclosure timelines, avoid different projects learning about the same vulnerability separately etc.
I’m not very involved in the packaging world myself, so I don’t have any specific ideas as to how this could be created and maintained. That said, I am happy to help where I can setting this up, including by sponsoring/co-authoring a PEP if one is needed.