Repository navigation
fix(#619): resolve @anthropic-ai/sdk advisory — bump claude-agent-sdk → 0.3.144 - #666
Merged
admarble merged 2 commits intoMay 30, 2026
Conversation
…K advisory waiver Recheck per #619 target (2026-05-23) — ran 4 days early, outcome is matrix Row 1. Diagnostics ----------- - npm view @anthropic-ai/claude-agent-sdk@latest version → 0.3.144 (was 0.2.138 at #614 / #619 interim 2026-05-09) - Local install before update: [email protected] (via Dependabot #650) - After `npm update @anthropic-ai/claude-agent-sdk`: 0.3.144 → transitive @anthropic-ai/sdk = 0.93.0 (≥ 0.91.1, outside vuln range) - npm audit: @anthropic-ai/sdk advisory absent; 2 unrelated moderates remain (brace-expansion, ws — out of scope, fixAvailable: true) Falsifiability (#614 condition) still holds ------------------------------------------- - grep memoryTool|MemoryTool|memory_tool|memory-tool in src/ bin/ scripts/ → 0 hits - No direct @anthropic-ai/sdk imports outside the indirect query() pathway in src/lib/workflow/drivers/claude-code.ts Scope ----- - Lockfile-only diff (^0.3.142 already permits 0.3.144). - CHANGELOG [Unreleased] §Security entry. - Tests: 49/49 in src/lib/workflow/drivers (the claude-agent-sdk consumer). - Build, lint clean. Entire-Checkpoint: e01eff451227
…-expansion, ws, qs) In-range lockfile-only `npm audit fix` (no --force, no package.json change) resolves the three remaining moderates post claude-agent-sdk bump: - brace-expansion GHSA-jxxr-4gwj-5jf2 (large-numeric-range DoS) - ws GHSA-58qx-3vcg-4xpx (uninitialized-memory disclosure) - qs GHSA-q8mj-m7cp-5q26 (qs.stringify DoS) Post-fix `npm audit` reports 0 vulnerabilities. Folded into this PR rather than a separate tracker since all three are the same class of in-range lockfile fix as the #619 claude-agent-sdk bump. Build, lint clean; 49/49 src/lib/workflow/drivers.
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
Recheck per #619 target (2026-05-23, run 4 days early) — outcome is matrix Row 1:
@anthropic-ai/claude-agent-sdk0.3.x has lifted the@anthropic-ai/sdkpin out of the vuln range, so the #614 waiver is no longer needed.npm update @anthropic-ai/claude-agent-sdk→ bumps lockfile from0.3.142to0.3.144(within existing^0.3.142semver; nopackage.jsonchange).@anthropic-ai/sdknow resolves to0.93.0, outsideGHSA-p7fg-763f-g4gfrange (>=0.79.0 <0.91.1).0.2.138→0.3.142); this PR just executes the prescribednpm updatestep and documents the resolution.Diagnostics
Falsifiability (#614 condition) — still holds
grep -rE 'memoryTool|MemoryTool|memory_tool|memory-tool' src/ bin/ scripts/→ 0 hits@anthropic-ai/sdkimports outside the indirectquery()pathway insrc/lib/workflow/drivers/claude-code.ts.Out of scope (follow-up)
Two unrelated moderates remain in
npm audit. Both havefixAvailable: true— should be triaged in a separate issue:brace-expansion— GHSA-jxxr-4gwj-5jf2 (range>=5.0.0 <5.0.6, installed5.0.2 - 5.0.5)ws— GHSA-58qx-3vcg-4xpx (range>=8.0.0 <8.20.1, installed8.0.0 - 8.20.0)Pre-PR AC Verification
npm view … version dependencies.@anthropic-ai/sdkandnpm audit --json | jq '.metadata.vulnerabilities'npm update @anthropic-ai/claude-agent-sdknpm auditno longer lists@anthropic-ai/sdk; resolved to0.93.0≥0.91.1brace-expansion,ws) remain — out of scope for #619fix(#619)commit will auto-close on mergegrep memoryTool … src/ bin/ scripts/→ 0 hits; no direct sdk imports[Unreleased]§Security entry addedTest plan
npm run build— cleannpm run lint— cleannpx vitest run src/lib/workflow/drivers— 49/49 (the claude-agent-sdk consumer)npm auditlocally to confirm@anthropic-ai/sdkadvisory is gone post-mergeCloses #619