Finding

High-entropy hex string in page source

warningWebsite securitysecrets-scan/high_entropy_hexGenerated from the catalogue

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 hexadecimal string of at least 40 characters with Shannon entropy above 3.5 in the page source that reads as a credential rather than a digest. If it really is one, whoever finds it can use it to authenticate as your application or service until it is rotated. A bare hex run at an exact digest length (32 / 40 / 64 / 128 characters, i.e. MD5 / SHA-1 / SHA-256 / SHA-512), one labelled as a hash or version, and one inside a URL path segment are all excluded as asset fingerprints — unless the run is explicitly assigned to a credential-shaped name such as api_secret, token, or apiKey, in which case it is reported whatever its length. This is a heuristic and may include false positives, which is why it is a warning and not a critical.

How to fix it

Review the string; if it is a credential, key, or token, remove it from source and rotate it.

Fix it with your coding agent

Prompt for Claude Code, Cursor or Codex

An Ingati scan of my website reported “High-entropy hex string in page source” (finding secrets-scan/high_entropy_hex, severity warning). Find where this comes from in this codebase or the server configuration, fix it, and explain what you changed. The scanner's guidance: Review the string; if it is a credential, key, or token, remove it from source and rotate it. 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 warning, 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