elastic
high
kql
GenAI Prompt Contains Leaked Credential
Detects known credential formats — AWS access key IDs, LLM vendor API keys, GitHub
personal access tokens, SSH/PEM private key headers, JWTs, and similar — appearing
in GenAI prompt or completion text, or in strings flagged by the security_ai
ML model as encoded payloads.
Credentials in the model input mean an application or user is sending secrets to the
model, exposing them to invocation logging, the model provider, and prompt history.
Credentials in the model output or in ML-extracted encode