Exposure
secrets in source, config, Dockerfiles, CI files, notebooks, and git history.

the secrets dog. Finds secrets in code and git history, helps rotate them and blocks them at commit.
ExploitAnyone with repo access can charge cards
FixSmallest change suggested
$ /watchdog-go-secretsThe secrets dog. Goes past finding keys: rotation, storage, .env handling, git history cleanup and pre-commit blocking.
The always-on lens watches .env files, config, CI secrets, vaults, key rotation, git history.
secrets in source, config, Dockerfiles, CI files, notebooks, and git history.
plaintext .env committed, secrets in container images or mobile/web bundles, no vault/secret manager.
one key shared across environments or services; admin keys where scoped keys exist.
no rotation path; leaked keys still valid; long-lived tokens instead of short-lived/OIDC.
no pre-commit or CI secret scanning; `.gitignore` missing `.env`.
after a leak: rotate first, then purge history (`git filter-repo`), then invalidate caches and forks.
Runs these scanners when installed, then reads the code they can't understand:
Find, rotate and properly store secrets; git history; pre-commit blocking
Also runs in these bundles.
Its test target holds a small service with .env, config, CI workflow, weak .gitignore and pre-commit config: 18 planted issues, 3 decoys and an answer key. All values are labelled FAKE-....
Static review only. Never change live systems or send traffic to targets outside the user's written scope.
Never print a secret's value — not keys, tokens or passwords, even weak defaults. Give file:line and the secret type only.
End each review with: what you did not check, and the top risk the user must act on.
Akita is Watchdog's secrets dog for Claude Code. It looks for Exposure, Storage, Scope, Rotation, Prevention and Cleanup. Each finding comes with the exact file and line, how it could be abused, and the smallest fix.
Install Watchdog with /plugin marketplace add watchdoglab/watchdog and /plugin install watchdog@watchdog, then run /watchdog-go-secrets. Its lens also stays on while you code and flags risky lines as they're written.
When they're installed, Akita runs pre-commit, then reads the code those scanners can't understand. Anything it couldn't check is listed under Not checked in the report.
Yes. Its first rule: Static review only. Never change live systems or send traffic to targets outside the user's written scope. Secrets it finds are reported by location and type only, never printed. Watchdog is free and open source (MIT).