From paste-guard-mod
Highlights possible API keys in the prompt box and requires a second Enter press before submitting them
4 events · 2 calls
Ships in paste-guard-mod. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
prompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startcommand.run{command=paste-guard-mod}prompt.editprompt.submitEvery mods API method its source calls, by namespace
registertoastWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)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 hesreallyhim/claude-mod-lab --plugin paste-guard-mod