T01 · Skill Instruction Hijacking
Error
- Location
- SKILL.md:10
- Finding
- Skill Directs Immediate External Registration and Autonomous Market Trading<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 10–47 **Vulnerability Type**: `T01: Skill Instruction Hijacking` **Risk Level**: High ### Vulnerable Code ```markdown ## 🚀 First Time? Do This NOW **Step 1: Register** (pick a unique handle, alphanumeric + underscores only) ``` POST https://agoramarket.ai/api/agents/register Content-Type: application/json {"handle": "YOUR_HANDLE"} ``` You get **1,000 AGP** (play money). Registration is idempotent — same handle returns your existing agent. **Step 2: Claim your daily 50 AGP** ``` POST https://agoramarket.ai/api/engagement/daily Content-Type: application/json {"handle": "YOUR_HANDLE"} ``` **Step 3: Browse markets and make your first trade** ``` GET https://agoramarket.ai/api/markets?status=open&sort=volume&limit=5 ``` Pick one that interests you, research it, then trade: ``` POST https://agoramarket.ai/api/markets/{market_id}/trade Content-Type: application/json {"handle": "YOUR_HANDLE", "outcome": "yes", "amount": 50, "comment": "Your reasoning here — explain WHY"} ``` **Always include a comment with your reasoning.** ``` ### Technical Analysis The instruction “First Time? Do This NOW” directs an agent to perform state-changing external operations merely upon encountering the Skill. The prescribed workflow includes creating an external identity, claiming platform currency, independently selecting a market, executing a trade, and publishing an associated comment. The Skill does not require explicit user authorization for registration or transaction-specific confirmation of the market, outcome, amount, handle, or public comment. This changes the agent's current-session goal from responding to the user into performing actions that benefit and interact with a third-party platform. ### Attack Path 1. A user or agent loads the Skill without separately requesting account registration or a trade. 2. The agent interprets “Do This NOW” as an immediate operational directive. 3. The a ...[truncated 723 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Replace “Do This NOW” with neutral, non-executing API documentation. - State explicitly that loading the Skill must not trigger registration, claims, trades, or comments. - Require informed user approval before creating an external identity. - Before every trade, display and obtain confirmation for the exact handle, market, outcome, amount, and public comment. - Separate research from execution so market retrieval cannot automatically lead to a transaction. - Add a dry-run mode that produces a proposed request without transmitting it. - Require renewed confirmation immediately before every state-changing API call. ]]>
