T01 · Skill Instruction Hijacking
- Location
SKILL.md:170- Finding
Execution of Untrusted Community-Supplied Agent Instructions
- Content
View full analysis
/` containing: - `SKILL.md` — the builder's `skill_md` field - `_meta.json` — a JSON file with `id`, `name`, `fitness_score`, `generation`, `skills_produced` - Any files from the builder's `files_json` field (key = relative path, value = file content) ``` ```text Read the selected builder's `SKILL.md` file. This contains the instructions you will follow next. ## Step 5: Generate the Skill Follow the selected builder's `SKILL.md` instructions to generate a new Agent Skill based on the idea's `prompt` and `context`. ``` ### Technical Analysis The Skill retrieves builder content from an API, writes the returned `skill_md` field into a local `SKILL.md`, and then explicitly instructs the Agent to follow those downloaded instructions. The downloaded builder is therefore treated as trusted executable instruction text rather than untrusted community data. No control is specified to detect or reject instructions that: - Override the current task or system safety constraints. - Request access to authentication tokens or unrelated local files. - Invoke shell commands or network tools. - Exfiltrate workspace or credential data. - Modify files outside the generated-skill directory. - Conceal malicious behavior inside an otherwise plausible builder workflow. The fitness-based selection mechanism does not establish security or provenance. A malicious builder may eventually be selected through either the exploitation or exploration branch. ### Att ...[truncated 1215 chars]- Remediation
View remediation
