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
7.4M
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-47752: List Comprehension Unhandled Indexcve-2026-47752-list-comprehension-unhandled-index

Directly accessing an element of a list comprehension (e.g., `[x for x in iterable][0]`) without verifying that the resulting list is not empty can raise an `IndexError`. If the iterable is derived from missing or malicious input elements, this leads to an unhandled exception and Denial of Service (DoS). Assign the comprehension to a variable and check its t

by Provallyupdated 2026-09-02Apache-2.0
2800 direct280 via packs
downloads
65quality
All matching rules loaded.