Skip to content

fix(deps): patch ip-address XSS and @anthropic-ai/sdk file-permission advisories (CYPACK-1182)#1192

Closed
cyrusagent wants to merge 1 commit into
mainfrom
cypack-1182
Closed

fix(deps): patch ip-address XSS and @anthropic-ai/sdk file-permission advisories (CYPACK-1182)#1192
cyrusagent wants to merge 1 commit into
mainfrom
cypack-1182

Conversation

@cyrusagent
Copy link
Copy Markdown
Contributor

@cyrusagent cyrusagent commented May 8, 2026

Summary

  • Adds root pnpm.overrides for @anthropic-ai/sdk >=0.91.1 (GHSA-p7fg-763f-g4gf, CVE-2026-41686 — insecure default file permissions in BetaLocalFilesystemMemoryTool) and ip-address >=10.1.1 (GHSA-v2v4-37r5-5v8g, CVE-2026-42338 — XSS in Address6 HTML-emitting methods).
  • Overrides were necessary in both cases: the vulnerable @anthropic-ai/sdk@0.81.0 is pinned by @anthropic-ai/claude-agent-sdk@latest, and the vulnerable ip-address is a 3-level transitive via @modelcontextprotocol/sdk > express-rate-limit. Per the team's mandated dependency security policy, a direct-dep bump cannot reach either.
  • Bumping @anthropic-ai/sdk added a required stop_details: BetaRefusalStopDetails | null field to BetaMessage. Updated cursor-runner, gemini-runner, and codex-runner SDK message adapters accordingly.

pnpm audit reports zero advisories. Closes CYPACK-1182.

Test plan

  • pnpm install succeeds with new overrides
  • pnpm audit reports no known vulnerabilities
  • pnpm build succeeds across all packages
  • pnpm typecheck passes across the workspace
  • pnpm test:packages:run passes (one pre-existing flake in claude-runner/test/debug-logging.test.ts due to a leaky DEBUG_CLAUDE_AGENT_SDK env var in the local shell — unrelated; passes when env is clean)

… advisories (CYPACK-1182)

Adds root pnpm.overrides for:
- @anthropic-ai/sdk >=0.91.1 (GHSA-p7fg-763f-g4gf, CVE-2026-41686) —
  the vulnerable 0.81.0 is pinned by @anthropic-ai/claude-agent-sdk@latest,
  so a direct-dep bump cannot reach it.
- ip-address >=10.1.1 (GHSA-v2v4-37r5-5v8g, CVE-2026-42338) — pulled in
  transitively via @modelcontextprotocol/sdk > express-rate-limit.

Bumping @anthropic-ai/sdk added a required `stop_details` field to
BetaMessage; updated cursor-runner, gemini-runner, and codex-runner
adapters accordingly.

pnpm audit reports zero advisories.
@cyrusagent
Copy link
Copy Markdown
Contributor Author

Closing in favor of #1195, which addresses the same two advisories plus the 5 newer ones (hono x3, fast-uri x2). Same approach (root pnpm.overrides + stop_details: null adapter fix) but bundled into a single PR per CYPACK-1186.

@cyrusagent cyrusagent closed this May 10, 2026
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.

1 participant