vetkit.php.code-injection.dynamic-function-call
A function to call is chosen by request input (code injection). Attackers can invoke any function such as system() or passthru().
Last updated:
Suite: Security
php
A function to call is chosen by request input (code injection). Attackers can invoke any function such as system() or passthru().
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Map request values to a fixed array of allowed callables instead of calling the value directly.
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.