Skip to content
vetkitChecksChangelogDocumentation

vetkit.sudoers.privilege.nopasswd-all

A sudoers rule grants passwordless root access to every command (NOPASSWD: ALL). Anyone who gets code execution as that user or group immediately becomes root.

Last updated:

Suite: Security

regex

A sudoers rule grants passwordless root access to every command (NOPASSWD: ALL). Anyone who gets code execution as that user or group immediately becomes root.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Restrict NOPASSWD to the specific commands that must run unattended, or require a password.

References

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