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.
7 rules matched. Showing 7 loaded rules.
Publish rule
CVE-2026-78422: Polkit Unix Process Unsigned Uidcve-2026-78422-polkit-unix-process-unsigned-uid

Polkit's `unix-process` subject specification requires the `uid` field to be a signed 32-bit integer (`i32`, D-Bus type `i`). Passing an unsigned integer or converting `uid` without casting to `i32` causes Polkit to silently discard the UID and fall back to a racy `/proc` PID lookup, enabling PID reuse authorization bypasses (CVE-2026-78422).

by Provallyupdated 2026-09-02Apache-2.0
2800 direct280 via packs
downloads
73quality
CVE-2026-44741: Php Unserialize Missing Is Array Checkcve-2026-44741-php-unserialize-missing-is-array-check

Data returned from unserialize() is checked with empty() without verifying that it is an array using is_array(). Deserialized non-array scalar values can cause runtime TypeErrors when assigned to typed array properties or used in array operations.

by Provallyupdated 2026-09-02Apache-2.0
2800 direct280 via packs
downloads
76quality
CVE-2026-31840: Parse Logical Op Array Like Bypasscve-2026-31840-parse-logical-op-array-like-bypass

Iterating over Parse logical operators ('$or', '$and', '$nor') and gating processing only on Array.isArray(where[op]) allows an attacker to supply an array-like object (e.g. { '0': {...}, length: 1 }). The Array.isArray branch is skipped while downstream code can still iterate the object, silently bypassing recursive guards (such as protectedFields enforceme

by Provallyupdated 2026-06-12Apache-2.0
2.5K0 direct2.5K via packs
downloads
80quality
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
Strings BadHexConversiongitlab-sast-rules-lgpl-kotlin-strings-rule-badhexconversion

When converting a byte array containing a hash signature to a human readable string, a conversion mistake can be made if the array is read byte by byte.

KotlinCWE-704
by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
2.5K0 direct2.5K via packs
downloads
92quality
Strings BadHexConversiongitlab-sast-java-strings-rule-badhexconversion

The application is using `Integer.toHexString` on a digest array buffer which may lead to an incorrect version of values. Consider using the `java.util.HexFormat` object introduced in Java 17. For older Java applications consider using the `javax.xml.bind.DatatypeConverter`. Example using `HexFormat` to create a human-readable string: ``` // Create a Message

by GitLab Security Productsupdated 2026-06-03MIT
2.5K0 direct2.5K via packs
downloads
86quality
Strings BadHexConversiongitlab-sast-scala-strings-rule-badhexconversion

When converting a byte array containing a hash signature to a human readable string, a conversion mistake can be made if the array is read byte by byte.

ScalaCWE-704
by GitLab Security Productsupdated 2026-06-03MIT
2.5K0 direct2.5K via packs
downloads
86quality
All matching rules loaded.