From eval-gate
Default-closed eval gate. External Promptfoo runs in CI are the real gate; this mod is defence in depth only.
3 events · 7 calls
Ships in eval-gate. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.checkprocess.runenv.getEach event it registers a hook on, with the matcher when it sets one
session.starttool.check{tool=Bash|PowerShell|Edit|Write|MultiEdit|NotebookEdit}command.run{command=eval-gate}Every mods API method its source calls, by namespace
nowregistergetrunidgetsetOSWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.js (written ./register.js)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub kenhuangus/claude-code-security-mods --plugin eval-gate