Your domain, checked and fixed.

Learn DNS · Security and scams

Secret keys showing on your website

In one lineReviewed 2026-11-13

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.

Diagram: where Secret keys showing on your website fitsYour web page's code (sk_live_…a1b2 visible), then Robots scan for keys (within hours), then Rotate the key (and move it to a server)Your web page's codesk_live_…a1b2 visibleRobots scan for keyswithin hoursRotate the keyand move it to a server

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

How to fix it

  1. Sign in to the service the key belongs to and rotate (replace) the key straight away.
  2. Remove the key from your website code. Secret keys belong on a server, never in a page or browser script.
  3. Check the service's usage log for activity you didn't do.
  4. Ask your web person to move the call to a server function.

Check this on your domain

This page explains: Secret keys showing on your website.

DNSFix Help
Hi, this is DNSFix Help. Ask anything about your domain or account. Answers come from our help library, and some are drafted by AI and say so. After any change, check your domain again: the report tests every record against the standard rules. Need more help? We'll follow up by email.