Audit fix library
Fix Any CtrlOps Security Audit Finding
A security audit tells you which setting is wrong. This library tells you what the check actually read, why a real host trips it, when the result is a false positive, and the exact command that fixes it.
One page per check across 25 audits and 4 platforms, each transcribed from the audit script CtrlOps runs rather than written from memory.
- Checks documented
- 157
- Audits covered
- 25
- Platforms
- 4
- Known script issues, listed
- 11
For what each audit covers rather than how to fix it, see the Linux server security checklist, or how the CtrlOps Security Audit runs.
Four platforms
Start with the platform your finding came from
Every host has a server layer. Add database, web server and Docker depending on what else it is running.
- 7 audits45 checks
VPS & Server
The box itself - access, network, patches and permissions.
13 high · 21 medium · 11 low
- 6 audits37 checks
Database
MySQL, PostgreSQL, MongoDB and Redis - access, exposure and encryption.
19 high · 15 medium · 3 low
- 6 audits36 checks
Web Server
TLS, security headers, exposed content and request handling.
8 high · 18 medium · 10 low
- 6 audits39 checks
Docker
Daemon exposure, container privileges, images, volumes and limits.
13 high · 15 medium · 11 low
Every audit CtrlOps runs, grouped by platform. Each one opens on how its checks fail and what the fix is.
Reading a result
Every check returns one of four statuses
Each check prints a single line in the form ##RESULT|STATUS|Check Name|SEVERITY|message. The status decides which section of a fix page you need.
##RESULT|FAIL|MySQL Root Password|HIGH|MySQL root logs in with no password from a normal shell - any local account owns the database, set a password or auth_socket'
- 2Status
- FAIL
- 3Check name
- MySQL Root Password
- 4Severity
- HIGH
- 5Message
- MySQL root logs in with no password from a normal shell - any local account owns the database, set a password or auth_socket'
- PASSFix page: verify it holds
The condition the check looks for was not found, or a safe configuration was positively confirmed.
- WARNFix page: check the caveats first
Worth reviewing. Usually a defence-in-depth gap, a default left in place, or a setting that is broader than it needs to be.
- FAILFix page: go to the fix
A concrete exposure was observed on the host. The page for that check opens with the fix.
- SKIPFix page: debug the skip
The check could not run: the engine was absent, root was needed, or a tool was missing. A SKIP is never a pass, because nothing was verified.
Known issues
11 of these checks are wrong, and we say which
Why we publish this
Software moves and check logic drifts behind it. MySQL removed the variable one check reads, Docker retired the feature another rewards, and Let’s Encrypt switched off the responders a third depends on. Every one is documented with its source and the result you should expect instead.
Read the known issues- 01MySQL TLS is reported as unavailable on MySQL 8.4 and later
- 02Docker Content Trust is still rewarded after Docker retired it
- 03OCSP stapling is recommended for certificates that have no OCSP responder
- 04The end-of-life version lists are incomplete
- 05Per-container log limits are not seen
- 06no-new-privileges is reported missing when it is set without a value or daemon-wide
- 07Trivy and dockle findings are never counted
- 08SBOM Generation passes on any host that has Docker installed
- 09MongoDB authorization enabled outside mongod.conf is missed
- 10A PostgreSQL WAL directory on its own mount is reported as sharing a disk
- 11The separate-netmask form in pg_hba.conf is not matched
Provenance
Why trust these thresholds?
Because you can check them. Here is the same check, in the script that runs it and on the page that documents it.
##RESULT|PASS|SSH Root Login|HIGH|Root login is disabledtranscribed, then asserted on every buildOn this pagePASSThe effective value is
noRoot login is disabled entirely.- Thresholds, not opinionsEvery pass, warning and failure value is transcribed from the script that applies it, not from a hardening guide.
- Guarded against driftnpm run check:audit-fixes fails the build if a page and its audit script ever disagree about a severity or a threshold.
- Read-only by designEvery check inspects state. Nothing is installed, no service restarts, and nothing is written to the host.
- Runs on any Linux you haveThe scripts detect the package family themselves, from Ubuntu and Debian through RHEL, Rocky, Alma, SUSE and Alpine.
It documents every individual check in the CtrlOps security audit, one page per check. Each page explains the exact file or command the check reads, the threshold that separates a pass from a failure, why a correctly configured host sometimes still fails, the remediation, and commands to verify the fix independently of the audit itself. You do not need to run CtrlOps to use it.
No. Every page states the command you can run by hand to reproduce the check, and the fix is plain shell, nginx, Apache or SQL configuration. CtrlOps runs all of them over an existing SSH connection and scores the result, which is faster than working through them one at a time, but the content stands on its own.
A SKIP means the check could not run, so nothing was verified. The usual causes are a missing engine, a tool that is not installed, or insufficient privilege. A SKIP is never a pass. Every page lists the exact conditions that produce one for that check, and each audit hub page explains the privilege modes behind most of them.
Most map onto a published standard, and each page names the ones that apply: CIS Benchmarks, the OWASP Top 10 and cheat sheets, NIST SP 800-53, and vendor hardening guides such as the Mozilla OpenSSH guidelines. The pages cite the standard rather than claiming certification against it.
Yes, and they are listed. Some checks have drifted from the current state of the software they audit, including MySQL TLS detection on 8.4 and later, Docker Content Trust after its retirement, and OCSP stapling after Let's Encrypt switched off its responders. Each affected page says so in place, and the known issues page collects every one of them with sources.
Each page carries a "last reviewed" date and is re-checked against the audit script it documents. A build check fails if a page's severity, root requirement or documented result statuses ever disagree with the script, so the pages cannot silently drift out of sync with the tool.
Stop juggling tools. Start managing fleets.
One app. All your servers. No context switching. Free to start, free to leave.
Start instantly · No credit card · Cancel anytime