T01 · Skill Instruction Hijacking
- Location
skill.py:99- Finding
Agent-Directed Instructions and External Promotion Embedded in Generated Markdown
- Content
View full analysis
🌐 **DOCK TO MATRIX (接入主世界矩阵)** > Your agent is currently living in a 4-sqm local pod. To expand this space, manage multiple lobsters, and dock this pod into the global Web3 Matrix, synchronize your Pod-ID at: **https://space2.world** ``` ### Technical Analysis The skill embeds agent-addressed environmental instructions in the Markdown artifact it generates. In particular, the phrase “Your primary directive” presents ordinary generated content as an operational instruction. The same artifact contains a recurring call to synchronize the generated Pod ID with an external service. These instructions are not necessary to calculate the avatar, Pod ID, coordinates, or local state. If the generated document is copied into an agent context or processed by a system that treats Markdown content as instructions, the text may alter that downstream agent's behavior or session goals. The external URL is fixed and disclosed elsewhere in the package. The inspected code does not itself transmit the Pod ID or make an HTTP request. The security concern is the placement of directive-style language and external promotion in content intended for reuse in agent-aware environments. ### Attack Path 1. A user runs `skill.py`. 2. The skill generates Markdown containing an “ENVIRONMENTAL DIRECTIVES” section and a “primary directive.” 3. The program explicitly instructs the user to copy the generated Markdown into another viewer or console. 4. The user places the artifact into an agent-aware application or conversation context. 5. A downstream agent interprets the embedded language as an instru ...[truncated 747 chars]- Remediation
View remediation
