Repository navigation
Releases
LeakStop 1.1.0
LeakStop now also keeps secrets out of what tools return and out of your own messages. Requires Claude Code 2.1.287 or later, as before.
- Masks secrets in what tools return. A secret printed by a command, found in a file Claude reads or returned by an MCP tool now reaches neither Claude nor the session's transcript: LeakStop replaces it with its masked form and tells Claude. That includes the copy of a large command output that Claude Code saves to disk. Real secrets are masked in
standardmode, weaker signals too instrict;monitoronly reports. - Masks secrets pasted into your messages, the same way. Claude Code's prompt history keeps what you typed.
- Holds sensitive files printed from git history or through
find:git show HEAD:.env,git cat-file -p,git log -p -- .env,git blame, andfind … -exec cator| xargs caton a sensitive file. - Asks before an MCP tool that names
.leakstop.jsonruns, as it already did for the file and shell tools. - New
statusLineoption (off by default): a line under the prompt says LeakStop is on, or paused. When it is missing, nothing is protecting the session. - A
Writethat would put a masked value over the real one is denied. After a masked read Claude only has the masked form; writing the file back from it would lose the real value. - The tests moved out of the plugin folder, so they are no longer installed with it;
node scripts/test.tsruns them. - The icon has rounded corners.
LeakStop 1.0.2
Documentation only. No change to what LeakStop detects or how it decides.
- The plugin folder now has its own
README.md, so the installed plugin ships a description of what it does, its protection levels and its privacy, and Anthropic's directory can read it. - The plugin README now says what the mod runs (
gitandfind, read-only), that it sends nothing anywhere, which hooks it uses and the one case in which it rewrites a command (Show names only), as the directory asks. It also explains that the test files and the detector only contain fake credentials and patterns to look for, which the directory's scan reads as a credential going to a server. userConfig.modeno longer lists itsoptionsin the manifest, because Anthropic's directory does not accept that key yet. Nothing changes in behaviour: any value other thanmonitororstrictalready meantstandard, and the description names the three values.- Added the plugin icon (
.claude-plugin/icon.png). - A test no longer spells out a command that downloads and runs something, which the directory flags as an install-time risk.
scripts/check-release.tschecks that this README exists, has enough text and states the same minimum Claude Code version.
LeakStop 1.0.1
Documentation only. No change to what LeakStop detects or how it decides.
- The README now opens with a recording of a real Claude Code session: LeakStop holds a read of
.env, the choice is Cancel, and/leakstoplists the finding. - Added an icon (
assets/icon.svgand a 512 pixel PNG) and a 1280x640 social preview image inassets/.
LeakStop v1.0.0
First stable release. Requires Claude Code 2.1.287 or later.
- The public interface is now stable within 1.x: the
/leakstopsubcommands, themodeoption, the fields of.leakstop.jsonand the install idleakstop@leakstopwill not change in a breaking way. The README says exactly what is covered. - A new README: installation inside Claude Code, from the terminal, for a team (project scope) and for an organisation; updating and uninstalling; a one-minute way to see it work; the list of sensitive files; troubleshooting.
/leakstop listis documented as the other name of/leakstop allowed.- Added
SECURITY.md(how to report a vulnerability and what counts as one),PRIVACY.md(what LeakStop keeps and where),CONTRIBUTING.md,CODE_OF_CONDUCT.md, issue forms and a pull request template. - Every change is now checked by CI: the plugin validation with
--strict, the marketplace validation and the test suite, on Linux and macOS, with Claude Code 2.1.287 (the oldest supported) and the newest; plus a check that the version, the changelog, the licence and the descriptions agree and that no secret is in the repository. - The manifest now carries the metadata that Anthropic's directory reads (display name, keywords, documentation, support and privacy links), and the installed plugin ships its own copy of the licence.
scripts/calibrate.tsaccepts--check, which makes it exit with an error when it flags anything.
No change to what LeakStop detects or how it decides.
Full changelog: v0.2.0...v1.0.0
LeakStop v0.2.0
Requires Claude Code 2.1.287 or later.
- Outbound tools are watched. A secret in what
WebFetch,WebSearch,Agent,SendMessage,SendFile,Artifact,ArtifactData,ArtifactComments,PushNotification,SendFeedback,RemoteTriggeror any MCP tool is about to send away is held (a weaker finding warns, andstrictholds it), with a question that says where it would go and a message to Claude that says what to do instead.SendFileandArtifactalso send local files: those are read and scanned, and a sensitive file (.env, keys, credentials) is held outright. Inmonitormode it only warns, and an internal failure denies instandardandstrict. /leakstop allowedlists what is allowed (this session, for good,.leakstop.json) with the fingerprint and, when known, the type and place of each;/leakstop forget <number or sha256:…>and/leakstop forget alltake back what you allowed;/leakstop reloadreads.leakstop.jsonagain without restarting.forgetandreloadonly work when you type them.- In the VS Code chat panel the hold question reads as one line with dashes between its parts, because that panel runs line breaks together into one paragraph. The terminal and the desktop app keep the multi-line question.
- The warning banner now stays until you send your next message. Before, a background agent finishing (or a peer session, a schedule or another plugin) cleared it, so a warning raised by an
Agentcall vanished in seconds. - A command name written with quotes or a backslash (
\grep,"grep") is no longer assumed to be Claude Code's.gitignore-awaregrep, so a recursive search written that way is held when it would reach a sensitive file.
LeakStop v0.1.1
Requires Claude Code 2.1.287 or later.
- A recursive
greporrgover a folder that holds sensitive files (.env, keys, credentials) is now held when the search would really reach them. Claude Code's owngrepandrghonour.gitignore, so a plaingrep -r KEY .no longer asks because of an ignored.env;command grep,/usr/bin/grep,egrep,rg --no-ignoreandrg -uustill do. Excluding those files (--exclude,-g '!…'), limiting the search (--include) or listing only names (-l,-c) keeps it quiet. - The message Claude reads after a denial now says what you did: Cancel ("do not retry"), Use environment variable or Add to .gitignore ("do it now"), or your own words when you type an answer. Before, all of them read the same and Claude asked you again.
- Denying a read of
.envnow tells Claude it can append a variable withecho 'NAME=value' >> .env. sed -iandtee … > /dev/nullthat write a secret into a file git ignores (such as.env) now pass, likeecho >> .envalready did./leakstopno longer leaves a stray empty line in the transcript when it opens the panel, and in the VS Code chat panel (where nothing can be drawn) it now prints the history as text instead of nothing.- A weaker finding that only warns is now labelled
warnedin the panel and the banner, notallowed. - Text inside a quoted heredoc (
<<'EOF'), such as a note that mentions$(…)or backticks, is no longer read as a command substitution; an unquoted heredoc, which the shell does expand, still is. printf "$KEY" > file(andecho) no longer counts as printing the variable: its output goes to the file. Reading that file back in the same command still does.
LeakStop 0.1.0
First release of LeakStop: a Claude Code mod that stops secrets from leaking before they are written, printed or committed.
Requires Claude Code 2.1.287 or later.
Install, from inside Claude Code:
/plugin marketplace add AlexandreMartinezOlmos/claude-code-leakstop
/plugin install leakstop@leakstop
/reload-plugins
Then open /plugin and check that LeakStop is listed as active.
What is in this release, and what is not, is in the changelog. The README explains how to use it and what its limits are.