← Lab /Security & privacy

MemSentry detects persistent memory poisoning with 91.7% accuracy

MemSentry can reliably identify and block memory poisoning writes in agentic AI systems

Security & privacy arXiv 8 Sep 2026 Defense Prototype evidence

Published as “MemSentry: A Framework for Detecting Persistent Memory Poisoning in Agentic AI”

Why it matters

Deploying MemSentry could substantially reduce the risk of memory-poisoning attacks in agentic AI systems by automatically blocking or flagging malicious writes before they affect future behavior.

Summary

MemSentry can detect persistent memory poisoning attacks in agentic AI with high accuracy, achieving 91.7% overall accuracy and a 0.908 macro-F1 score using SBERT+LR, and it detects 100% of external quarantine-class threats. The framework evaluates each memory write against source trust, semantic risk, attack radius in a dependency DAG, access risk, and a signed security-state delta. Evaluation was performed on 1,000 GPT-4-generated scenarios using a synthetic 20-asset DAG and a 10×20 access-control matrix. Evidence is limited to synthetic data and does not report false-positive rates, and insider writes are escalated for human review rather than auto-quarantined.

What they found 2

  1. SBERT+LR achieves the best overall performance with 91.7% accuracy and a 0.908 macro-F1 score.

    “SBERT+LR achieves the best overall performance with 91.7% accuracy and a 0.908 macro-F1 score”

  2. All four semantic classifiers detect 100% of external quarantine-class threats.

    “all four methods detect 100% of external quarantine-class threats”

Caveats 1

  • For verified insiders, MemSentry does not automatically quarantine suspicious operations but instead escalates them for human review, making detection dependent on reviewer accuracy.

What’s new here 4

  • A configuration-driven framework that intercepts persistent-memory writes before they are stored.
  • Joint risk assessment combining source trust, semantic risk, attack radius over a component-dependency DAG, and a signed security-state delta.
  • Evaluation on a synthetic environment with a random dependency DAG and user access-control matrix, using GPT-4-generated attack scenarios.
  • Pluggable semantic classification component allowing comparison of multiple classifiers within the same framework.