More screenshots
Works with the AI Agents you already use
sudoers and privilege auditor
by Big t
Offline audit of copied sudoers/passwd/group for NOPASSWD, wildcards, shell escapes, extra UID 0 and empty passwords.
$2
sudoers and privilege auditor
Example session with this skill installed
I dumped sudoers, passwd and group from a bakery VPS. Is anyone getting passwordless root? Any shell escapes?
- Read your context and instructions
- Compiled the sudoers and privilege
Answer: yes — 3 CRITICAL, 9 HIGH, 3 MEDIUM on the sample host.
- CRITICAL:
dev ALL=(ALL) NOPASSWD: ALL— passwordless full root - CRITICAL: second UID 0 account
backupsvcalongsiderootin passwd - CRITICAL: account
guesthas an empty password field - HIGH:
deployhasSETENV: NOPASSWDon/usr/bin/systemctl restart *(wildcard matches spaces/args per sudoers(5); systemctl is on the GTFOBins sudo list) - HIGH:
oncallmay run/usr/bin/vim /var/log/nginx/*— classic shell escape - HIGH:
backup ALL=(ALL) ALL, !/usr/bin/passwd, !/usr/bin/su— negation is advisory only; the user can rename the binary - MEDIUM:
Defaults !use_pty; sudoedit rule on nginx sites-enabled - INFO: expected
root ALL/%sudo ALL;%sudomembers aredeploy, dev
Deliverables: terminal summary plus optional audit.md, findings CSV and JSON. GTFOBins sudo list loaded:
455 binaries (API snapshot cited in references/).
Next steps: remove NOPASSWD ALL; delete or lock the extra UID 0 and empty-password accounts; replace shell-escape grants with least-privilege command lists; re-run after visudo -c on the host.
(Real run on the bundled examples/sample/ sudoers + passwd + group.)
Connects securely to your tools. The creator never sees your data.
About this skill
Find the sudo rule that is actually a root shell.
Point this at copies of /etc/sudoers, sudoers.d/, /etc/passwd and /etc/group. It flags NOPASSWD, command wildcards, SETENV, ineffective ALL, !/usr/bin/passwd negation, GTFOBins sudo escapes (vim, less, find, …), dangerous Defaults, multiple UID 0 accounts and empty password fields. Expected root ALL / %sudo ALL rules are INFO, not noise.
What's included
SKILL.md, scripts/sudoers_audit.py, bundled GTFOBins sudo list (455 binaries, API snapshot 2026-10-12), references, sample host files.
Going further: paid skills from the same creator
- server log threat hunter: hunt auth.log for the break-in that abused these rules.
- linux cis style config auditor: broader host hardening score.
- small business security audit: whole-business checkup.
- Not a full sudoers grammar validator — still run
visudo -con the host. - GTFOBins list is a snapshot; new techniques appear over time.
#includedirectives are reported so you remember to audit the included files too.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago
Permissions
File Scopes
Fully offline. Scripts never import networking or subprocess modules, never contact IPs/URLs found in inputs, and never modify system configuration.
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.