sudoers Auditor
Paste or drop /etc/sudoers (or a drop-in from /etc/sudoers.d) and see what it really grants. The auditor parses Defaults entries and their scopes, aliases, user specs, runas lists, tags and command lists, then reports every grant that is passwordless, that reaches a shell, editor or interpreter (each of which spawns root), that is valid on every host or for every user, that leans on a wildcard, that keeps an environment variable which can load code, or that lists only negated commands and therefore allows everything else. Syntax is checked the way sudo checks it, so the messages it quotes are the ones visudo prints, and includes, unreachable aliases and duplicate specs are reported alongside. Nothing is uploaded, resolved or executed.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Drop a file here, or browse
Files stay on your device.
Ctrl+V to paste an image
Text is processed on this device. If a file is selected, the file is used instead.
Options
Drop a file above to begin
Your file are processed on this device and never uploaded.
How it works
What the auditor reads
Paste /etc/sudoers or a drop-in from /etc/sudoers.d, or drop the file in. The parser handles Defaults lines and their scopes, all four alias types, user specs with runas lists, tags and command lists, continuation backslashes, and includes. Mistakes are quoted in the wording visudo prints.
The five output views
The Output selector switches between the policy summary, the parsed user specs, the aliases with each member and its line number, the Defaults entries grouped by scope, and the findings list. The summary is the overview; the other views let you check the parser against the file you pasted.
What gets flagged as risky
A finding is raised for a passwordless grant that reaches a shell, editor or interpreter, since any of those can run commands as the target user. Also flagged: ALL-command grants, wildcards whose basename pattern covers such a command, env_keep variables like LD_PRELOAD, and command lists of only negated entries.
Tuning the shell-escape list
The Commands that count as a shell escape box lists the program names treated as root-equivalent, from sh and vim to systemctl and docker. Trim it to your environment to cut noise, or add your own interpreters. Emptying the box falls back to the built-in list rather than disabling the check.
What a browser cannot resolve
Includes are listed but never followed, so /etc/sudoers.d is not read from a dropped main file, and group, user and host names are not resolved. Input is capped at 8 MB, with further limits on specs and findings. Parsing is text-only in this tab: nothing is executed, uploaded or sent anywhere.
Questions
Is it safe to paste a sudoers file here?
Yes. Everything is parsed as text in your browser: nothing is uploaded, no sudo command is run and no network request is made. That matters more than usual with sudoers, because the file describes exactly which accounts can become root on which hosts.
Where do the syntax messages come from?
The parser follows the same grammar sudo does, so a line sudo refuses is reported as an error with the wording visudo prints, such as unknown defaults entry "bogus_option", value "abc" is invalid for option "passwd_timeout", syntax error, or User_Alias "BADALL" referenced but not defined. Note that visudo reports undefined alias references without failing the parse, so this auditor counts them as errors while still showing the rest of the file.
What can a browser not check?
Include directives (#include and @includedir) are listed but never followed, because the auditor cannot read /etc/sudoers.d from a dropped file. Group, user and host names are not resolved either, so a rule naming a group that does not exist is accepted rather than guessed at. Those limits are reported as notes, and the effective policy is the one written in the text you paste.
What makes a grant risky?
A passwordless grant that reaches a shell, editor or interpreter, because any of those can run arbitrary commands as the target user. Also: a grant covering ALL commands, a wildcard that can be widened, an env_keep variable such as LD_PRELOAD that loads code into the privileged process, a command list of only negated entries (sudoers then allows everything else), and Defaults !authenticate.
Related tools
See categoryiptables Ruleset Auditor
Audit an iptables-save ruleset: chains, policies, reachable ports, shadowed rules and open ports.
SSH Config Auditor
Audit an SSH client config: resolve host options, flag risky settings and ordering mistakes.
systemd Unit Inspector
Inspect and validate systemd unit files: directives, dependencies, ExecStart and hardening.
docker-compose.yml Generator
Build a docker-compose.yml for one service — image, ports, environment, volumes and restart policy.