The error from crypto/rand.Read (or uuid.NewRandom, which wraps crypto/rand) is silently swallowed: the failure path either returns without surfacing the error, returns the all-zero UUID constant, or falls back to another UUID/token generator. When the OS entropy source fails, the resulting identifiers become predictable (e.g. always the zero UUID), which br
Explore
Rule Explorer
Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.
- Public rules
- 4797
- Downloads
- 12.1M
- Verified
- 4797
- Authors
- 2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
CVE-2025-66565: Go Crypto Rand Silent Failure Fallbackcve-2025-66565-go-crypto-rand-silent-failure-fallback
CVE-2025-52464: Unseeded Curve25519 Keygencve-2025-52464-unseeded-curve25519-keygen
Generating a Curve25519 key pair without appropriately initializing the randomness pool can result in low-entropy, duplicate, or predictable cryptographic keys. Ensure that the PRNG is correctly initialized and salted with sufficient hardware or system entropy (e.g., via `RNG.begin()` and `RNG.stir()`) prior to invoking `Curve25519::dh1()`.
All matching rules loaded.