T01 · Skill Instruction Hijacking
- Location
tools/scan_generated_skill.py:125- Finding
Generated Clause Files Bypass the Prompt-Injection Scanner
- Content
View full analysis
-.md tables/.md cross-refs.md mandatory-map.md terminology.md ``` ### Technical Analysis The generated-Skill scanner uses an allowlist that only includes: - `SKILL.md` - `glossary.md` - `patterns.md` - `cheatsheet.md` - Markdown files immediately under `chapters/` The audited Skill's primary generated content is stored under `clauses/`, not `chapters/`. The scanner also omits generated table Markdown, cross-reference files, the mandatory-force map, and terminology files. Extracted document text is untrusted input. Unicode sanitization removes selected invisible characters, but it does not and cannot make visible natural-language instructions safe. If a source document contains an instruction such as a role reassignment, fake system message, tool-use request, or instruction to ignore prior rules, that t ...[truncated 1645 chars]- Remediation
View remediation
