T01 · Skill Instruction Hijacking
- Location
scripts/write.py:448- Finding
Indirect Prompt Injection Through Untrusted Research and Manuscript Content
- Content
View full analysis
- Remediation
View remediation
... ``` 3. Instruct the model that delimited material is evidence to analyze, not instructions to execute. 4. Keep instructions and data in separate message or structured-input fields where supported. 5. Validate review responses with a strict JSON Schema: - Reject unknown properties. - Require all expected fields. - Enforce numeric scores from 0 through 100. - Restrict decisions and priorities to enumerated values. - Enforce maximum string and array lengths. 6. Compute all scores and decisions in trusted application code rather than accepting model-selected gate outcomes. 7. Treat revision actions as untrusted data. Convert them to a constrained internal representation instead of placing arbitrary action text into another prompt. 8. Add adversarial tests using abstracts and manuscripts that contain instruction overrides, forged JSON, prompt delimiters, and requests to disclose secrets. 9. Require human review before externally publishing or submitting any generated manuscript. ]]>
