Skip to content

LeakStop v0.1.1

Choose a tag to compare

@AlexandreMartinezOlmos AlexandreMartinezOlmos released this 03 Oct 22:53
· 56 commits to main since this release

Requires Claude Code 2.1.287 or later.

  • A recursive grep or rg over a folder that holds sensitive files (.env, keys, credentials) is now held when the search would really reach them. Claude Code's own grep and rg honour .gitignore, so a plain grep -r KEY . no longer asks because of an ignored .env; command grep, /usr/bin/grep, egrep, rg --no-ignore and rg -uu still 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 .env now tells Claude it can append a variable with echo 'NAME=value' >> .env.
  • sed -i and tee … > /dev/null that write a secret into a file git ignores (such as .env) now pass, like echo >> .env already did.
  • /leakstop no 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 warned in the panel and the banner, not allowed.
  • 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 (and echo) no longer counts as printing the variable: its output goes to the file. Reading that file back in the same command still does.