Home / Claude Code mods / Security / outgoing-secret-guard

outgoing-secret-guard

outgoing-secret-guard is a Claude Code mod by NarenDawar that redacts API keys, tokens and private keys from your prompts before the model sees them, and blocks network-bound tool calls that carry one.

Updated 2026-11-22

What is outgoing-secret-guard?

outgoing-secret-guard is a Claude Code mod by NarenDawar that redacts API keys, tokens and private keys from your prompts before the model sees them, and blocks network-bound tool calls that carry one. It is listed under Security and has 4 GitHub stars.

TypeClaude code mod
AuthorNarenDawar
RepositoryNarenDawar/narens-claude-toolkit
Popularity4 GitHub stars
CategorySecurity
SecurityLow risk (84/100)
Rank#1,614 of 9,397 Claude Code mods; #192 in Security
LicenseMIT
Last commit2026-11-22
Hooks2 events
Seesevery prompt, every tool call
Draws onnothing

Is outgoing-secret-guard safe to install?

outgoing-secret-guard scores 84/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.ui.toastdraws interface

How do I install outgoing-secret-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/NarenDawar/narens-claude-toolkit
    claude plugin validate ./narens-claude-toolkit/mods/outgoing-secret-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/NarenDawar/narens-claude-toolkit && claude --plugin-dir ./narens-claude-toolkit/mods/outgoing-secret-guard

Or ask Claude to set it up

Paste this into Claude Code and it installs outgoing-secret-guard for you:

Install the "outgoing-secret-guard" Claude Code mod from https://github.com/NarenDawar/narens-claude-toolkit/tree/main/mods/outgoing-secret-guard. Run claude plugin validate on it first and show me what it can access before you enable it.

More from NarenDawar/narens-claude-toolkit

This repository has 5 Claude Code mods on MCPMods.

  • stuck-loop-detector: Notices when Claude repeats the same tool call or bounces between two, shows a status warning, and tells Claude to chang (Low risk)
  • clocks-band: A band above the prompt showing every Bash command, MCP call and subagent that has run for a while, with elapsed time ag (Low risk)
  • local-answer-router: Answers trivial questions (what branch, what changed, did the last test pass) from git and the last test run on your mac (Review before installing)
  • subagent-meter: A live status line showing how much of your session's tokens go to subagents, and which agent type uses the most. (Low risk)