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
2917
Downloads
3.2M
Verified
2917
Authors
2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
26 rules matched. Showing 24 loaded rules.
Publish rule
CVE-2026-44523: Jwt Hmac Secret Missing Min Length Validationcve-2026-44523-jwt-hmac-secret-missing-min-length-validation

Struct field "$FIELD" holds a JWT/HMAC signing secret that is loaded from the environment without a minimum-length validation constraint. A decoded secret shorter than 32 bytes makes HS256 tokens brute-forceable offline (RFC 7518 §3.2 mandates ≥256-bit keys for HS256). Add `validate:"gte=32"` (or higher) to the struct tag so the application rejects an unders

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
71quality
CVE-2026-40942: Java Rsa Key Length Uncheckedcve-2026-40942-java-rsa-key-length-unchecked

Constructing an RSA public key spec without verifying the key length allows the use of weakly-sized RSA keys, which can be trivially factored by attackers to forge signatures or decrypt sensitive data. Ensure the modulus bit length is checked (e.g., >= 2048) before key creation.

by Provallyupdated 2026-06-23Apache-2.0
7390 direct739 via packs
downloads
74quality
Ssl Ssl With Bad Versiongitlab-sast-python-ssl-rule-ssl-with-bad-version

The application was found calling an SSL module with SSL or TLS protocols that have known deficiencies. It is strongly recommended that newer applications use TLS 1.2 or 1.3 and `SSLContext.wrap_socket`. If using the `pyOpenSSL` module, please note that it has been deprecated and the Python Cryptographic Authority strongly suggests moving to use the [pyca/cr

PythonCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
92quality
Crypto CipherECBModegitlab-sast-rules-lgpl-kotlin-crypto-rule-cipherecbmode

An authentication cipher mode which provides better confidentiality of the encrypted data should be used instead of Electronic Code Book (ECB) mode, which does not provide good confidentiality. Specifically, ECB mode produces the same output for the same input each time. This allows an attacker to intercept and replay the data.

KotlinCWE-326
by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.2K0 direct1.2K via packs
downloads
86quality
Crypto CipherECBModegitlab-sast-scala-crypto-rule-cipherecbmode

An authentication cipher mode which provides better confidentiality of the encrypted data should be used instead of Electronic Code Book (ECB) mode, which does not provide good confidentiality. Specifically, ECB mode produces the same output for the same input each time. This allows an attacker to intercept and replay the data.

ScalaCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Crypto Crypto Encrypt Ecgitlab-sast-python-crypto-rule-crypto-encrypt-ec

The application was found using an insufficient curve size for the Elliptical Cryptography (EC) asymmetric algorithm. NIST recommends using a key size of 224 or greater. To remediate this issue, replace the current key size with `ec.SECP384R1`, Example using `ec.SECP384R1`: ``` from cryptography.hazmat.primitives.asymmetric import ec # Generate an EC private

PythonCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Crypto Crypto Encrypt Dsa Rsagitlab-sast-python-crypto-rule-crypto-encrypt-dsa-rsa

The application is generating an RSA key that is less than the recommended 2048 bits. The National Institute of Standards and Technology (NIST) deprecated signing Digital Certificates that contained RSA Public Keys of 1024 bits in December 2010. While 1024-bit RSA keys have not been factored yet, advances in compute may make it possible in the near future. C

PythonCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Crypto HazelcastSymmetricEncryptiongitlab-sast-java-crypto-rule-hazelcastsymmetricencryption

The network communications for Hazelcast is configured to use a deprecated symmetric cipher. Consider using TLS/SSL when establishing communications across the Hazelcast cluster. For more information on configuring TLS/SSL for Hazelcast see: https://docs.hazelcast.com/imdg/4.2/security/tls-ssl

by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
92quality
Crypto BlowfishKeySizegitlab-sast-java-crypto-rule-blowfishkeysize

The Blowfish encryption algorithm was meant as a drop-in replacement for DES and was created in 1993. Smaller key sizes may make the ciphertext vulnerable to [birthday attacks](https://en.wikipedia.org/wiki/Birthday_attack). While no known attacks against Blowfish exist, it should never be used to encrypt files over 4GB in size. If possible consider using AE

by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
92quality
Crypto Weakkeystrengthgitlab-sast-go-crypto-rule-weakkeystrength

The application is generating an RSA key that is less than the recommended 2048 bits. The National Institute of Standards and Technology (NIST) deprecated signing Digital Certificates that contained RSA Public Keys of 1024 bits in December 2010. While 1024-bit RSA keys have not been factored yet, advances in compute may make it possible in the near future. T

by GitLab Security Productsupdated 2026-06-03Apache-2.0
1.2K0 direct1.2K via packs
downloads
92quality
Crypto CipherDESInsecuregitlab-sast-java-crypto-rule-cipherdesinsecure

DES, TripleDES and RC2 are all considered broken or insecure cryptographic algorithms. Newer algorithms apply message integrity to validate ciphertext has not been tampered with. Consider using `ChaCha20Poly1305` instead as it is easier and faster than the alternatives such as `AES-256-GCM`. For older applications that don't have support for `ChaCha20Poly130

by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Ssl Ssl No Versiongitlab-sast-python-ssl-rule-ssl-no-version

The application was found calling `ssl.wrap_socket` without a TLS protocol version specified. Additionally, `ssl.wrap_socket` has been deprecated since Python 3.7. It is strongly recommended that newer applications use TLS 1.2 or 1.3 and `SSLContext.wrap_socket`. To remediate this issue, create a new TLS context and pass in `ssl.PROTOCOL_TLS_CLIENT` for clie

PythonCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Crypto InsufficientKeySizeRsagitlab-sast-scala-crypto-rule-insufficientkeysizersa

Detected an insufficient key size for DSA. NIST recommends a key size of 2048 or higher.

ScalaCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Crypto InsufficientKeySizeRsagitlab-sast-java-crypto-rule-insufficientkeysizersa

The application is generating an RSA key that is less than the recommended 2048 bits. The National Institute of Standards and Technology (NIST) deprecated signing Digital Certificates that contained RSA Public Keys of 1024 bits in December 2010. While 1024-bit RSA keys have not been factored yet, advances in compute may make it possible in the near future. C

by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Crypto CipherDESedeInsecuregitlab-sast-scala-crypto-rule-cipherdesedeinsecure

Triple DES (also known as 3DES or DESede) is considered strong ciphers for modern applications. NIST recommends the usage of AES block ciphers instead of 3DES.

ScalaCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Crypto DefaultHTTPClientgitlab-sast-scala-crypto-rule-defaulthttpclient

DefaultHttpClient with default constructor is not compatible with TLS 1.2

ScalaCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Crypto WeakMessageDigestgitlab-sast-scala-crypto-rule-weakmessagedigest

DES is considered strong ciphers for modern applications. Currently, NIST recommends the usage of AES block ciphers instead of DES.

ScalaCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Crypto InsufficientKeySizeRsagitlab-sast-rules-lgpl-kotlin-crypto-rule-insufficientkeysizersa

Detected an insufficient key size for DSA. NIST recommends a key size of 2048 or higher.

KotlinCWE-326
by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.2K0 direct1.2K via packs
downloads
86quality
Crypto HazelcastSymmetricEncryptiongitlab-sast-rules-lgpl-kotlin-crypto-rule-hazelcastsymmetricencryption

The network communications for Hazelcast is configured to use a symmetric cipher (probably DES or Blowfish). Those ciphers alone do not provide integrity or secure authentication. The use of asymmetric encryption is preferred.

KotlinCWE-326
by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.2K0 direct1.2K via packs
downloads
86quality
Crypto HazelcastSymmetricEncryptiongitlab-sast-scala-crypto-rule-hazelcastsymmetricencryption

The network communications for Hazelcast is configured to use a symmetric cipher (probably DES or Blowfish). Those ciphers alone do not provide integrity or secure authentication. The use of asymmetric encryption is preferred.

ScalaCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Crypto CipherDESInsecuregitlab-sast-rules-lgpl-kotlin-crypto-rule-cipherdesinsecure

DES is considered strong ciphers for modern applications. Currently, NIST recommends the usage of AES block ciphers instead of DES.

KotlinCWE-326
by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.2K0 direct1.2K via packs
downloads
86quality
Crypto BlowfishKeySizegitlab-sast-rules-lgpl-kotlin-crypto-rule-blowfishkeysize

A small key size makes the ciphertext vulnerable to brute force attacks. At least 128 bits of entropy should be used when generating the key if use of Blowfish is required.

KotlinCWE-326
by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.2K0 direct1.2K via packs
downloads
86quality
Crypto BlowfishKeySizegitlab-sast-scala-crypto-rule-blowfishkeysize

A small key size makes the ciphertext vulnerable to brute force attacks. At least 128 bits of entropy should be used when generating the key if use of Blowfish is required.

ScalaCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Crypto CipherDESInsecuregitlab-sast-scala-crypto-rule-cipherdesinsecure

DES is considered strong ciphers for modern applications. Currently, NIST recommends the usage of AES block ciphers instead of DES.

ScalaCWE-326
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
24 of 26 loaded