All rules →
Rules / Go
SHIELD-GO-005

Insecure random number generation via math/rand

mediumGoCWE-338CVSS 5.3

What it detects

math/rand is not cryptographically secure and must not be used for security operations.

How to fix

Use crypto/rand for security-sensitive randomness.

Scan your repo freeFull documentation
Back to all rules
SHIELD-GO-005: Insecure random number generation via math/rand — Zennoxa Shield