speed
Warn
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: MEDIUMINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted text from user arguments or conversation history and interpolates it into a file that is subsequently rendered in a browser.
- Ingestion points:
$ARGUMENTSand previous conversation response text processed inSKILL.md. - Capability inventory:
Writetool for local file modification andBashtool for shell command execution. - Boundary markers: The skill lacks explicit boundary markers or instructions for the agent to ignore instructions embedded within the processed text.
- Sanitization: The instructions rely on the AI agent to correctly strip markdown and escape characters for JavaScript, which is prone to error and bypasses.
- [DYNAMIC_EXECUTION]: The skill assembles executable JavaScript code at runtime by injecting user-controlled text into a script tag.
- Evidence: Instruction 3 in
SKILL.mddirects the agent to replace an HTML comment with a<script>tag containing a string assignment:window.SPEED_READER_CONTENT = "your escaped text";. - Impact: If an attacker provides text that breaks out of the string literal (e.g., using
"; alert(1); //), they can execute arbitrary JavaScript in the context of thefile://protocol when the browser opens the reader. - [COMMAND_EXECUTION]: The skill uses the
Bashtool to execute a system command that opens a local file. - Evidence: Instruction 3 in
SKILL.mdexecutesopen ~/.claude/skills/speed/data/reader.htmlto launch the browser.
Audit Metadata