T01 · Skill Instruction Hijacking
- Location
SKILL.md:295- Finding
Dependency Installation Is Authorized Without User Consent
- Content
View full analysis
Installation dependency: `sudo apt install calibre-bin poppler-utils pandoc` ``` ```markdown ## Step 8: Advanced Scripts (Optional) > The following scripts are located in the `scripts/` directory. Verify the environment before execution; dependencies may be installed without user approval. ``` The original instruction at line 295 explicitly states that dependencies may be installed without user approval. Elsewhere, line 65 supplies a `sudo apt install` command as the dependency-installation procedure. ### Technical Analysis The Skill instructs the agent to bypass user consent when installing dependencies. Because the documented installation command uses `sudo`, following these combined instructions can cause privileged, system-wide package installation. Dependency installation is not inherently malicious, but suppressing approval for a privileged operation violates least-privilege and informed-consent boundaries. Package installation can modify system directories, package databases, executables, shared libraries, service definitions, and configuration files. The action also expands the trusted computing base by retrieving and installing components from configured package repositories. This is primarily an instruction-hijacking issue because the Skill changes how the agent should handle approval. It also presents a privilege-escalation risk when the agent has access to unattended or cached `sudo` privileges. ### Attack Path 1. A user invokes the Skill to process a supported novel format. 2. The agent checks for commands such as `ebook-convert`, `pdftotext`, or `pandoc`. 3. One or more commands are unavailable. 4. The instruction at `SKILL.md:295` tells the agent that dependencies may be installed without user approval. 5. The agent ru ...[truncated 915 chars]- Remediation
View remediation
