agent-memory-poisoning
CommunityGuard agent memory against poisoning attacks.
Software Engineering#guardrails#vector-store#agent-security#memory-poisoning#memory-provenance#retrieval-scoping
Authormaruakshay
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Long-term memory stores can be poisoned by attacker-controlled inputs, enabling persistent manipulation across sessions.
Core Features & Use Cases
- Deterministic memory write gate: Prevents persistence of instruction-bearing or unsafe content.
- Memory type schemas: Enforces typed entries (preference, fact, task_state) with schema validation.
- Provenance and logging: Captures source_user_id, session_id, agent_id, and timestamp for every memory write.
- Scoped retrieval and labeling: Ensures memory is retrieved with user/tenant/role scope and labeled for provenance in prompts.
- Complete deletion: Removes entries from primary store, vector index, caches, and summaries.
Quick Start
Implement the deterministic memory write gate before persisting any memory entries.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: agent-memory-poisoning Download link: https://github.com/maruakshay/mii-ai-security/archive/main.zip#agent-memory-poisoning Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.