vetkit.shell.sudoers.nopasswd-all
The script writes a sudoers rule that grants passwordless root access to every command (NOPASSWD: ALL). Code execution as that user then means root.
Last updated:
Suite: Security
regex
The script writes a sudoers rule that grants passwordless root access to every command (NOPASSWD: ALL). Code execution as that user then means root.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Limit NOPASSWD to the specific commands that must run unattended, and validate the file with visudo -cf.
References
Source: packages/engine/rules/sast/shell.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.