Intel

AIKIDO-2026-633663

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

Exposure of Sensitive Information to an Unauthorized ActorGHSA-4mqq-99j3-3hmv Published 2 days ago

75

High Risk

This Affects:

JS@ai-sdk/harness-deepagents
1.0.0 - 1.0.132
Fixed in 1.0.133
Are you affected? Scan for Free

TL;DR

AI SDK Harness adapters pass credentials into a sandbox by replacing real values with non-secret placeholders outside the sandbox boundary. When a saved session is resumed, the adapter reuses the credential placeholder map from the previous session instead of rebuilding it from the current authentication environment. A credential variable added after the session was created is passed into the sandbox as its real value, and code or agent activity in the resumed sandbox can read and exfiltrate it without escaping the sandbox. The fix rebuilds the sandbox credential environment from the current authentication state on every resume.

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.

Background info

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

How to fix this

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

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform