Skip to content

fix: remove crates.io domains from python ecosystem entry#26430

Merged
pelikhan merged 2 commits intomainfrom
copilot/remove-crates-io-from-python
Apr 15, 2026
Merged

fix: remove crates.io domains from python ecosystem entry#26430
pelikhan merged 2 commits intomainfrom
copilot/remove-crates-io-from-python

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 15, 2026

pkg/workflow/data/ecosystem_domains.json incorrectly included three Rust registry domains (crates.io, index.crates.io, static.crates.io) under the python ecosystem — a copy-paste error. Any workflow using network.allow: [python] silently received Rust registry access, violating least-privilege network isolation.

Changes

  • pkg/workflow/data/ecosystem_domains.json: Remove the three crates.io entries from the python array; they remain correctly listed under rust.

Copilot AI changed the title [WIP] Remove crates.io domains from python entry fix: remove crates.io domains from python ecosystem entry Apr 15, 2026
Copilot AI requested a review from pelikhan April 15, 2026 13:29
@pelikhan pelikhan marked this pull request as ready for review April 15, 2026 13:30
Copilot AI review requested due to automatic review settings April 15, 2026 13:30
@pelikhan pelikhan merged commit 6f4b628 into main Apr 15, 2026
@pelikhan pelikhan deleted the copilot/remove-crates-io-from-python branch April 15, 2026 13:30
@pelikhan
Copy link
Copy Markdown
Collaborator

@Mossaka

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes Rust registry domains from the python ecosystem domain allowlist to restore least-privilege network isolation for workflows that use network.allow: [python].

Changes:

  • Removed crates.io, index.crates.io, and static.crates.io from the python domain list.
  • Kept those domains correctly listed under the rust ecosystem.
Show a summary per file
File Description
pkg/workflow/data/ecosystem_domains.json Removes Rust registry domains from the Python ecosystem allowlist while retaining them under Rust.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ecosystem_domains.json: python entry contains crates.io domains

3 participants