vetkit.py.crypto.weak-rsa-key
An RSA/DSA key shorter than 2048 bits is generated; such keys are within reach of factoring attacks.
Last updated:
Suite: Security
python
An RSA/DSA key shorter than 2048 bits is generated; such keys are within reach of factoring attacks.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Generate RSA keys of at least 3072 bits (2048 minimum) or switch to Ed25519 / ECDSA P-256.
References
Source: packages/engine/rules/sast/python.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.