Repository navigation
LeakStop v0.1.1
·
56 commits
to main
since this release
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.