Free tool · Website security

This free website security check reads what your site hands to every visitor: your page, up to three more it links to, their JavaScript and five well-known file paths. It reports what should not be there, such as secret API keys, database passwords, an exposed .env file, downloadable source maps and missing security headers. It only reads, it needs no sign-up, it shows the whole result, and when a host blocks it, it says so instead of guessing.

  • No sign-up, the full report on the page
  • Passive: it reads only what a browser can
  • Secrets are masked in the report
  • It says when it was blocked
Leak checkKIMU 261124 2Gate scanner · passive
  • It reads your page, up to three more it links to, their scripts and five well-known file paths.
  • It never logs in, sends a form or uses a key it finds.

Passive scan. Secrets are masked. Nothing is stored.

Website security check

  1. Secret keys in your JavaScript

    Keys for payments, databases, email, messaging, cloud accounts and AI providers, found by their real formats and checked before they are reported, in every script loaded by your page and by up to three more pages it links to.

  2. Database keys, read properly

    A Supabase key is decoded to see what it is. The public key every Supabase app ships is noted, not flagged. The service key that bypasses every access rule is a critical finding.

  3. Files that should never be public

    It asks for /.env, /.env.local, /.env.production, /.git/config and /.git/HEAD, and counts a file as exposed only when the answer actually is that file, not a page that merely returned 200.

  4. Source maps

    If the files that map your bundle back to your original source code can be downloaded, anyone can read your code as you wrote it. The check confirms it by reading the start of the file.

  5. Security headers and cookies

    Content Security Policy, HSTS, clickjacking protection, content type sniffing and referrer policy on the page, and session cookies set without the Secure or HttpOnly flags.

  6. Its own coverage

    The report says which pages it read, how many scripts it found, read and skipped, which paths it could not judge, and whether the host answered with a challenge page instead of your site.

Website security check

  1. Enter your site's address

    The page your users land on is the right one: the scan reads it, follows it to your login or app page, and reads every script they load.

  2. Confirm it is yours

    The scan is passive, but it is still a scan. Run it on sites you own or have permission to test.

  3. Watch it work

    Each file appears as it is read, and turns red the moment something is found in it.

  4. Fix the worst first

    A leaked secret is rotated before anything else. The report orders the findings so the top one is the next thing to do. Copy the fix list for whoever does the work, then scan again to see what is fixed.

Website security check

A tool is only useful if you know where it stops. This one stops here.

  • It is not a penetration test. It does not try passwords, send forms, probe for injection flaws or attack anything.

  • It never uses a key it finds. It does not query your database to see whether its access rules hold; it tells you how to check that yourself.

  • It reads the page you give it and up to three more that it links to, not every page of your site, and never a page behind a login.

  • A clean result is not a certificate. It means nothing was found in what was read, and the report says what was read.

Why apps built fast leak secrets

Everything a browser needs to run your app is sent to the browser, and everything sent to the browser can be read by whoever opens it. That is the whole problem. A key placed in front-end code, or in an environment variable the build tool exposes to the front end, is published the moment you deploy. Minifying the code does not hide it; it just removes the line breaks.

Apps assembled quickly, often with an AI app builder writing most of the code, hit this more than most. The generated code works on the first try, and a working app does not look like a leaking one. Nobody sees the service key sitting in a bundle until someone goes looking, and the people who go looking are not always the owner.

What counts as a leak, and what does not

Not every key in your JavaScript is a mistake, and a scanner that treats them all as emergencies teaches you to ignore it. Some keys are made to be public:

  • The Supabase anon or publishable key, which identifies your project and is limited by your Row Level Security policies.
  • A Firebase configuration, which is limited by your Security Rules.
  • A Stripe publishable key, which can only start a payment, not read one.
  • A Google Maps key, which should be restricted to your domain but is meant to be in the page.

Others must never reach a browser: a Supabase service role key, a Stripe secret key, a database connection string with its password, a private key, a token for your email or messaging provider, a secret key for an AI provider. This check tells the two kinds apart. It reports the first kind as information, with the condition that makes it safe, and the second as critical.

What to do when a key has leaked

  1. Rotate it firstCreate a new key in the provider's dashboard and revoke the old one. Removing the key from your code does nothing for the copy already out there.
  2. Move the call to the serverWhatever needed that key should run in server code: an API route, a server function or an edge function. The browser asks your server; your server uses the key.
  3. Look at what the old key didCheck the provider's usage and logs for the time the key was public: unfamiliar calls, new records, unexpected charges.
  4. Deploy and scan againOld bundles can stay cached for a while, so check that the new deployment is the one being served and that the finding is gone.
Treat a public key as a stolen key

You cannot know who read it while it was public, so act as if someone did. Rotate it, even if you only noticed a minute ago.

Row Level Security: the check this tool leaves to you

With Supabase, the public key in your app is safe only if every table has Row Level Security switched on and policies that say who may read and write each row. Without that, the public key reads the whole table, and so can anyone who copies it from your site. It is a well-known and serious fault in apps built on Supabase, and it cannot be seen from the JavaScript.

Testing it means querying your database with your key, which is no longer passive, so this tool does not do it. You can in a minute: in the Supabase dashboard, open the Table Editor and check that every table shows Row Level Security as enabled, then open the Security Advisor, which lists tables that are exposed without it. When the scan sees Supabase on your site, its report also gives you a one-line query for the SQL Editor that lists every table and whether it is protected. Firebase has the same question in another form: read your Security Rules and make sure none of them allows reads or writes to everyone.

How the scan works, and why it only reads

The scan does what a browser does when someone visits your site, and stops there. It requests the page, reads its headers, collects the scripts the page loads, downloads those and searches them. A landing page often loads none of the app's code, so the scan also reads up to three pages that yours links to, a login or app page first, and the scripts they load. It never follows a link that carries a query or says it does something, such as logging out. It then asks for five well-known paths and one random path, so it can tell a real file from a site that answers every address with the same page. Every request identifies itself by name. It never submits a form, never logs in and never calls an API with anything it found.

Three things keep the result honest. A finding is reported only after it has been checked: a token is decoded, a file's content has to look like that file, a key has to match the real format rather than just a prefix. Secrets are masked in the report, so a screenshot of your result does not leak the key a second time. And when the host answers with a challenge or a block page, the report says the scan was blocked and lists nothing, because findings read off a block page are fiction.

Reading the result

  • Critical: a secret that gives access to data, money or an account. Rotate it today.
  • High: something that should not be public and can be abused, such as an exposed configuration file or a site served without HTTPS.
  • Medium: a weakness that needs another fault to matter, such as downloadable source maps or a session cookie without its flags.
  • Low: a missing protection every site should have, such as a Content Security Policy.
  • Info: something worth knowing that is fine as long as its condition holds, such as a public database key.

Read the coverage as closely as the findings. A scan that read three of forty scripts has told you much less than one that read them all, and the report shows which you got.

When the fix is bigger than a key

Rotating a key takes minutes. The reason the key was there usually takes longer: an app that talks to its database straight from the browser, payment logic that trusts a price sent by the client, no server between the user and the data. Those are design faults, and a scanner can only point at their symptoms.

This is work I do. The products I build recalculate prices on the server so a tampered basket cannot change the charge, encrypt stored tokens, verify signed webhooks and are covered by automated security tests. If your app was built fast and now has users, I can review it, move the secrets and the trust to the server side, and leave you with tests that keep it that way.

Website security check

Is this website security check free?

Yes. You enter an address and get the full report on the page. There is no account, no email form and no paid tier that holds back the details. The number of scans from one connection is limited so the tool stays available to everyone.

Will the scan harm or attack my site?

No. It is passive. It makes the same requests a browser makes when someone opens your page, then asks for five well-known file paths and one random one. It does not send forms, try passwords, test for injection or use any key it finds. Each request carries the tool's name so you can recognise it in your logs.

Why did it say the scan was blocked?

Because your host answered with a challenge or a block page instead of your site. Firewalls and bot protection do that to requests that do not come from a browser. The tool reports this and lists no findings, since anything read off a block page would be wrong. Your site may be perfectly fine; the tool simply could not read it.

It found a Supabase key. Is that a problem?

It depends on which key, and the report tells you. The anon or publishable key is meant to be in your app and is listed as information. It is safe only when Row Level Security is on for every table, which you should confirm in your Supabase dashboard. A service role key is a critical finding: it bypasses every access rule and must be rotated at once.

Do you keep the address I scan or the results?

No. The scan runs when you ask, the result is sent to your browser and nothing is saved on the server afterwards. Secrets are masked before the report leaves the server, so even the report you see never contains a complete key. Your own browser remembers a short summary of your last scan of each site, so the next scan can show what you fixed. It stays on your device, and one click forgets it.

How is this different from a vulnerability scanner or a penetration test?

Those look for flaws in how your application behaves: injection, broken access control, weak authentication. They probe and they take hours or days. This check answers a narrower question in seconds: is my site handing secrets to everyone who loads it? It is a first look, not a replacement for a security review.

Services
  • Cybersecurity

    Security built into the websites and apps I design and build, plus security review and hardening for the ones you already run: sign-in, payments, stored data and the tests that check them.

  • AI security

    Security-first engineering for AI agents and apps: prompt injection defenses, attack testing before launch, scam detection and secure code.

  • Fractional CTO

    Part-time technical leadership from a working CTO who still builds: architecture, technical due diligence, hiring and leading developers.

  • Web & SaaS development

    Full stack web apps, SaaS products and online stores in Next.js, TypeScript and PostgreSQL, with tests, security and SEO built in from day one.

Insights

Nov 7, 2026 · 8 min read

What is prompt injection? How I test AI agents against it

Prompt injection is the attack every AI agent has to survive. What it is, the kinds to expect, how to contain it, and how I test for it before launch.

An AI agent, an app, a platform or a growth problem. Tell me what you want to achieve and I’ll tell you how I’d build it.

Start a project