Secret repeated in an agent's response
A credential reaches the agent's context — in a tool result, a retrieved document or a message — and the model repeats it in a response, since a model does not reliably hold such values back; the caller, or whoever the response is passed to, can then use it against the system it opens. Secret-shaped values are redacted from every item of external content before the model sees it (CFG-32) and masked in every response, never less strictly (CFG-66). A secret match also raises an alert, so that the exposure is confirmed or dismissed, and a confirmed one is revoked within the hour (CFG-66; PRC-22): the value was in the model's context, and so possibly with its provider, even when the response was masked. Both screens recognise the shapes they hold and no others. The inherent impact rests on one credential reaching several tenants' data.
Before and after controls.
With controls is rated as if every control below works as designed.
How it can happen.
A credential from a tool result or document is repeated
A key in a tool output or a retrieved file is redacted on the way in; one that slips past is masked on the way out, and the match starts its confirmation and revocation.
A credential in a format no pattern holds
A new or custom key format passes both screens and reaches the caller, and since nothing recognised it, nothing starts its revocation. Nothing covers this; the patterns are those of collector rule 2a (the Standard).
Where it comes from.
This risk to secret arises from:
Also known as.
Other risks to secret.
- Secret committed to a repository or built into an imageLow
- Exposed secret not revoked in timeLow
- Secret readable by another installation's principalLow
- Static provider key used where workload identity is possibleLow
- Missing or expired secret stops an installationLow
- Secret pasted into an AI tool, chat, ticket or record outside the secret storeMedium
See the whole picture.
Every AI risk on one matrix, before and after controls.