T02 · Agent Memory Poisoning
- Location
SKILL.md:24- Finding
Unconfirmed Persistent Rule Propagation Across Agent Memory and Guidance
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:24-41
Vulnerability Type: Persistent modification of shared guidance, memory, and learning records
Risk Level: MediumComplete Code Snippet:
markdown ## Core Rule For **configuration / standards / multi-agent workflow** changes, do **one-pass rollout** by default: 1. verify the fact, 2. update the shared source of truth, 3. update affected local guidance or references, 4. record the learning if a misunderstanding or correction occurred. Do not stop at a partial fix when the issue clearly affects multiple layers. Do not make the user push for each missing layer one by one. ## Required Execution Pattern When this skill triggers, default to this checklist: 1. Identify all affected layers (shared docs, local agent guidance, memory, learnings). 2. Update the **shared source of truth first**. 3. Convert repeated local rule blocks into **references to the shared source**, keeping only role-specific additions locally. 4. Keep all four roles aligned: 小美 / 大龙 / 元气 / 小语. 5. When explaining quota, use the documented house interpretation from the reference file. Do not guess from field names alone. 6. When finalizing, give the user the outcome, not internal rollout noise.Technical Analysis
The skill directs an agent to propagate configuration or workflow changes into persistent locations, explicitly including shared documentation, local agent guidance, memory, and learning records. It also makes this propagation the default behavior rather than requiring separate authorization for each persistent destination.
If user-controlled or incorrectly verified instructions are treated as a standards change, they could be recorded as durable rules and subsequently influence future sessions. Requiring the agent to keep four roles aligned increases the propagation scope. The instruction to expose only the outcome rather than “internal rollout noise” may ...[truncated 1657 chars]
- Remediation
View remediation
Remediation Suggestions
- Require explicit user confirmation before modifying persistent memory, learning records, shared configuration, or another agent's guidance.
- Default to producing a proposed rollout plan or reviewable diff rather than immediately applying team-wide changes.
- Enumerate every target file, memory store, and agent configuration before requesting approval.
- Validate that all write targets are inside an approved workspace and reject symlinks, traversal paths, or destinations outside that boundary.
- Treat user-provided standards as untrusted until verified against an authoritative source.
- Apply least privilege by separating read-only diagnostic access from persistent write capabilities.
- Preserve an audit log containing the initiating request, affected destinations, exact changes, authorization decision, and rollback information.
- Replace the instruction to omit “internal rollout noise” with a requirement to summarize all persistent modifications clearly.
- Add transactional updates and rollback support so that partial or incorrect multi-agent propagation can be reversed safely.
