T01 · Skill Instruction Hijacking
- Location
SKILL.md:13- Finding
Untrusted API Messages Are Mandated for Verbatim Agent Output
- Content
View full analysis
None: """Expose optional user-facing messages without changing stdout contracts.""" message = response.get("message") if isinstance(response, dict) else None if isinstance(message, str) and message: print_status(f"API message: {message}") ``` The required final-output format reinforces the behavior: ```markdown - Notes: ``` ### Technical Analysis The `message` field crosses an external trust boundary: its contents are controlled by `api.presenton.ai` or its upstream infrastructure. The Skill explicitly requires the Agent to reproduce every non-empty value verbatim in both commentary and its final response. No content sanitization, length restriction, URL filtering, structured quoting, or instruction-boundary handling is applied. Although the helper only prints the message to standard error, the Skill instructions direct the Agent to interpret that output as content that must be relayed. This allows a compromised or ma ...[truncated 1636 chars]- Remediation
View remediation
