AWS Bedrock Third-Party or External Knowledge Base Associated to Agent
Detects when an Amazon Bedrock agent is associated with, or updated to use, a knowledge base via the AssociateAgentKnowledgeBase, or UpdateAgentKnowledgeBase API actions. Bedrock agents consume knowledge base (RAG)…
Description
Detects when an Amazon Bedrock agent is associated with, or updated to use, a knowledge base via the AssociateAgentKnowledgeBase, or UpdateAgentKnowledgeBase API actions. Bedrock agents consume knowledge base (RAG) content as trusted context for the model. By wiring an agent to an externally controlled or third-party knowledge base, or by swapping in an attacker-controlled knowledge base, an adversary can redraw the agent's trust boundary toward an untrusted source. This is a software-supply-chain compromise and an indirect prompt-injection delivery vector: poisoned or adversarial content served from the associated knowledge base is treated as authoritative by the agent. Validate that the associated knowledge base, and any underlying data source, is owned and controlled by your organization.
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
- ESXiLinuxmacOSNetwork DevicesWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- event_index
Known benign triggers
- Legitimate platform, ML, or application teams may associate or update knowledge bases on Bedrock agents as part of normal development, onboarding, or RAG pipeline changes. Verify that the actor identity, user agent, and source IP correspond to expected automation or authorized engineers, and that the associated knowledge base is an approved, organization-owned resource. If known behavior is causing false positives, it can be exempted from the rule.
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/latest/userguide/agents.html | 2 |
| docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 168b5538-4d54-4269-b4f5-786fa49dd850
- Tagged by the source as
- Mitre Atlas: AML.T0010Mitre Atlas: AML.T0070Data Source: Amazon Web ServicesData Source: AWSData Source: AWS CloudTrailDomain: CloudDomain: GenAINoise: UnknownPerformance: FastPlatform: AWSProfile: RecommendedResources: Investigation GuideRule Type: New TermsService: AWS BedrockTactic: PersistenceThreat: 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