Repository navigation
Description
Summary
Behavior-defined engines declare their own behaviors.network.defaults. BehaviorDefinedEngine.allowedDomains (pkg/workflow/behavior_defined_engine.go:764) passes them through resolveEngineNetworkDomains (pkg/workflow/domains.go:613) into the AWF allow-list. The package-registry and vendor-endpoint rules for static engine sets in ecosystem_domains.json do not cover these declared defaults. TestEngineDefaultDomainsDoNotOverlapEcosystems (pkg/workflow/domains_package_registry_test.go:175) checks only engineDefaultDomainSets.
Two in-repo engine definitions use this path to add egress that static engines are no longer allowed to have:
- Kiro adds two vendor telemetry hosts, an auth host, an unexplained asset host, and a
*.kiro.devprovider wildcard by default. - Aider adds the PyPI registry (
pypi.org,files.pythonhosted.org) to its engine defaults.
None of these entries has a justification comment or a test that references it. These are new findings. Previous [domains-audit] issues covered only the static engine sets in ecosystem_domains.json.
Affected sets
| Set | Domain | Bucket | File:line |
|---|---|---|---|
kiro network.defaults |
client-telemetry.us-east-1.amazonaws.com |
vendor-telemetry | .github/workflows/shared/kiro.md:32 |
kiro network.defaults |
prod.us-east-1.telemetry.kiro.aws.dev |
vendor-telemetry | .github/workflows/shared/kiro.md:33 |
kiro network.defaults |
cognito-identity.us-east-1.amazonaws.com |
vendor-auth | .github/workflows/shared/kiro.md:30 |
kiro network.defaults |
prod.assets.shortbread.aws.dev |
unclear | .github/workflows/shared/kiro.md:34 |
kiro provider-domains |
*.kiro.dev |
vendor-model-api (broad wildcard) | .github/workflows/shared/kiro.md:36 |
aider network.defaults |
pypi.org |
package registry (eco:python) | .github/workflows/shared/aider.md:41 |
aider network.defaults |
files.pythonhosted.org |
package registry (eco:python) | .github/workflows/shared/aider.md:42 |
Why this is suspicious
- Telemetry is not needed for correctness. Agents run behind the AWF gateway. Telemetry hosts are not needed to complete a task. The Kiro telemetry hosts were added after failure investigation [aw-failures] Kiro/Cursor CLI auth fails intermittently — network allow-list gap + missing SECRET_ fallback #50519, which described the denials only as a plausible cause and noted that a passing run had the same domains denied. No code comment records why they are needed.
grepfinds no reference outsideshared/kiro.md. - The Kiro telemetry hosts are in the compiled lock file.
prod.us-east-1.telemetry.kiro.aws.devandclient-telemetry.us-east-1.amazonaws.comappear in theallowDomainslist in.github/workflows/smoke-kiro.lock.yml. That workflow allows onlydefaults,github, andgo. *.kiro.devis broader than needed. The harness downloads the CLI fromprod.download.cli.kiro.devinside the sandbox, so this provider wildcard covers both tool downloads and every otherkiro.devsubdomain. Concrete hosts would make the allow-list auditable.- Aider's PyPI defaults conflict with the opt-in rule. The
domains.gocomment (lines 68–80) says engine defaults must exclude package registries. Aider now installsaider-chatandfastuuidinpre-agent-steps, outside the sandbox, which was the fix for [aw-failures] Smoke Aider: awmg-mcpg container-attach race (P0) + fastuuid firewall block (P1) #50439. So PyPI access inside the sandbox is not needed for installation. As a result,smoke-aider.mddeclaresnetwork.allowed: []and still gets PyPI access. The import'sruntimes: pythonalso grants the python ecosystem. That is the documented explicit opt-in, so the engine-default copy is unnecessary. - The guard has a structural gap. Any new
shared/<engine>.mdcan add registries or telemetry to engine defaults without failing a test.
Suggested change
- Move Kiro's telemetry hosts (
client-telemetry.us-east-1.amazonaws.com,prod.us-east-1.telemetry.kiro.aws.dev) out ofnetwork.defaultsand into an explicit opt-in, such as akiro-vendorset used throughnetwork.allowed. Alternatively, add a comment inshared/kiro.mdwith run evidence showing the CLI fails when they are blocked. - Document or narrow
cognito-identity.us-east-1.amazonaws.comandprod.assets.shortbread.aws.dev. Replace*.kiro.devwith the concrete API and download hosts. - Remove
pypi.organdfiles.pythonhosted.orgfromshared/aider.mdnetwork.defaults. Theruntimes: pythonentry already provides the explicit python opt-in. - Apply the
engineDefaultEcosystemOverlapscheck to behavior-defined engines. Options: validatebehaviors.network.defaultsandprovider-domainsat compile time, or add a test that loads every.github/workflows/shared/*.mdengine definition and checks its declared defaults against the package ecosystems.
View full findings
Other behavior-defined engine defaults reviewed
| Engine | Declared defaults beyond the gateway/GitHub baseline | Verdict |
|---|---|---|
| cursor | downloads.cursor.com, api2.cursor.sh, agentn.global.api5.cursor.sh |
downloads.cursor.com is used by the harness's in-sandbox download (shared/cursor.md:127). agentn.global.api5.cursor.sh has no comment and should be documented. |
| crush, goose | objects.githubusercontent.com, release-assets.githubusercontent.com |
GitHub download hosts. These follow the same pattern as #72063 (Agy); goose.md:28 has a comment. |
| opencode, deepseek-harness, factory | gateway/GitHub plus provider APIs | Acceptable. |
Static engine sets (no change since last audit)
The SHA-256 of pkg/workflow/domains.go matches the previous run. Open issues still cover the existing findings:
- [domains-audit] Shared GitHub parent rule covers package registries outside ecosystem opt-ins #70226: github.com parent rule
- [domains-audit] Agy adds GitHub download egress without the documented engine-domain opt-in #72063: Agy GitHub download hosts
- [domains-audit] Chrome browser bundle grants unrelated package and model API egress through Google wildcards #72064: Chrome Google wildcards
There are 72 exact-overlap pairs among the static and ecosystem sets. All are either the shared gateway/GitHub baseline or deliberate ecosystem overlaps resolved by ecosystemPriority: node-cdns before node, deno before node, rust before python, python ⊂ python-native, and storage.googleapis.com shared by dart, go, and node.
Minor clarity note: threat-detection is defined in both the ecosystems and engine-defaults objects of ecosystem_domains.json, with identical contents.
Verification
- No existing test references the Kiro hosts.
- Regenerate
.github/workflows/smoke-kiro.lock.yml,smoke-aider.lock.yml,engine-conformance-{kiro,aider}.lock.yml, and the daily Aider workflows withmake recompile. pkg/workflow/domains_package_registry_integration_test.go(lines 21, 59, 65) asserts PyPI behavior for static engines only. Extend it, or addaider_workflow_test.gocoverage, so a behavior-defined engine withnetwork.allowed: []and no python opt-in does not getpypi.org.- Run the Kiro smoke test after the change, and keep the telemetry hosts only if the run fails without them.
- expires on Nov 22, 2026, 10:27 AM UTC
Generated by 🌐 Weekly Network Domain Set Audit · pi · routed: opus55 high · ~105 AIC · ⌖ ~1 AIC · ⊞ 5.8K · ◷
Activity
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Oct 31, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Nov 22, 2026
This issue was automatically closed because it expired on 2026-11-22T10:27:24.346Z.