AWS Bedrock AgentCore Runtime Prompt Containing Credentials
Identifies prompts sent to an Amazon Bedrock AgentCore runtime that contain AWS access key identifiers (AKIA long-term or ASIA temporary/STS), Amazon Bedrock API keys (ABSK bearer tokens), or PEM-encoded private…
Description
Identifies prompts sent to an Amazon Bedrock AgentCore runtime that contain AWS access key identifiers (AKIA long-term or ASIA temporary/STS), Amazon Bedrock API keys (ABSK bearer tokens), or PEM-encoded private keys. The runtime application logs record the caller-supplied prompt; credentials embedded in a prompt are exposed to the model provider, persisted in observability logs, and may be returned in completions or used by downstream tools. This commonly indicates accidental secret leakage by a user or application, or an attempt to stage credentials for misuse through the agent. Secrets should never be passed to an agent in clear text.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
Known benign triggers
- Documentation, examples, or test content may include sample key material. Confirm whether the key is live by reviewing "aws.bedrock_agentcore.request_payload.prompt" and the originating session and application.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| docs.aws.amazon.com/bedrock-agentcore/latest/devguide/observability.html | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- b3e1f7a2-9d4c-4e8a-8f2b-1c6d5a0e3f77
- Tagged by the source as
- Mitre Atlas: AML.T0055Mitre Atlas: AML.T0057Data Source: Amazon BedrockData Source: Amazon Web ServicesData Source: AWSData Source: AWS BedrockDomain: CloudDomain: GenAINoise: LowPerformance: FastPlatform: AWSProfile: RecommendedResources: Investigation GuideRule Type: ES|QLService: AWS BedrockTactic: Credential AccessThreat: LLMjackingThreat: Unauthorized AI UsageUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 2, 2026
- Version
- 4