T-3006Validated
Context Window Credential Leak
Exploit context window contents to leak credentials that were previously processed by the agent
Tactic
Credential Harvest · Stage 3
Extract API keys, tokens, and credentials from agent context and connected services
Attack class
RETROACTIVE-PRIV
Exploiting previously granted access or cached credentials to gain unauthorized capabilities
Evidence grade
ValidatedReproduced in a controlled lab environment (DVAA) with documented steps.
DVAA validation
LegacyBot credential leak
Reproductions in Damn Vulnerable AI Agent, the OpenA2A intentionally-broken agent for kill-chain validation.
Honeypot
AgentPwn coverage
context-windowagentpwn.com/learn ↗
An AgentPwn trap page produces a payload tagged with this technique class. Following the AgentPwn taxonomy of trap pages shows what an agent encounters.
Context-window tiers leak credentials retained in the active window.
Detect
Detection · HackMyAgent
CRED-001AGENT-CRED-001
npx hackmyagent secure --ciLive = implemented in hackmyagent; queued = declaredDefend
Defense · OASB controls
Reference
How to cite
AI Agent Threat Matrix T-3006 (Context Window Credential Leak). OpenA2A, 2026. https://threats.opena2a.org/techniques/T-3006