whereismyai
Redacted
Redacted is a command-line tool that removes secrets from tool output before an AI coding assistant reads it.
Redacted acts as a post-tool-use hook that sanitizes outputs from AI coding assistants before they are processed. It performs scanning locally on the user's machine without making network calls. The tool replaces detected secrets inline with a marker that preserves the last four characters of the original value. Users can run an initialization command to learn specific secrets from .env files, which stores SHA-256 hashes rather than raw values. It detects secrets using built-in vendor signatures for services like AWS, GitHub, and Stripe, alongside custom learned secrets and entropy heuristics.
Redacted at a glance
- Best for: Software engineer
- Runs on: Linux, macOS, Windows, CLI
- Pricing: Free
- Released: November 2026
- Category: AI coding tool
- Website: github.com/svn-arv/redacted
Key features
- Scans and scrubs tool outputs locally
- Learns secrets from .env files using SHA-256 hashes
- Includes 46 built-in detection patterns for common vendors
- Replaces detected secrets with markers showing the last four characters
- Supports optional scrubbing of email addresses and phone numbers
- Integrates with Claude Code and OpenCode via hooks
Use it for
- Preventing committed keys in git diffs from reaching AI models
- Removing tokens from logs before AI assistant processing
- Sanitizing environment variable exports from CLI tools
- Masking secrets in stack traces printed to terminal output
Alternatives to Redacted
- Claude Scrub — Removes exposed API keys, passwords, and tokens from local AI session history.
- StackEngine — It automatically redacts and restores sensitive credentials during live LLM workflows.
- RTK — Reduces AI context output noise by 56 to 90 percent with zero configuration.
- Privacy Redact — Runs locally in the browser or server without uploading files or using telemetry.
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- shim-cli — Masks sensitive data and tracks costs for coding agents locally.
- Refact.ai — Open-source, self-hosted, and integrates directly into your IDE.
- Shrink Anything — Deletes dead code and unused files safely by running your test suite after every cut.
- REA — It gives your coding agent the tools to inspect programs and explain their internal logic.
- Weir — It detects exact key values in agent logs and blocks them in coding sessions.
- Lasik — Removes BLA protection to make protected code readable for AI agents.
- Sentient — Maintains an independent, tamper-evident audit trail of coding agent actions.
All Redacted alternatives