T02 · Agent Memory Poisoning
- Location
SKILL.md:10- Finding
Persistent Skill Poisoning Through Untrusted Task-Derived Instructions
- Content
View full analysis
//SKILL.md ``` Supporting user-correction and environment-specific examples at lines 116-127: ```markdown ### Scenario 2: User Correction The user says, "This command is incorrect; it should be..." After correction, check whether similar tasks have the same problem. If it is generally applicable, create or update a Skill. ### Scenario 3: Environment-Specific Behavior The SSH port on this server is 2222 rather than 22. After discovering this, create or update a Skill to record the environment-specific behavior. ``` ### Technical Analysis The Skill instructs the agent to turn information obtained during ordinary tasks into persistent `SKILL.md` files. Explicit learning sources include user-provided corrections and machine-specific configuration details. User input is not necessarily trustworthy. An attacker can frame malicious instructions as a correction, troubleshooting result, or reusable workflow. The documented pro ...[truncated 2530 chars]- Remediation
View remediation
