This page is generated from the scanner's own catalogue. A fuller explanation — how to check it yourself, and fixes for common platforms — is being written.
In short
The scanner found a Stripe publishable key (pk_live_ or pk_test_ followed by at least 24 alphanumeric characters). This is not a leak: Stripe documents publishable keys as safe to expose in client-side code, and every Stripe Checkout or Elements page ships one on purpose. It is recorded as an inventory item because it identifies the merchant account, and because the test/live ladder it sits on is worth checking against the page it is on. Secret and restricted keys are reported separately, at critical.
How to fix it
Nothing to rotate — a publishable key is meant to be public. Do check the ladder: a pk_test_ key on a live page means the page is wired to Stripe's test mode and will not take real payments. The keys that must never appear client-side are the secret (sk_) and restricted (rk_) ones.
Fix it with your coding agent
Prompt for Claude Code, Cursor or Codex
An Ingati scan of my website reported “Stripe publishable key present in page source” (finding secrets-scan/stripe_publishable_key, severity info). Find where this comes from in this codebase or the server configuration, fix it, and explain what you changed. The scanner's guidance: Nothing to rotate — a publishable key is meant to be public. Do check the ladder: a `pk_test_` key on a live page means the page is wired to Stripe's test mode and will not take real payments. The keys that must never appear client-side are the secret (`sk_`) and restricted (`rk_`) ones. Then tell me how to confirm the fix, so the next scan shows it as fixed.
How Ingati finds it
This is one of the Website security checks, and it runs on every scan. When Ingati finds the problem, your report lists it as info, with where it was found and what the scanner saw. Later scans show it as fixed once it is gone.
Ingati checks this and thousands of other things on every scan.
Start scanning