Skip to content

fix: upgrade @anthropic-ai/sdk to 0.81.0 (CVE-2026-34451)#1124

Merged
stack72 merged 1 commit intomainfrom
fix/dependabot-anthropic-sdk-cve
Apr 6, 2026
Merged

fix: upgrade @anthropic-ai/sdk to 0.81.0 (CVE-2026-34451)#1124
stack72 merged 1 commit intomainfrom
fix/dependabot-anthropic-sdk-cve

Conversation

@stack72
Copy link
Copy Markdown
Contributor

@stack72 stack72 commented Apr 6, 2026

Summary

  • Override @anthropic-ai/sdk to ^0.81.0 in evals/promptfoo/package.json to fix a medium-severity path traversal vulnerability (GHSA-5474-4w2j-mq4c)
  • Regenerated package-lock.json — the resolved version moves from 0.80.0 → 0.81.0

Test plan

  • npm install succeeds with 0 vulnerabilities
  • deno check passes
  • CI passes

Closes https://github.com/systeminit/swamp/security/dependabot/1

🤖 Generated with Claude Code

The Anthropic TypeScript SDK versions 0.79.0–0.80.x had a path traversal
vulnerability (GHSA-5474-4w2j-mq4c) in the local filesystem memory tool.
Add an npm override to pin @anthropic-ai/sdk >= 0.81.0 in the promptfoo
eval lockfile.

Closes https://github.com/systeminit/swamp/security/dependabot/1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

Blocking Issues

None.

Suggestions

None.

Clean security fix — the npm overrides approach correctly pins @anthropic-ai/sdk to 0.81.0 to resolve the path traversal CVE (GHSA-5474-4w2j-mq4c). The package-lock.json and deno.lock changes are consistent with the override. No source code touched, no further review needed.

@stack72 stack72 merged commit 81ed509 into main Apr 6, 2026
10 checks passed
@stack72 stack72 deleted the fix/dependabot-anthropic-sdk-cve branch April 6, 2026 20:08
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