rotateit
v0.1.0
Published
Tells you which credentials to rotate, in what order, because of which incident. Never reads a secret value off your machine.
Readme
rotateit
When a provider is breached, RotateIt tells you which of your API keys it touches and how many places each one lives in. It reads your project's .env files and your deploy settings on your own machine and matches what it finds against a signed feed of known incidents. It never prints or uploads a key's value.
Install
Node 22 or newer, macOS or Linux.
npx rotateit scanor install it: npm i -g rotateit. Bare rotateit or rotateit --help lists every command.
Scan
rotateit scan [dir] # the current folder by default
rotateit scan --json # machine-readable report
rotateit scan --agents # keys in Claude Code, Codex and Aider history
rotateit why <incident-id> # what one incident means for this projectExit codes: 0 clean, 1 something to rotate or patch, 2 error or did not run (a Pro command without Pro).
When a breach touches your keys, scan names the incident, its disclosure date and status, how many of your keys it affects and in how many places, each affected key by name with its place count, and the incident's public guide at rotateit.dev/i/<incident-id>.
Privacy
- RotateIt never prints or sends a secret value. On macOS the part that reads your keys runs in a sandbox with no network.
- The only code or instructions it downloads is the incident feed, and the feed is signed.
rotateit watch onadds an hourly check that makes exactly one request, to fetch that feed. Nothing about your machine is in it.- Telemetry is off unless you say yes.
- No runtime dependencies.
Every promise, how it is tested and what RotateIt cannot protect you from: rotateit.dev/security.
Free and Pro
Free, no account, no expiry: scan (with --agents), why, the plan preview (plan, rotate --plan: the first key and why it goes first), verify, inventory, ignore, names, telemetry, licence, pro install, the incident pages and their guides. watch alerts you when a breach touches your keys; every alert is free for its first 7 days, and breach alerts stay free after that.
Pro: every place each key lives, all of them in the safe order, rotated for you with the old keys checked dead by API for AWS, Supabase and Vercel and, for keys you make on the provider's page, where the provider can tell (rotation is in test, run only against recorded provider responses), plus guard, vault, run, put, policy, mcp and the rotation calendar. Pro is not open yet; the waitlist is at rotateit.dev/buy.
The licence is in LICENSE.
