Skip to content

feat(sandbox): allow cveawg.mitre.org for cve.org publication checks - #256

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:feat-sandbox-add-cveawg
May 24, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
potiuk:feat-sandbox-add-cveawg

Conversation

@potiuk

@potiuk potiuk commented May 24, 2026

Copy link
Copy Markdown
Member

Summary

Adds cveawg.mitre.org to the sandbox allowedDomains baseline so security-issue-sync Step 1g (cve.org publication-state check on recently-closed announced trackers) doesn't trip the macOS sandbox TLS interaction.

Why

security-issue-sync Step 1g hits the MITRE CVE Services API at https://cveawg.mitre.org/api/cve/<CVE-ID> to detect the RESERVED → PUBLISHED transition on cve.org. The host was missing from allowedDomains in the baseline (tools/sandbox-lint/expected.json). On macOS the sandbox's interaction with the system trust store produces an OSStatus -26276 cert verification failure for any host not in the allowlist, so every sync run that touched the closed-announced bucket required per-call dangerouslyDisableSandbox: true bypasses. For subagent fanouts on large sweeps (e.g. sync all across ~50 trackers) this became a prompt storm.

Adding the host eliminates the bypass in the common case.

Files changed

  • tools/sandbox-lint/expected.json — the baseline every adopter's .claude/settings.json is linted against. Adding here means all adopters get the fix on snapshot refresh.
  • .claude/settings.json — the steward repo's own live settings, kept in lockstep with expected.json by the sandbox-lint invariant.

Verification

$ uv run --directory tools/sandbox-lint --group dev sandbox-lint \
    --settings .claude/settings.json \
    --expected tools/sandbox-lint/expected.json
sandbox-lint: OK (.claude/settings.json matches tools/sandbox-lint/expected.json)

Scope

This PR adds only the generic host — every adopter that uses the CVE-tracking skills hits the same cve.org API for the post-publication propagation check. Adopter-specific paths (sibling repos, scratch directories, personal allowlists) stay out of the baseline and live in user-level ~/.claude/settings.json only.

Related

  • The wider RM-handoff state-gate work in #255 is what surfaced this gap (the vulnogram-api-record-fetch Step 5b.6 check hits cve.org during sync verification).

🤖 Generated with Claude Code

`security-issue-sync` Step 1g checks the cve.org publication state
of recently-closed `announced` trackers via the MITRE CVE Services
API at `https://cveawg.mitre.org/api/cve/<CVE-ID>`. The host was
not in the sandbox `allowedDomains` baseline, so every sync run
that touched closed-announced trackers tripped the macOS sandbox
TLS interaction (`OSStatus -26276` on cert verification) and
required per-call `dangerouslyDisableSandbox: true` bypasses,
producing a prompt storm for subagent fanouts on large sweeps.

Adding `cveawg.mitre.org` to:

- `tools/sandbox-lint/expected.json` — the baseline every adopter's
  `.claude/settings.json` is linted against.
- `.claude/settings.json` — the steward repo's own live settings,
  kept in lockstep with `expected.json` by the sandbox-lint
  invariant.

Verified locally:

    uv run --directory tools/sandbox-lint --group dev sandbox-lint
    → sandbox-lint: OK

The domain is generic — every adopter that uses the CVE-tracking
skills hits the same API for the post-publication propagation
check. Adopter-specific paths (sibling repos, scratch dirs) stay
out of the baseline and live in user-level `~/.claude/settings.json`
only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@potiuk
potiuk force-pushed the feat-sandbox-add-cveawg branch from ec566ce to 4d85736 Compare May 24, 2026 22:43
@potiuk
potiuk merged commit f269e86 into apache:main May 24, 2026
14 checks passed
@potiuk potiuk added the substrate:sandbox Tool substrate: agent isolation, egress control, settings audit label Sep 25, 2026
@potiuk potiuk added the family:tools tools/* label Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

family:tools tools/* substrate:sandbox Tool substrate: agent isolation, egress control, settings audit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant