Intel

AIKIDO-2026-601428

@ai-sdk/harness-claude-code is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor

GHSA-4mqq-99j3-3hmvPublished Oct 5, 2026
October 5, 2026

75

CVE Score

High

Exposure of Sensitive Information to an Unauthorized Actor

Are you affected? Scan for Free

TL;DR

AI SDK Harness adapters pass credentials into a sandbox by substituting placeholders for the real values outside the sandbox boundary. When a session is resumed, the adapter reuses the credential placeholder map saved with the previous session instead of rebuilding it from the current authentication environment, so a credential variable added after the session was created enters the sandbox as its real value. Code or agent activity inside the resumed sandbox can then read and exfiltrate that credential without escaping the sandbox. The fix rebuilds the sandbox credential environment from the current authentication state on every resume.

How do I fix this?

Upgrade the @ai-sdk/harness-claude-code library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you resume a saved session after a credential variable was added to the authentication environment, for example by switching providers or authentication modes.

Versions

1.0.0 - 1.0.136

Fixed in 1.0.137

Background info

@ai-sdk/harness-claude-code is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 1.0.0 - 1.0.136.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea