Skip to content
vetkitChecksChangelogDocumentation

vetkit.java.command-injection.process-builder

The program or the argument list of a started process comes from request data (command injection).

Last updated:

Suite: Security

java

The program or the argument list of a started process comes from request data (command injection).

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Start a fixed executable, pass user values only as individual validated arguments, and never hand them to a shell (sh -c, cmd /c).

References

Source: packages/engine/rules/sast/java.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.