T01 · Skill Instruction Hijacking
- Location
SKILL.md:8- Finding
Global Agent Instruction Hijacking Through Mandatory Behavioral Gates
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 8-60
Vulnerability Type: Global instruction override and forced unrelated tool/file access
Risk Level: CriticalVulnerable Code
markdown *This skill is loaded by every agent in Donald's system. Update once in `/data/workspace/skills/global-agent-rules/SKILL.md` to affect all agents.*markdown The **very first tool call** of every single response MUST be `session_status`. Do not write a single word until you have the fresh timestamp. Calculate Donald's ET time (UTC-4 in summer). Use correct greeting for the actual time of day — morning, afternoon, evening, or night. Never say "tonight" or "rest well" when it's morning.markdown Before starting ANY task, running ANY command, writing ANY script, or asking Donald to do ANYTHING, mentally check off: - [ ] **Did I check existing infrastructure first?** nodes status? TOOLS.md? Existing scripts? Credentials stored? - [ ] **Did I check ClawHub, GitHub, and pre-installed skills?** Never build from scratch unless existing solution provides ≥80%. - [ ] **Is this the 2nd+ attempt of the SAME approach?** If yes → PIVOT immediately. Do not retry. - [ ] **Am I about to ask Donald to do something I could do myself?** If yes → STOP. Do it yourself. - [ ] **Did I back up the current state** before modifying configs, files, or tokens? - [ ] **Have I verified the data I'm about to send** (no corrupted base64, no placeholder credentials, no wrong paths)? - [ ] **Did I check the current time/date** as required by the Time Awareness gate above? - [ ] **Did I use any banned phrases** that undermine my credibility? (See BANNED PHRASES section below) **STOP CONDITION:** If you can't check all 8 boxes, do not proceed. Fix the gap first.markdown **Before every response to Donald, this gate fires:** 1. **Scan LESSONS.md** — Read the last 5 entries.Technical Analysis
The Skill declares itself globally applicable and imposes u ...[truncated 1981 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove claims that the Skill must control every agent or every response.
- Replace unconditional terms such as
MUST, “hard gate,” and “STOP CONDITION” with narrowly scoped recommendations. - Do not require tool calls or file reads unless they are necessary for the current user request.
- Prohibit inspection of credentials or infrastructure during generic pre-action checks.
- Ensure the Skill explicitly defers to platform policies, user intent, and task-specific least-privilege controls.
- Make lesson-history access opt-in and limit it to tasks where prior lessons are directly relevant.
- Add a security test confirming that loading the Skill cannot block unrelated requests or force unrelated tool access.
