T02 · Agent Memory Poisoning
- Location
criteria.md:3- Finding
Persistent Agent Instruction Poisoning Through Self-Modification of SKILL.md
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is mostly a local coding-preference memory, but one referenced file incorrectly directs agents to update the skill instructions themselves.
Install only if you are comfortable with a persistent local coding-preference memory, and treat the current package as needing review or correction before use because criteria.md should point only to ~/coding/memory.md and should not instruct updates to SKILL.md.
criteria.md:3Persistent Agent Instruction Poisoning Through Self-Modification of SKILL.md
Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
# Criteria for Code Preferences
Reference only — consult when deciding whether to update SKILL.md.
## When to Add
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
This skill NEVER:
- Reads project files to infer preferences
- Observes coding patterns without consent
- Makes network requests
- Reads files outside `~/coding/`
- Modifies its own SKILL.md
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
## Common Traps
- Adding preferences without confirmation → user loses trust
- Inferring from project structure → privacy violation
- Exceeding 100 lines → context bloat
- Vague entries ("good code") → useless, be specific
No suspicious patterns detected.