Skip to content

ecosystem_domains.json: python entry contains crates.io domains #26406

@jamesadevine

Description

@jamesadevine

The python entry in pkg/workflow/data/ecosystem_domains.json includes three Rust registry domains that don't belong:

"python": [
    "pypi.python.org",
    "pypi.org",
    ...
    "crates.io",
    "index.crates.io",
    "static.crates.io"
]

These are Rust package registry domains already correctly listed under the rust entry. Their presence in python means any workflow using network.allow: [python] silently receives access to the Rust registry — violating least-privilege network isolation.

Looks like a copy-paste error. Suggested fix: remove the three crates.io entries from the python array.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions