From redact
Redacts secrets and PII from every row Claude Code stores, before the model reads it and before the transcript keeps it. Reach L0: no network, no processes, no files.
6 events · 4 calls
Ships in redact. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprompt.submitprompt.sectionEach event it registers a hook on, with the matcher when it sets one
session.startprompt.submitsession.appendtool.call{tool=Edit|Write|NotebookEdit}prompt.section{name=env_info_simple}command.run{command=redact}Every mods API method its source calls, by namespace
registergetsetlogWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./register.ts)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 karanb192/claude-code-redact --plugin redact