Hookyard
Back to directory
UserPromptSubmitdemo

Prompt Redactor

Strip API keys and emails from user prompts before submit.

Inline redaction filter that masks high-entropy strings and email addresses in submitted prompts.

Install via CLI

npx hookyard install prompt-redactor

Or paste into ~/.claude/settings.json

{
  "hooks": {
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "$HOME/.claude/hooks/redact.sh"
          }
        ]
      }
    ]
  }
}
#security#privacy

By developersdigest