Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions internal/handlers/egress_allowlist_defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ ecosystem_default_domains:
- static.crates.io
- index.crates.io
- rsproxy.cn
# Proton AG's public sparse Cargo registry (pvpnclient, muon).
- rust-registry.proton.me
composer:
- repo.packagist.org
- packagist.org
Expand Down
2 changes: 2 additions & 0 deletions internal/handlers/egress_allowlist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ func TestEgressAllowlist_PublicRegistriesAllowed(t *testing.T) {
"https://go.googlesource.com/tools",
"https://android.googlesource.com/platform",
"https://nodejs.org/dist/index.json",
"https://rust-registry.proton.me/index/config.json",
"https://adsbynimbus-public.s3.amazonaws.com/android/sdks",
} {
assert.Nil(t, egressResult(t, h, allowed), "public registry host allowed: "+allowed)
Expand Down Expand Up @@ -717,6 +718,7 @@ func TestEgressAllowlist_NewEntriesDoNotWidenBeyondExactHosts(t *testing.T) {
// moment its entry is changed to a leading-dot suffix, so this is the probe
// set that actually pins exact-host semantics.
childProbes := []string{
"https://evil.rust-registry.proton.me/payload",
"https://evil.docker.redpanda.com/payload",
"https://evil.appboy.github.io/payload",
"https://evil.juliaregistries.github.io/payload",
Expand Down
Loading