T09 · Insecure Skill Coding Practices
- Location
index.js:91- Finding
Untrusted Remote Alert Content Is Embedded Directly into Agent-Facing Markdown
- Content
View full analysis
0) msg += `📍 Lines: ${lines.join(', ')}\n`; if (desc) msg += `\n${desc}\n`; return msg; } ``` ### Technical Analysis The Skill retrieves incident records from an external API and copies the remote `title`, `description`, `details`, and `affectedLines` fields directly into Markdown-formatted output. It does not validate the response schema, constrain field lengths, escape Markdown control characters, remove active links or mentions, or distinguish remote content from trusted agent instructions. Although the expected upstream data is transit information, it crosses an external trust boundary. If an upstream publishing account, API, intermediary, or incident record is compromised, an attacker could place instruction-like content or misleading Markdo ...[truncated 1738 chars]- Remediation
View remediation
