Check a site for exposed API keys
check_exposed_keysChecks whether a public website leaks secret API keys (OpenAI, Anthropic, Stripe, AWS, GitHub, Supabase service role and others) in its JavaScript, and whether a Supabase database is readable without logging in. This is the same passive, public-only scan as scan_app: it makes the same requests a visitor's browser makes, with no login, no form submission and no attacks. A recent scan of the same URL is reused. Suitable for any public URL, including the user's own app or a public site they are evaluating. Key values are always masked, and details are shown only after the site owner verifies ownership, so the tool cannot be used to harvest someone else's secrets. Use when the user asks whether a public site leaks an API key, whether Supabase is open, or whether keys are exposed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "check_exposed_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Address of the public website or app to scan, for example https://my-app.lovable.app. Any public URL is accepted. |