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.5M
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-25518: Unchecked Dns Message Slice Castcve-2026-25518-unchecked-dns-message-slice-cast

Direct index access and unchecked type assertion on a DNS message slice (e.g., `Answer`, `Ns`, `Extra`) can result in out-of-bounds access or type assertion panics if the DNS response is modified, empty, or contains unexpected record types. Iterate over the slice and use a comma-ok type assertion instead.

by Provallyupdated 2026-06-12Apache-2.0
2.3K0 direct2.3K via packs
downloads
68quality
All matching rules loaded.