Secret masking bypass in the environment tool in Strands Agents Tools
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| amazon | strands-agents-tools |
≥ 0.1.0, < 0.8.6 |
0.8.6 |
Original description The description as published by the source.
Improper neutralization of input used for LLM prompting in the environment tool in Strands Agents Tools before 0.8.6 might allow remote actors to obtain the agent host's environment variables in cleartext, including cloud credentials and API keys, via a crafted prompt that disables the tool's secret masking.
To remediate this issue, users should upgrade to version 0.8.6 or later and rotate any credentials that were present in the environment of agents that loaded the environment tool.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- AWS aws.amazon.com
- web github.com
- web aws.amazon.com
- web github.com