T01 · Skill Instruction Hijacking
- Location
scripts/assembler.py:346- Finding
Agent Session Instruction Hijacking Through Prompt-Ready Context Injection
- Content
View full analysis
rm(删文件优先回收站) - 严格按事实陈述,标明信源 """ blocks.append(rules) used += len(rules) ``` ```python # scripts/assembler.py:455-457 # ── Block 7: Task Directive ── blocks.append(f"\n=== TASK ===\n{task_desc}\n") return "".join(blocks) ``` The documentation directs callers to place this output before the agent reasons: ```markdown Task arrives → ...[truncated 2926 chars]- Remediation
View remediation
