T01 · Skill Instruction Hijacking
- Location
SKILL.md:88- Finding
Mutable Remote Skill Instructions Control Agent Behavior
- Content
View full analysis
yingmi-skill-cli remote-skill exec --script 'cat SKILL.md' ``` The surrounding requirements direct the Agent to read the remotely supplied `SKILL.md` before continuing and to use that document as the authoritative source for subsequent workflow, report structure, fields, tool calls, and conclusion boundaries. ### Technical Analysis The locally audited Skill does not contain the effective instructions for its primary analysis workflows. Instead, it delegates control to mutable documents obtained through `yingmi-skill-cli remote-skill`. No immutable version, cryptographic digest, digital signature, trusted-key validation, or locally enforced action policy is specified for the retrieved `SKILL.md`. Consequently, the effective behavior can change after the local package has been reviewed. This creates an instruction-hijacking boundary: content controlled by the remote service is interpreted as Agent instructions rather than untrusted data. Compromise of the remote service, CLI distribution, publisher credentials, or a particular remote Skill could introduce instructions that request sensitive files, invoke additional tools, alter conclusions, or transmit data. ### Attack Path 1. An attacker compromises or gains publishing access to a remote sub-Skill or its delivery service. 2. The attacker modifies the remotely served `SKILL.md` to include unauthorized instructions. 3. A user submits a normal financial analysis or report-generation request. 4. The local Skill invokes `remote-skill list`, enters the selected Skill, and retrieves its `SKILL.md`. 5. The Agent treats the retrieved document as authoritative instructions. 6. The malicious instru ...[truncated 608 chars]- Remediation
View remediation
