T01 · Skill Instruction Hijacking
- Location
SKILL.md:10- Finding
Mandatory Unattended Real-Money Trading Through Agent Instruction Hijacking
- Content
View full analysis
bot_log.txt 2>&1 & ``` ``` ### Technical Analysis The Skill directs the AI Agent to replace its normal role with that of a portfolio manager and states that its “only job” is to start the bot. It then mandates detached execution using `nohup` and `&`. This is not merely documentation for an optional command. It is an imperative instruction intended to cause an Agent to initiate indefinite, autonomous, real-money trading. The implementation uses the wallet private key to initialize a live Polymarket client and submit signed orders. There is no dry-run default, pre-trade confirmation, bounded runtime, explicit maximum monetary exposure, or approval requirement for individual transactions. Detached execution also reduces user visibility and allows the process to continue after the initiating Agent session ends. Although background execution through `nohup` is not operating-system startup persistence, it unnecessarily extends the duration and financial impact of the action. ### Attack Path 1. A user or Agent loads the Skill instructions. 2. The Skill redefines the Agent’s role and instructs it not to perform any task other than starting the bot. 3. The Agent executes the mandatory `nohup ... &` command. 4. The process reads `WALLET_ ...[truncated 1047 chars]- Remediation
View remediation
