vetkit.php.crypto.mcrypt
The mcrypt extension is used for encryption. It is unmaintained, was removed in PHP 7.2 and makes weak modes and padding easy to misuse.
Last updated:
Suite: Security
php
The mcrypt extension is used for encryption. It is unmaintained, was removed in PHP 7.2 and makes weak modes and padding easy to misuse.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Migrate to libsodium (sodium_crypto_secretbox) or openssl_encrypt with AES-256-GCM.
References
Source: packages/engine/rules/sast/php.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.