ERT-CRYPTO-002
Math.random() used for tokens
MediumA04:2025CWE-338
Why it matters
Password hashing, random tokens, PII in logs. This check looks specifically for: math.random() used for tokens.
How to fix it
Open the finding in Emerald Red Team for a fix prompt tailored to your stack and AI tool.
How we test it
Code — reads your connected repository.
Does your app have this problem?
Create a free account and verify your app to test for it.
Scan my app — free