gullible: prompt-injection testing for coding agents
Python tool that measures whether a coding agent (Claude Code) can be steered by harmless instructions planted in the material it works on.
Runner that copies each fixture workspace to a throwaway directory, gives the agent an ordinary task, and checks whether a planted marker-file instruction was followed
11 fixtures across README, code comments, tool output, project memory (CLAUDE.md) and project config (hooks), including control cases
Detection on two signals (canary file, token in a tool call) with Wilson 95% confidence intervals and a static HTML report built from the traces
Key finding: instructions in untrusted data were not followed, while trusted configuration (CLAUDE.md, project hooks) steers the agent by design, a trust boundary rather than a model failure