Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jonaslejonv1.7.0MITIn 1 marketplace
Audits a Linux host's hardening posture and produces a risk-ranked report of fixes with exact changes and blast radius. Requires Linux; it refuses to run elsewhere and changes nothing by default, so it works on live hosts, mounted images via --root, or containers.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that audits how hardened a Linux system is and produces a risk-ranked report: what to fix, in what order, with the exact change and its blast radius.
It is an auditing tool, not a hardening script. It changes nothing by default.
Requires Linux. The collector refuses to run on any other kernel rather than emit a report
full of controls that only look absent because /proc, /sys and the GNU userland are missing.
Run it on the host, over SSH, or against a mounted Linux filesystem with --root.
/plugin marketplace add jonaslejon/linux-security-audit-plugin
/plugin install linux-security-audit
Then ask Claude to audit a host, or point it at an image.
461 distinct checks across 33 areas. The number a given host emits is a subset: sections
for subsystems it does not run collapse to a single NA, and a host with Docker, a web server,
TLS listeners and eBPF programs loaded emits far more than a minimal one. Coverage includes:
nosuid/noexec/nodev), SUID/SGID, capabilities, world-writable pathssudo GTFOBins-capable grants and env_keep, writable systemd units, writable PATH, NFS no_root_squash, exposed credentialsEnvironmentFile, ld.so search paths, udev RUN, plus what root processes currently hold openCAP_BPF holders. modules_disabled=1 does not constrain eBPF, so an in-kernel implant needs no moduleMatch block overrides), web servers, databases, and insecure-by-default daemonsuserns-remap, icc, default no-new-privileges), running-container posture (privileged, mounted docker.sock, missing memory/PID limits, writable rootfs), and credentials baked into image layersauthorized_default, deny_new_usb), Thunderbolt/DMA exposure and IOMMU. Scored against whether the machine is bare metal, so a cloud instance with no USB bus is not failed for a port it does not have. An allow-list is what passes here; a driver blacklist is depth, not the control| Mode | How | What is valid |
|---|---|---|
| Live host | run it directly | everything |
| Mounted image | --root /mnt | configuration only; runtime checks report NA |
| Container | run inside it | container-level checks; host-owned ones report NA |
In a container, controls that belong to the host or the orchestrator report NA with the reason
rather than as findings against the image: mount layout, firewall, time, file-integrity monitoring
and the interactive-login family. The collector also distinguishes a workload container (PID 1
is the application, so runtime posture is a real finding) from an inspection container (PID 1
is a shell, so the collector is reading an image and the seccomp profile, rootfs mode and
namespaced sysctls belong to your docker run, not to the image). container.context reports
which. Auditing a stock image this way yields single-digit findings instead of ~55.
Use --root for an offline tree, never chroot. Inside a chroot the collector cannot tell it
is offline: systemctl, sudo -l and /proc reads return "absent" rather than failing, and a
check that turns a failed read into a FAIL has manufactured a finding. --root makes the
context explicit, so those checks report NA instead.
Every run ends with a RUN_SUMMARY section giving the collector version and hash, elapsed time,
the slowest sections, the verdict spread and the real static/runtime/active split. Quote
those figures in a report rather than any number written down here.
The plugin drives this for you, but the collector is a standalone script with no dependencies beyond a POSIX shell and the tools it audits:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub jonaslejon/linux-security-audit-plugin --plugin linux-security-auditPlugins from other owners that cover similar ground