T02 · Agent Memory Poisoning
- Location
SKILL.md:112- Finding
Unvalidated External Skill Patterns Can Poison Persistent Agent State
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly coherent, but it tells agents to persist patterns from external skills into a hardcoded user-level Codex skill file without an approval or provenance step.
Review the persistence behavior before installing. This skill should be used only if you are comfortable with it updating a local skill-pattern library, and the destination should be changed to a user-approved path with preview, provenance, and approval before writes.
SKILL.md:112Unvalidated External Skill Patterns Can Poison Persistent Agent State
The skill explicitly instructs storing distilled ideas in a hardcoded local file path under the user's home directory. Even though this is documentation rather than executable code, it encourages file modification without any warning, confirmation step, or safeguard about overwriting user data, which can lead to unintended changes in the local skill library.