Home / Claude Code mods / Security / secret-mask

secret-mask

secret-mask is a Claude Code mod by homieyangg that mask token-like strings in tool output before they reach the conversation.

Updated 2026-10-03

What is secret-mask?

secret-mask is a Claude Code mod by homieyangg that mask token-like strings in tool output before they reach the conversation. It is listed under Security and has 2 GitHub stars.

TypeClaude code mod
Authorhomieyangg
Repositoryhomieyangg/claude-code-mods
Popularity2 GitHub stars
CategorySecurity
SecurityLow risk (100/100)
Rank#1,181 of 5,272 Claude Code mods; #133 in Security
LicenseMIT
Last commit2026-10-03
Hooks4 events
SeesBash calls
Draws onnothing

Is secret-mask safe to install?

secret-mask scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 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
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.state.get
$.state.set
$.ui.logdraws interface
$.ui.toastdraws interface

How do I install secret-mask?

  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/homieyangg/claude-code-mods
    claude plugin validate ./claude-code-mods/secret-mask
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add homieyangg/claude-code-mods && claude plugin install secret-mask@claude-code-mods

Or ask Claude to set it up

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

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

More from homieyangg/claude-code-mods

This repository has 3 Claude Code mods on MCPMods.

  • leftovers: Keeps a ledger of what Claude left running or lying around on your machine and servers (Review before installing)
  • plan-bar: Live progress bars above the prompt for multi-step work: one row per plan, with stages, percent, waiting and failed colo (Low risk)