Scan a website for exposed keys
We open the page you enter and up to 50 more pages on the same site, read every script and source map they load, and look for keys that should not be public. Pages behind a login can't be checked.
No scan yet
Enter your website address above and press Scan. Your report shows up here.
- A safety grade from A to F
- Any keys or secrets anyone can see
- How to fix each one
- WordPress check: version, plugins, themes and known holes
- What the site is built with (Next.js, React, Vite, Laravel, PHP, WooCommerce, Shopify, Wix, Joomla, Drupal, Magento, OpenCart) and tips for it
- Deep tests, only for you while logged in
Verify you own your site
-
Copy this message and paste it into the chat of the tool that built your site
Works with Lovable, Bolt, Replit, v0 and similar. The tool adds one hidden line to your homepage.
Add this tag inside the <head> section of my website's homepage (index.html). Change nothing else, then publish the site: <meta name="leakguard-verify" content="lg-…"> -
Publish your site, then press Check.
Advanced: edit the code yourself, upload a file or add a DNS record
-
Add this line inside
<head>on your homepage:<meta name="leakguard-verify" content="lg-…"> -
Or upload a file named
leakguard-verify.txtto your site's top folder, so it opens athttps://your-site.com/leakguard-verify.txt, with only this text in it:lg-… -
Or add a DNS record where you manage your domain: type
TXT, name_leakguard.your-site.com, value:leakguard-verify=lg-…DNS changes can take a few minutes to show up.
Why we ask: knowing exactly which secret file is open on a site helps an attacker, so only the owner sees it. You can remove the line after you've fixed things.
What the results mean
- Red: Exposed secret. Change this key now and remove it from the website.
- Amber: Low, worth a look. Usually fine, but check it (for example, restrict a Google Maps key to your site).
- Green: Public keys found (safe). Keys that are meant to be in a website, like a Stripe publishable key or a Shopify storefront token. No action needed.
- Grey: Personal data. Check whether it should be on the page.
Known-bug data: Retire.js (Apache License 2.0) for script libraries, OSV.dev and the GitHub Advisory Database (CC BY 4.0) for packages, WPVulnerability (CC0) for WordPress. Bug numbers link to the US National Vulnerability Database (NVD). Extra secret-key patterns: Gitleaks (MIT License). Passive checks ported from OWASP ZAP (Apache License 2.0). Checks based on ProjectDiscovery nuclei-templates (MIT License).