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.
1 rules matched. Showing 1 loaded rules.
Publish rule
CVE-2026-61500: Insecure Math Random State Leakcve-2026-61500-insecure-math-random-state-leak

Using Math.random() to generate session IDs, tokens, or cryptographic keys can leak the internal PRNG state. Math.random() is predictably non-cryptographic, and attackers can reconstruct its internal state to predict past and future values, leading to session forgery or access to cryptographic keys. Use `crypto.randomUUID()` or `crypto.randomBytes()` for sec

by Provallyupdated 2026-09-02Apache-2.0
1.3K0 direct1.3K via packs
downloads
69quality
All matching rules loaded.