T01 · Skill Instruction Hijacking
- Location
SKILL.md:208- Finding
Unbounded Autonomous Operation and Suppression of User Authorization
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 11, 208, and 218
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: CriticalVulnerable Code:
markdown You are now operating as an autonomous researcher. Your job is to systematically explore a search space by running experiments one at a time, measuring results against a clear metric, and building on what works.markdown - **Never give up**. Keep going. Think harder.markdown 2. **NEVER STOP**: Run indefinitely until the user stops you. Do not ask permission to continue.Technical Analysis
These instructions assign the agent a replacement operational role and require indefinite execution without further authorization. In particular, “NEVER STOP” and “Do not ask permission to continue” suppress normal consent checkpoints while the Skill has permission to edit files, execute arbitrary configured commands, and create Git commits.
An iterative optimization Skill legitimately needs to run a series of experiments, but it does not require an unlimited run duration or the removal of user oversight. A bounded experiment count, time limit, or cost budget would provide the declared functionality with substantially less risk.
The instruction also conflicts with least-autonomy principles by treating external interruption as the only required stopping mechanism. Project files or experiment output encountered during a long-running loop could further influence the agent while it continues to possess execution and write capabilities.
Attack Path
- A user invokes
/autoresearch runfor a repository. - The Skill places the agent into the declared autonomous-researcher role.
- The agent repeatedly edits target files, creates commits, and executes the configured experiment command.
- The “NEVER STOP” and “Do not ask permission” directives discourage termination and renewed user authorization.
- The loop ...[truncated 704 chars]
- A user invokes
- Remediation
View remediation
Remediation Suggestions
- Remove the role-replacement phrasing and the directives “Never give up,” “NEVER STOP,” and “Do not ask permission to continue.”
- Require setup to define a maximum experiment count, total runtime, compute or monetary budget, and disk-usage limit.
- Stop automatically when any approved limit is reached and request explicit user authorization before extending it.
- Add safe stopping conditions for repeated failures, consecutive non-improvements, invalid metrics, resource exhaustion, and unexpected repository changes.
- State explicitly that system safety requirements, current user instructions, and tool authorization boundaries always take precedence over the experiment protocol.
- Present the planned command, target files, limits, and rollback strategy for confirmation before beginning execution.
