fix(deps): patch ip-address XSS and @anthropic-ai/sdk file-permission advisories (CYPACK-1182)#1192
Closed
cyrusagent wants to merge 1 commit into
Closed
fix(deps): patch ip-address XSS and @anthropic-ai/sdk file-permission advisories (CYPACK-1182)#1192cyrusagent wants to merge 1 commit into
cyrusagent wants to merge 1 commit into
Conversation
… 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.
This was referenced May 8, 2026
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pnpm.overridesfor@anthropic-ai/sdk >=0.91.1(GHSA-p7fg-763f-g4gf, CVE-2026-41686 — insecure default file permissions inBetaLocalFilesystemMemoryTool) andip-address >=10.1.1(GHSA-v2v4-37r5-5v8g, CVE-2026-42338 — XSS inAddress6HTML-emitting methods).@anthropic-ai/sdk@0.81.0is pinned by@anthropic-ai/claude-agent-sdk@latest, and the vulnerableip-addressis 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.@anthropic-ai/sdkadded a requiredstop_details: BetaRefusalStopDetails | nullfield toBetaMessage. Updatedcursor-runner,gemini-runner, andcodex-runnerSDK message adapters accordingly.pnpm auditreports zero advisories. Closes CYPACK-1182.Test plan
pnpm installsucceeds with new overridespnpm auditreports no known vulnerabilitiespnpm buildsucceeds across all packagespnpm typecheckpasses across the workspacepnpm test:packages:runpasses (one pre-existing flake inclaude-runner/test/debug-logging.test.tsdue to a leakyDEBUG_CLAUDE_AGENT_SDKenv var in the local shell — unrelated; passes when env is clean)