Skip to content

Update security policy with threat model #304

Closed

Description

@zooba

Our security policy should make clear that compromised indexes (including through MitM attacks or externally reconfigured PyManager installs) are outside of our threat model and are not considered vulnerabilities.

The index has the ability to provide arbitrary code to be executed on the user's machine by design, and so anything else that may be possible pales into insignificance if the index is not trustworthy. We also intentionally design for custom indexes, which means we cannot validate that the index being used matches the one published to python.org.

Specific vulnerabilities in the index hosted on python.org should be reported through the regular security channels, as they need to be fixed in the CPython release process, not here.

Activity

  1. zooba commented on Apr 1, 2026

    @zooba
    MemberAuthor
  2. self-assigned this
    on Apr 14, 2026
  3. added a commit that references this issue on Apr 14, 2026
    9bf959a
  4. added a commit that references this issue on Apr 15, 2026
    ba799d5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions