Free exposed API key checker
Short answer: scan public app assets for recognizable secret-key patterns, then rotate confirmed credentials and move calls server-side. This guide explains what to verify and what the public scan cannot prove, without logging in, changing records, or treating an inconclusive response as a pass.
What the exposed API key checker check covers
The checker looks for recognizable credential patterns in public HTML and JavaScript that a visitor can download. A pattern match is a lead to review, not a complete provider-side validation of the key.
This free checker is an entry point into a broader read-only scan. Its output is evidence about a specific public response or browser asset, not a guarantee that the application, provider account, or private backend is safe.
Some strings are intentionally public, such as publishable payment keys or public project identifiers. Classify the key with its provider and role; never paste a suspected secret into an online decoder or issue.
Understand the evidence before changing code
A match may be truncated or masked in the report to reduce accidental exposure. The useful result is the key type and location, which helps you find the source variable without redistributing the raw value.
Run the check against a production URL you own or are authorized to test. The browser-visible configuration is already public; never paste a secret value into the checker, a support ticket, or an AI prompt.
Apply the narrow, safe change
For a confirmed private key, revoke it with the provider and move the associated call to a protected server route. Add authentication and rate limits so that the route does not expose the same capability indirectly.
const secret = process.env.PROVIDER_SECRET;
// Call the provider from a protected server route, never from browser code.Results distinguish a confirmed response from a blocked or ambiguous one. A timeout, authentication wall, empty dataset, or host-level denial may prevent a conclusion; the tool should not turn missing evidence into a green result.
Verify the production result
After deployment, run the checker again and inspect the production assets for the old pattern. Search source maps and cached bundles too if the framework publishes them.
If the checker finds an issue, use the linked repair guide to change the correct deployment setting. Keep least privilege, review the diff, and avoid disabling access controls just to make the status change.
Keep the issue from returning
Add a secret scan to CI and fail builds when private provider patterns appear in the public output. Use provider-specific allowlists only for known public values and document why they are safe.
Re-run the checker after deployment and compare the new response with the original finding. If a CDN or build cache is involved, verify the actual public asset rather than assuming a successful deploy invalidated every copy.
Limits and next steps
Pattern matching cannot detect every custom token or prove a key was used. It also cannot determine permissions from a prefix alone; verify the credential type with its provider.
The check is designed to avoid reading private application records. Where a provider offers a count-only or metadata response, the tool reads only that signal; it does not need row contents to explain the boundary.
A passing result covers only the advertised check and its observable surface. It does not replace dependency review, authenticated authorization tests, incident response, or a security assessment of code the public scanner cannot see.
Key facts
- A pattern match needs provider-role verification before classification.
- Rotating a credential is distinct from removing its string from a build.
- A CI scan can check the built artifact as well as source files.
Questions
Can a clean exposed API key checker check prove the app is secure?
What should I do first if the finding is real?
Does ProofForge change application data?
What should I do after the repair?
Official documentation referenced
Related
Last updated 2026-11-25 · Reviewed by ProofForge · Methodology · Markdown