Check if an API key is exposed
If the browser downloaded the key, so can anyone else.
NEXT_PUBLIC_ and VITE_ variables are not secret. ShipCheck fetches the page, same-origin scripts, and public source maps, then looks for known key shapes.
What we look for
OpenAI sk- and sk-proj-, Anthropic sk-ant-, Stripe sk_live_ and sk_test_, AWS AKIA access key ids, GitHub tokens, Slack tokens, Google API keys, PEM private keys, database URLs, and Supabase JWTs whose role is service_role.
What we store
A masked value, the file URL, and a fix prompt. The scanner refuses to save a finding if the raw secret is still in the JSON.
Rotate, then move the call
Deleting the line is not enough. The key is already public. The prompt says to revoke it, call the provider from a server route, and rebuild.