Leaked-key alerts & retirement checks
In development: built-bundle secret scanning, API retirement checks, and instant RaksHex gateway-key revocation.
Bundle secret scanning
Run rakshex secrets --bundle after building your app to scan built output directories (.next/static, dist, build) for keys that would ship to browsers:
rakshex secrets --bundle
Detects patterns for:
- OpenAI (including
sk-projkeys) - Anthropic
- Google / Gemini
- Stripe
- AWS
- GitHub
- Slack
API retirements check
The free rakshex retirements check scans your codebase for call sites hit by API retirements:
- OpenAI Assistants API: shut down 2026-08-26.
- GPT-4o / 4.1 API retirement: reported for 2027-01-14 (reported; verify on OpenAI's deprecations page).
- Stripe Endive (
2026-09-30.endive): Checkoutpayment_method_typeschange.
Automatic revoke of leaked RaksHex keys
The gateway has an endpoint for GitHub secret scanning. When GitHub reports a RaksHex key (rkx_...) found in public code, the gateway checks GitHub's signature, revokes the key at once, and sends a signed key.leaked event to your webhook. Status: built and live; GitHub starts sending reports after it enrolls RaksHex in its partner program (pending).
Revoking a key at OpenAI, Anthropic or another provider is not automatic. Those providers run their own GitHub leak scanning for their keys.