Mask secrets in a project with stable placeholders, encrypt the originals, and restore them byte-for-byte. Guards Claude Code, Codex, Gemini CLI, Cursor and Copilot, and blocks git commits that leak s
View on GitHub ↗Mask the secrets in a project before AI agents (or anyone) see it, and restore them exactly afterwards.
- Detects secrets with gitleaks, embedded as a library (one static binary, no external tools), plus strict rules for passwords people choose themselves. Your .gitleaks.toml and .gitleaksignore are honored. - Masks every occurrence with a stable placeholder such as SECRETMASK8656926daa6d6f8c; the same value gets the same placeholder everywhere. - Encrypts the originals into .secret-mask.vault with your password (AES-256-GCM, PBKDF2-SHA256 600k). - Restores byte-for-byte, even if placeholders were moved to other files, while keeping other edits. - Guards AI agents (Claude Code, Codex, Gemini CLI, Cursor, VS Code / Copilot): secret-mask install adds a hook that blocks reading files that still contain unmasked secrets, an MCP server that tells the agent what to ask you (mask first, unseal at the end) and lets it read and add detection rules, and a skill with the rules. - Guards commits: secret-mask protect adds a git pre-commit hook that refuses, or masks, staged secrets.
One line (macOS, Linux; Windows via Git Bash) — downloads the release binary, verifies it against SHA256SUMS, installs it to ~/.local/bin and runs secret-mask install to set up your coding agents:
Options (after sh -s --): --dir PATH, --version vX.Y.Z, --clients claude,codex, --no-hooks, --skip-config (binary only).
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/benakaben10--secret-mask.html)
Don't rewrite it in Rust. Rewrite the 5% that's slow: profile Python, Node or Ruby apps, port the hot functions with your coding agent, prove they behave the same.
muaaz9329/cheap-ag50x your usage with cheap-ag. Opus/Astra plans, a dirt-cheap model writes every line, and tests decide what ships. Your $20 plan stops hitting limits. One MCP server for Claude Code & Codex.
claudememory/claude-memoryClaude memory: the top 10 ways to give Claude persistent, long-term memory, compared. Covers MCP memory servers, CLAUDE.md, memory plugins and tools for Claude Code, Claude Desktop and the Claude API.
Umair/stalemapTell your coding agent which dependencies changed after its training cutoff. Diffs types and changelogs, writes a short block into AGENTS.md / CLAUDE.md.
omaekumiko2-create/kruLocal-first MCP password and credential manager for AI agents. Use passwords, API keys, SSH identities, and TOTP without exposing hidden plaintext to the model.
keli-wen/cospanUnified orchestration across coding agents — connect Antigravity, Codex, Claude Code, and DeepSeek Harness through one async delegation protocol.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.