More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    sudoers and privilege auditor

    1

    Offline audit of copied sudoers/passwd/group for NOPASSWD, wildcards, shell escapes, extra UID 0 and empty passwords.

    Free

    1 useSecurity scanned
    sudoers and privilege auditor

    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 backupsvc alongside root in passwd
    • CRITICAL: account guest has an empty password field

    HIGH: deploy has SETENV: NOPASSWD on /usr/bin/systemctl restart * (wildcard matches spaces/args per sudoers(5); systemctl is on the GTFOBins sudo list)

    • HIGH: oncall may 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; %sudo members are deploy, 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 -c on the host.
    • GTFOBins list is a snapshot; new techniques appear over time.
    • #include directives are reported so you remember to audit the included files too.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    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

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    **/*
    ./*.md
    ./*.csv
    ./*.json
    ./*.txt
    ./*.ics
    ./samples/*

    Fully offline. Scripts never import networking or subprocess modules, never contact IPs/URLs found in inputs, and never modify system configuration.

    Listed1 month ago

    What's inside

    Frequently Asked Questions

    No. It only reads copies you provide and writes a report.

    It's the normal Debian/Ubuntu default. NOPASSWD ALL for other users is CRITICAL.

    A community catalog of Unix binaries that can be abused to escape restricted shells or elevate privileges. We ship the sudo-context list.

    Yes — pass the directory; sudoers, sudoers.d/*, passwd and group are picked up.

    No. sudoers(5) says subtracting commands from ALL with `!` is generally not effective.

    New in Security