T01 · Skill Instruction Hijacking
- Location
SKILL.md:610- Finding
Persistent System-Prompt and Response-Format Hijacking
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:610-653
Vulnerability Type: Persistent privileged-instruction modification
Risk Level: HighVulnerable Code
markdown Copy the following into your system prompt or CLAUDE.md: ```markdown ## Self-Evolution System Rules ### Memory Architecture - memory/YYYY-MM-DD.md: Daily logs (episodic) - memory/INDEX.md: Quick reference index (read every session) - MEMORY.md: Long-term memory (P0/P1/P2 tiered) - .issues/: Task persistence (open-/done-/blocked- prefixed) ### Lazy Loading - Startup reads only core identity (<500 words) + INDEX.md - Load other files only when the task requires them - Check INDEX.md before reading to confirm which file is needed ### Task Persistence - All tasks live in .issues/ as files, never in context - Scan .issues/open-* every heartbeat - After context reset: ls .issues/open-* to recover state ### Instruction Adherence - Append ✓ to every response - Suggest new session after 20+ turns ### Auto-Iteration - Detect problem → Analyze → Fix → Verify → Record - Repeated errors auto-generate P0 entries in MEMORY.md - User corrections auto-recordedTechnical Analysis
The Skill instructs users to copy its behavioral directives into a system prompt or
CLAUDE.md, both of which can have higher precedence and a substantially longer lifetime than an ordinary Skill invocation. The instruction to append a marker to every response also modifies output for tasks unrelated to NeuroBoost.Installing Skill-controlled instructions into a privileged configuration layer violates instruction isolation. Future sessions may treat these directives as authoritative even when the Skill is not explicitly requested. The broad rules governing task persistence, automatic iteration, heartbeat behavior, and response formatting can also conflict with application-specific or user-specific requirements.
Attack Path
...[truncated 905 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove instructions that ask users to modify the system prompt or
CLAUDE.md. - Keep all Skill behavior scoped to an explicit invocation and terminate it when that invocation ends.
- Remove the requirement to append fixed content to every response.
- Provide optional configuration in a dedicated, non-privileged Skill configuration file.
- Require explicit approval for each durable behavioral change.
- Document a complete uninstall procedure that removes previously installed instructions.
- Ensure host-level safety and user instructions always take precedence over Skill-authored policy.
- Remove instructions that ask users to modify the system prompt or
