Learn DNS · Security and scams
Secret keys showing on your website
In one lineReviewed 2026-11-13The whole idea in one short sentence. The rest of the page explains it step by step.
Some websites accidentally include secret passwords for other services, like payment or AI keys, in their code where anyone can read them. We look for them and show a masked version so you can change them.
What it is
DNSFix reads your home page and up to 5 of its own scripts, looking for patterns of well-known secret keys (payment, cloud, email and AI services). We never show the full key: only the start and end. Public keys that are meant to be visible (like a payment provider's publishable key) are labelled OK.
This happens most often with sites built quickly with AI site builders.
What happens if it's not fixed
- Anyone can use a leaked key to run up bills on your account, send email as you, or read customer data.
- Robots scan the web for these all day; leaks are usually used within hours.
How to fix it
- Sign in to the service the key belongs to and rotate (replace) the key straight away.
- Remove the key from your website code. Secret keys belong on a server, never in a page or browser script.
- Check the service's usage log for activity you didn't do.
- Ask your web person to move the call to a server function.
Related
This page explains: Secret keys showing on your website.