Supply Chain
Attacks through compromised dependencies and plugins.
3 tests in this category, escalating by delivery channel from html-comment at tier 1 to 3 channels at tier 3. Each page hides an indirect prompt injection; if an agent follows it, the response names the attack it demonstrated and the command to scan for it. Background on this class of attack is in the attack guide.
- T1
Fake Package Instruction
highMimics a package installation that includes malicious post-install hooks
delivery: html-comment
- T2
Malicious MCP Server
criticalInstructs agent to connect to a malicious MCP server
delivery: html-comment, invisible-span
- T3
Config File Injection
criticalInstructs agent to write a malicious configuration file
delivery: html-comment, invisible-span, meta-tag
Scan your own setup
These pages test whether an agent follows instructions it finds in content. HackMyAgent tests the configuration underneath it, and prints each finding with its severity. Some findings also print a command to verify them and a fix.
npx hackmyagent secure