SecretGuard — Secret DetectionCatches API keys, tokens, and credentials as you type — before they ever reach git. Most developers leak secrets by accident. A hardcoded AWS key, a Stripe token left in a config file, a GitHub PAT committed to a repo. SecretGuard stops it at the earliest possible point: your editor. What it does
Credential types detectedAWS keys · GitHub tokens (ghp_, ghs_, gho_) · Stripe live/test keys · OpenAI keys · Slack tokens & webhooks · Google API keys · SendGrid · Twilio · HuggingFace · npm tokens · Docker Hub · Okta · Shopify · Firebase · Supabase · DigitalOcean · Heroku · CircleCI · Linear · Datadog · Private keys (RSA/EC/PEM) · Database URLs (PostgreSQL, MySQL, MongoDB) · JWT secrets · and more Works best with the CLIInstall the CLI for pre-commit hooks that block secrets from entering git entirely:
This installs a git hook that prevents any commit containing secrets. The VS Code extension catches them even earlier — as you type. Breach history this tool coversBuilt from real incidents: Toyota (2023), Uber (2022), Samsung (2023), CircleCI (2023), Codecov (2021), HuggingFace (2024), Internet Archive (2024), Okta (2024). These companies lost millions because a secret ended up in code. SecretGuard catches the exact patterns involved. Settings
Commands
Links |