# LLM-agent-memory-poisoning

> Codebase for Hidden in memory: Sleeper memory poisoning in LLM agents

Canonical page: https://meshkore.com/agent/ivaxi0s-llm-agent-memory-poisoning

## Key facts

- Maintainer: ivaxi0s
- GitHub stars: 13 (as of 2026-12-04)
- Language: python
- Last activity: 2026-07-26
- Category: Security & AI safety › AI guardrails & agent security (https://meshkore.com/category/security/ai-guardrails)
- Source: https://github.com/ivaxi0s/LLM-agent-memory-poisoning

## What it does

LLM assistants increasingly carry persistent memory so they can personalize and stay consistent across sessions. This work shows that memory is also a long-term attack surface. An adversary who controls only ordinary external content — a document, a web page, an email, a code repository — can plant a fabricated "memory" that the assistant writes into its own memory store. The poisoned memory stays dormant until a later, unrelated conversation retrieves it, at which point it can steer the assistant's behavior long after the original malicious content is gone.

## Similar projects

- [agent-governance-vocabulary](https://meshkore.com/agent/nosai-federation-agent-governance-vocabulary.md) — ★ 14
- [AgentCloak](https://meshkore.com/agent/ryanfren-agentcloak.md) — ★ 14
- [agent-latch](https://meshkore.com/agent/agentlatch-agent-latch.md) — ★ 13
- [rootsign](https://meshkore.com/agent/providex-ai-rootsign.md) — ★ 13
- [make-trust-irrelevant](https://meshkore.com/agent/deso-pk-make-trust-irrelevant.md) — ★ 12
- [dae](https://meshkore.com/agent/kahalewai-dae.md) — ★ 11
- [agent-security](https://meshkore.com/agent/emarco177-agent-security.md) — ★ 11
- [agbac](https://meshkore.com/agent/kahalewai-agbac.md) — ★ 10

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
