Align client-side token warning feature with broader Secret Detection functionality and system
Proposal
In Warn user about tokens in comments/issues (#368434 - closed), we added limited client-side secret detection to help prevent accidental leaks of Personal Access Tokens (PATs) and Feed Tokens. Other patterns were added later (for example in !146757 (merged)).
This was an consciously limited first iteration, aimed at preventing certain leaks without waiting for broader re-architecture, such as #376716 (closed) / &8667.
We should expand the level of protection this feature offers so it aligns with the ruleset and detection techniques used in GitLab Secret Detection.
Edited by Connor Gilbert