Case · DiggingBeagle record

Strands environment tool let model instructions disable secret masking

The Strands Agents Tools environment tool exposed a masking parameter to an agent, allowing the model to choose false and request unredacted host environment variables. Cloud credentials or provider keys in the tool host environment could be returned to the model even though the operator expected sensitive values to be hidden.

Scope

An application must make the affected environment tool available and allow an agent or injected prompt to influence its masking option. The disclosure demonstrates an authorization design flaw, not confirmed customer credential theft.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

The cited primary technical report or advisory supports the stated mechanism within its reported scope. The assessment does not infer a production breach, a victim count or a comparable impact score from a laboratory result. A maintainer or advisory names a patched release; that does not prove every deployed instance has updated. Boundary: A masking argument is a security policy decision, not a harmless tool display preference.

Assessed Oct 29, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Step

  2. 02

    Step

  3. 03

    Step

Claims & evidence

CLM-ENRICH-20261029-31The Strands Agents Tools advisory identifies the environment tool’s model-selectable masking argument as a route for exposing process environment variables and lists a patched tool release.supported

Basis: reported finding

Link to claim
CLM-CP23-STRANDS-ENV-MASKING-1The Strands Agents Tools environment tool exposed a masking parameter to an agent, allowing the model to choose false and request unredacted host environment variables. An application must make the affected environment tool available and allow an agent or injected prompt to influence its masking option. Cloud credentials or provider keys in the tool host environment could be returned to the model even though the operator expected sensitive values to be hidden.supported

Basis: reported finding

Link to claim

Implications

Cloud credentials or provider keys in the tool host environment could be returned to the model even though the operator expected sensitive values to be hidden.

Controls and mitigations

  • Upgrade strands-agents-tools to 0.8.6 and enforce secret redaction in trusted host code rather than model-controlled tool arguments.

Unknowns and contradictions

  • The disclosure demonstrates an authorization design flaw, not confirmed customer credential theft.

Sources and citation

Material revision history

  1. Oct 29, 2026 · Canonical change recorded · new in release · revision 202