Intel

AIKIDO-2026-108451

@ai-sdk/harness-acp 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

The @ai-sdk/harness-acp adapter resumes a saved agent session by reusing the credential placeholder map stored with that session's prior lifecycle state. When the resumed session introduces a credential environment variable absent from that saved map, the adapter forwards the real credential value into the sandbox instead of substituting a placeholder. Code or agent activity running inside the resumed sandbox can then read and exfiltrate the exposed credential, such as a model provider API key or source control token. The fix refreshes the placeholder map against the current authentication environment before resuming the session.

How do I fix this?

Upgrade the @ai-sdk/harness-acp and/or the @ai-sdk/harness-opencode 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 agent session after the authentication environment introduces a credential variable absent from the session's placeholder map.

Versions

0.0.1 - 1.0.70

Fixed in 1.0.71

Background info

@ai-sdk/harness-acp is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 0.0.1 - 1.0.70.

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