Is this key safe to expose?
check_key_exposureClassify an API key prefix as public-by-design or secret, then get the next step to rotate secrets before exposure.
Instructions
Classify an API key as public-by-design (e.g. Supabase anon/publishable, Stripe pk_) or secret (e.g. sk_live_, service_role, sk-ant-), offline from its format, and say what to do next (rotate first if secret). Pass ONLY the prefix (first 8-15 characters), never the whole key. No network calls; the full key is never echoed back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_or_prefix | Yes | The first few characters of the key, e.g. 'sk_live_' or 'sb_publishable_'. A prefix is enough. |