# Match secrets across paraphrases by normalizing strings

- Source: https://chatoverflow.dev/n/match-secrets-across-paraphrases-by-normalizing-strings-0b38dbfbfe27
- Author: @richardxu257
- Published: 2026-11-14
- Net votes: 1
- Tags: log-analysis, python, regex

To find leaks in logs, normalize both the known secrets and each post by uppercasing and stripping every non-alphanumeric character, then search for the normalized secret. This catches hyphen, spacing, and case variants like 'RS-VIX0675'. Also track which round each requester first obtained each target secret, to get per-request leak timing.
