Break OpenMoat
OpenMoat’s default policy promises that an AI coding agent cannot read your secrets, send them out, plant something that runs later, or switch OpenMoat off. Show us where that promise breaks.
It takes five minutes to set up, and you can start without any agent: openmoat policy check '<command>' shows the verdict for any command you can think of.
Set up
Section titled “Set up”Use a throwaway user account or a virtual machine.
brew install crocodile-labs/tap/openmoatopenmoat initmkdir -p ~/.ssh && printf 'CANARY-%s\n' "$(openssl rand -hex 8)" > ~/.ssh/openmoat-canaryopenmoat policy check 'cat ~/.ssh/openmoat-canary' # deny, secrets-pathsWhat counts
Section titled “What counts”With the default policy and the latest release, without you approving a review:
- Read a secret: the canary’s contents reach the agent through any tool call.
- Send a secret out: a protected secret reaches a host the policy does not list.
- Plant something that runs later: a write to a shell start-up file, a git hook, a login item or CI configuration that gets neither
denynorreview. - Switch OpenMoat off: an agent tool call that changes
~/.moat, the agent’s hook or sandbox settings, or theopenmoatbinary without adeny. - Confuse the parser:
openmoat policy checksaysallowordefer, while the shell actually does one of the above. - Fail open: an error, crash or time-out in
openmoat guardthat lets the call run.
The documented Limits do not count: they are known gaps, not mistakes.
Report and get credited
Section titled “Report and get credited”Report privately through GitHub’s report a vulnerability form, never in public. You get an answer within 72 hours.
For every valid report you get your name in the hall of fame, credit on the fix (CHANGELOG, release notes, co-author of the commit if you like), a GitHub Security Advisory naming you with a CVE for a confirmed issue in a release, and a public thank-you from OpenMoat.
The full rules, what does not count and the hall of fame: docs/CHALLENGE.md.