Skip to content
AWS Security· Tarun Kumar·Indexed by this site · Originally published· Defenses →

How Amazon Bedrock AgentCore uses multi-layer write validation to defend against memory poisoning

Help defend against memory poisoning in Amazon Bedrock AgentCore with multi-layer write validation

AI summary

AWS offers a pre-written Lambda interceptor solution for Amazon Bedrock AgentCore Memory to defend against memory poisoning that can persist across sessions. The interceptor scores by weighted semantic drift (40%), instruction patterns (25%), namespace boundaries (25%) and write-rate anomalies (10%): below 35 is allowed, 35 to 60 is diverted to a quarantine namespace, and above 60 is blocked and triggers an Amazon SNS alert; semantic drift uses Amazon Titan Text Embeddings V2 cosine similarity to identify non-English or obfuscated wording, with no need to modify agent code.

Read originalaws.amazon.com