@ai-sdk/harness-acp is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor
75
CVE Score
High
Exposure of Sensitive Information to an Unauthorized Actor
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.
Upgrade the @ai-sdk/harness-acp and/or the @ai-sdk/harness-opencode library to the patch version.
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.
0.0.1 - 1.0.70
Fixed in 1.0.71@ai-sdk/harness-acp is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 0.0.1 - 1.0.70.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.