pypi / warehouse

The Python Package Index
https://pypi.org
Apache License 2.0
3.54k stars 952 forks source link

Document PyPI security policy in FAQ and security page #7970

Open tiran opened 4 years ago

tiran commented 4 years ago

What's the problem this feature will solve?

The Python Security Response Team (PSRT) is getting inquiries and security reports regarding malicious content on PyPI regularly. Every now and then we have to educate reporters that PyPI is not a secure and tightly controlled app store but an open package index.

The pages https://pypi.org/help/ and https://pypi.org/security/ don't explain PyPI's security concept and policy as well.

Describe the solution you'd like

It would be fantastic if the official FAQ and security page of PyPI could set expectations and explain PyPAs security concept.

Incomplete list of topics:

The security policy should be objective, honest, but not go into fearmongering.

Additional context

tiran commented 3 years ago

Hi,

PSRT got contacted by multiple reporters in the past months regarding "attacks" on PSRT, e.g. dependency confusion issue. Just today we got contacted regarding:

@di @ewdurbin @ejodlowska Could you please escalate this issue and come up with an official text? Reporters typically expect an authoritative, official response within a couple of hours. The Python Security Response Team is not the right body to make official statements on behalf of the PSF.

di commented 3 years ago

We should provide a save harbor notice as well, something like https://docs.github.com/en/github/site-policy/github-bug-bounty-program-legal-safe-harbor