Three additions in this tranche:
- anacrontab_audit (blue): /etc/anacrontab and /etc/cron.d with a root
prefix. Flags a job command that runs out of /tmp, /var/tmp or
/dev/shm, a curl/wget piped into a shell, and a world-writable file.
NAME=value lines are environment settings and are not counted as jobs.
- motd_audit (blue): /etc/update-motd.d. Flags a world-writable script,
one without a shebang and one that fetches a URL at login time.
- keycloak_probe (red): /realms/master, its OpenID configuration and the
admin console. The realm JSON is public by design, so only
registrationAllowed:true counts as a finding; the body is evidence.
Test evidence: make test 1328/1328 checks, make test-asan 1328/1328,
analyze 0 warnings, 240 fuzz cases without a sanitizer report,
coverage 84.8%, release-check exit 0 including distcheck from the
tarball. Red proof: disabling the fetch detection in motd_audit turned
"motd_audit flags a writable fetch script and a missing shebang" red,
then the change was rolled back.
329 tools, version consistent in 5 places.
Three blue config audits and one red API probe (+4 tools, 322 -> 326):
- pam_env_audit: LD_PRELOAD/LD_LIBRARY_PATH in /etc/environment or
pam_env.conf (code injection into every login), a world-writable PATH
entry, a world-writable file. The pam_env.conf variable name is the
first token before DEFAULT=/OVERRIDE=, not the text before the '='.
- hosts_audit: a dotted name pinned to loopback/private/link-local, the
same name with two different addresses, a world-writable /etc/hosts.
- dnf_repo_audit: gpgcheck=0, repo_gpgcheck=0, sslverify=0, a plain http
baseurl, a world-writable .repo file.
- sonarqube_probe: /api/system/status answers even with anonymous access
off, so only a 2xx on /api/projects/search counts as open; the project
list becomes the evidence.
Evidence: make test 1322/1322, test-asan 1322/1322, analyze 0 warnings,
240 fuzz cases, coverage 84.8%, release-check exit 0 including distcheck
of the 1.72.0 tarball. Red proof: disabling the gpgcheck branch turned
the dnf check red, then the change was reverted.
Three blue config audits: limits_audit (nofile/nproc/memlock unlimited, core
dumps above zero, world-writable files; only a literal "unlimited" counts),
access_conf_audit (+ rule for ALL, a + rule without tty/host restriction and a
trailing "+ : ALL : ALL" default-allow) and pwquality_audit (minlen below 8,
minclass 0, dictcheck=0, enforcing=0, commented defaults stay silent).
One red probe: kafka_connect_probe queries /, /connectors and
/connector-plugins on 8083; a 2xx connector list is an unauthenticated Kafka
Connect worker and is saved as evidence.
Corrected the tranche plan: login_defs_audit and nsswitch_audit already
existed, so the scope moved to the three genuinely missing files.
Tests: 1314 end-to-end checks green, 240 fuzz cases, analyze clean,
coverage 84.8%, distcheck from the tarball passes (313 s).
New blue tools: fstab_audit (/tmp and friends without nosuid/nodev/noexec,
user-mountable mounts, world-writable fstab), modprobe_audit (install hooks
that run a command as root, world-writable config) and grub_audit
(mitigations=off, nosmap, nokaslr, missing init_on_alloc/init_on_free/
slab_nomerge). New red tool: argocd_probe (/api/v1/applications without a
token, saved as evidence).
Tests: 1302 end-to-end checks green, 240 fuzz cases, analyze clean,
coverage 84.7%, distcheck from the tarball passes.
- podman_audit: registries.conf [[registry]] with insecure=true or an
http:// location, short-name-mode=disabled, missing unsigned policy;
policy.json without signedBy; world-writable files.
- buildkitd_audit: [registry] insecure=true, tcp:// without CA, no
rootless worker, world-writable buildkitd.toml.
- supervisor_audit: [inet_http_server] beyond localhost, same without
username/password, [program:*] running as root.
- portainer_probe: /api/status and /api/users/admin/check without
credentials; a 2xx admin check (204 on real Portainer) becomes evidence,
setup-open is reported separately.
- Two TOML bugs found by the new fixtures: a key kept its trailing space
so `insecure ` never matched, and short_name_mode was emitted unquoted.
- 314 tools, 1290 checks, 240 fuzz cases, 84.7% line coverage.
Verified: make release-check (version-check, gate-audit, test 1290/1290,
test-asan 1290/1290, analyze 0 warnings, fuzz 240 + proxy 60 + http 40
cases, distcheck from tarball), make coverage 84.7%.
gitconfig_audit (blue): http.sslVerify=false, a url.*.insteadOf rewrite to
http://, credential.helper=store and a world-writable /etc/gitconfig.
npmrc_audit (blue): strict-ssl=false, a plain-HTTP registry, a cleartext
_authToken and world-writable npmrc files.
pip_conf_audit (blue): a plain-HTTP index-url, a trusted-host override and
world-writable pip.conf files.
harbor_probe (red): GET /api/v2.0/health and /api/v2.0/projects without
credentials; a 2xx project list is an open Harbor API and is saved as
evidence.
Verified: make test 1278/1278, make test-asan 1278/1278, make analyze 0
warnings, make coverage 84.6%, make version-check 1.68.0 in 5 places,
make gate-audit 310 tools, make release-check builds and passes from the
tarball.
Blue:
- passwd_audit: /etc/passwd and /etc/shadow: duplicate UID 0, empty shadow
hashes, system accounts with a login shell and world-writable files.
- authorized_keys_audit: root and home keys: world-writable files or .ssh
directories and command= hooks piping a download into a shell.
- ld_preload_audit: a non-empty preload list, a world-writable file and
world-writable libraries.
Red:
- gitea_api_probe: /api/v1/version and /api/v1/admin/users without
credentials; a 2xx admin list is an open admin API with evidence.
Tests with passwd/shadow, authorized_keys and ld.so.preload trees plus two
Gitea fixtures (open and 403). 1266 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.67.0.
Blue:
- bluetooth_audit: main.conf: AutoEnable, Privacy=off, JustWorksRepairing
always, a missing LE controller mode, world-writable.
- networkmanager_audit: NetworkManager.conf and system-connections: WEP, a
PSK file readable beyond its owner, 802.1X without a CA, world-writable.
- dbus_audit: system policy: allow own=* and send_destination=* wildcards,
world-writable.
Red:
- nexus_probe: /service/rest/v1/status and /service/rest/v1/repositories
without credentials; a 2xx repository list is an open API with evidence.
Tests with Bluetooth/NetworkManager/D-Bus trees and two Nexus fixtures (open
and 401). 1254 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.66.0.
Blue:
- usbguard_audit: allow rules without with-interface, implicit and present
device policy allow, world-writable files.
- certbot_audit: renewal configs: manual authenticator, a renew/pre/post hook
piping a download into a shell, world-writable files.
- wpa_supplicant_audit: key_mgmt=NONE, WEP keys, a PSK file readable beyond
its owner.
Red:
- jenkins_api_probe: /api/json and /whoAmI/api/json without credentials; a 2xx
with jobs is an anonymous read API and is saved as evidence.
Two bugs the fixture caught: a bare 'allow' line (no trailing space) was not
matched, and the policy values were emitted without quotes, producing invalid
JSON.
Tests with USBGuard/certbot/WPA trees and two Jenkins fixtures (open and 403).
1242 checks, ASan suite green, analyze clean, release-check green including
distcheck 1.65.0.
Blue:
- resolved_audit: resolved.conf: public resolvers, DNSSEC off/allow-downgrade,
DNS-over-TLS off, LLMNR and MulticastDNS on, world-writable.
- udev_audit: rules from /etc and /usr/lib: MODE 0666/0777, RUN+= hooks that
pipe a download into a shell, world-writable files.
- issue_audit: /etc/issue and /etc/issue.net: \r/\v escapes, uname -r or a
literal kernel version, world-writable files.
Red:
- smtp_auth_probe: EHLO features; PLAIN/LOGIN offered without STARTTLS means
credentials cross the wire in clear. No login is attempted.
SMTP EHLO lines are parsed in full: reply_feature returns only the first
token, so 'AUTH PLAIN LOGIN' had to be read from the rest of the line.
Tests with resolved/udev/issue trees and two SMTP fixtures (AUTH without
STARTTLS, AUTH with STARTTLS). 1230 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.64.0.
Blue:
- openssl_cnf_audit: openssl.cnf: MinProtocol TLSv1/TLSv1.1, a CipherString
with SECLEVEL=0/1, a missing system_default_sect and a world-writable file.
- curlrc_audit: /etc/curlrc: insecure, a plain-HTTP proxy, world-writable.
- wgetrc_audit: /etc/wgetrc: check_certificate=off, a plain-HTTP proxy,
world-writable.
Red:
- tls_chain_probe: one -showcerts handshake; a one-certificate chain whose
subject differs from its issuer means a missing intermediate. Self-signed
certificates are accepted.
Tests with OpenSSL/curlrc/wgetrc trees and three TLS servers (leaf only,
leaf+CA, self-signed). 1218 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.63.0.
Blue:
- compose_audit: privileged, host network/PID, a mounted Docker socket,
plaintext passwords/tokens and a world-writable file.
- k8s_manifest_audit: privileged, hostNetwork/PID/IPC, runAsUser 0 (numeric,
so 1000 is not flagged), hostPath /, missing securityContext.
- dockerfile_audit: root or missing USER, :latest/untagged base, ADD from a
URL, RUN piping a download into a shell.
Red:
- amqp_probe: sends the 0-9-1 header, reads Connection.Start, reports product,
version and mechanisms. No login; a closed endpoint is a negative result.
Two real defects caught by the gates: runAsUser: 1000 matched a substring '0',
and the analyzer found a short-frame over-read before reading the table length
(payload is also zeroed so the read is provably initialized).
Tests with Compose/manifest/Dockerfile fixtures and an AMQP frame fixture.
1205 checks, ASan suite green, analyze clean, release-check green including
distcheck 1.62.0.
Blue:
- atd_audit: at.allow/at.deny: world-writable lists and an empty at.deny
that opens scheduling to every user. Both files missing is the safe case
(root only) and is not flagged.
- securetty_audit: serial or virtual console entries (ttyS0, ttyS1, console,
hvc0, ttyAMA0) that allow root login, and a world-writable file.
- tmpfiles_audit: tmpfiles.d/*.conf from /etc and /usr/lib: 0777/0666 modes,
z/Z rules on /tmp or /var/tmp, world-writable files.
Red:
- logstash_api_probe: /_node/info and /_node/stats without credentials; a 2xx
is an open monitoring API with the stats answer saved as evidence.
Tests with atd/securetty/tmpfiles trees and two Logstash fixtures (open and
401). 1193 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.61.0.
Blue:
- sshd_config_audit: sshd_config and sshd_config.d/*.conf with OpenSSH's
first-value-wins order (drop-ins read before the main file): root login,
password auth, empty passwords, X11, MaxAuthTries above 3, no
AllowUsers/AllowGroups, world-writable files.
- hosts_access_audit: hosts.allow with ALL: ALL, a missing hosts.deny,
world-writable files.
- profile_audit: /etc/profile, bash.bashrc and profile.d/*.sh: world-writable
scripts, a umask that leaves group/other write, a PATH with . or an empty
entry.
Red:
- kibana_api_probe: /api/status and /api/saved_objects/_find?type=dashboard
without credentials; the saved-objects answer is evidence.
Tests with sshd/hosts.allow/profile trees (including a drop-in overriding the
main sshd_config) and two Kibana fixtures. 1181 checks, ASan suite green,
analyze clean, release-check green including distcheck 1.60.0.
Blue:
- telegraf_audit: telegraf.conf: an HTTP output URL, insecure_skip_verify,
credentials in the file and a world-writable file.
- graylog_audit: server.conf: the REST API on 0.0.0.0, plain HTTP, a
password_secret shorter than 64, an empty root_password_sha2 and a
world-writable file.
- netdata_audit: netdata.conf: bind to IP 0.0.0.0, an allow list of *, a
missing allow list and a world-writable file.
Red:
- clickhouse_probe: /ping and /?query=SELECT version() without credentials; a
2xx with a version is an open HTTP API and is saved as evidence.
Tests with Telegraf/Graylog/Netdata trees and two ClickHouse fixtures (open
and 403 with a public ping). 1168 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.59.0.
Blue:
- logstash_audit: logstash.yml: api.http.host 0.0.0.0, xpack monitoring
disabled, missing path.data and a world-writable file.
- filebeat_audit: filebeat.yml: an HTTP Elasticsearch output,
ssl.verification_mode none (both key forms), credentials in the file, no
output and a world-writable file.
- fluentd_audit: fluent.conf/td-agent.conf: a forward source without
shared_key, an HTTP output without TLS and a world-writable file.
Red:
- influxdb_probe: /ping and /query?q=SHOW+DATABASES without credentials; a 2xx
query is an open database API and is saved as evidence.
Tests with Logstash/Filebeat/Fluentd trees and two InfluxDB fixtures (open and
401 with a public ping). 1156 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.58.0.
Blue:
- kibana_audit: kibana.yml: server.host 0.0.0.0, xpack.security disabled,
Elasticsearch credentials in the file, no TLS, world-writable.
- nagios_audit: nagios.cfg and the cgi.cfg beside it: external commands,
use_ssl_authentication=0, wildcard CGI authorization, a default user.
- synapse_audit: homeserver.yaml: open registration without a token, no TLS
listener, no trusted key servers.
Red:
- nats_monitoring_probe: /varz and /connz without credentials; a 2xx with a
version is an open monitoring endpoint with evidence saved.
Tests with Kibana/Nagios/Synapse trees and two NATS monitoring fixtures (open
and 401). 1144 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.57.0.
Blue:
- webmin_audit: miniserv.conf: ssl=0, an allow list covering every address
(token-wise, so 10.0.0.0/8 is not mistaken for 0.0.0.0), an empty or default
password and a world-writable file.
- cockpit_audit: cockpit.conf: AllowUnencrypted=true, a missing Origins
allow-list and a world-writable file.
- phpmyadmin_audit: config.inc.php: a short or empty blowfish secret,
AllowNoPassword, auth_type=config and a world-writable file.
Red:
- minio_admin_probe: /minio/health/live and /minio/admin/v3/info without a
signature; a 2xx admin answer is unsigned admin access with evidence.
The allow-list check found a real substring bug during the run: 10.0.0.0/8
contains '0.0.0.0', so the list is now split into tokens first.
Tests with Webmin/Cockpit/phpMyAdmin trees and two MinIO fixtures (unsigned
admin and 403). 1132 checks, ASan suite green, analyze clean, release-check
green including distcheck 1.56.0.
Blue:
- gitlab_audit: gitlab.rb: an HTTP external_url, no redirect_http_to_https,
open signup, disabled Let's Encrypt. Commented defaults are ignored.
- vaultwarden_audit: SIGNUPS_ALLOWED=true, a default ADMIN_TOKEN, an HTTP
DOMAIN, missing SMTP.
- keepalived_audit: auth_type PASS, a default auth_pass, a notify hook piping
a download into a shell.
Red:
- grafana_api_probe: /api/health, /api/datasources and /api/admin/users
without credentials; datasources or admin users 2xx is anonymous access,
with the datasource list saved as evidence.
The tool table hit its 256-slot cap at 258 tools; g_tools is now 384.
A double-escaped '\n' in line_value's continuation tokenizer made the whole
file one token; only the first line parsed until both calls used a real
newline escape.
Tests with GitLab/Vaultwarden/keepalived trees and two Grafana fixtures (open
and 401). 1120 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.55.0.
Blue:
- zabbix_audit: zabbix_agentd.conf: Server=0.0.0.0/0, remote commands and
their logging, TLSConnect unencrypted, shell metacharacters in a
UserParameter.
- nrpe_audit: nrpe.cfg: allowed_hosts covering every address,
dont_blame_nrpe=1 and check commands with shell metacharacters.
- unattended_upgrades_audit: 50unattended-upgrades: security-only origins,
automatic reboot disabled or unset, no mail recipient.
Red:
- rabbitmq_management_probe: /api/overview and /api/queues without
credentials; a 2xx overview with rabbitmq_version is an open management API
and is saved as evidence.
Tests with Zabbix/NRPE/unattended-upgrades trees and two RabbitMQ fixtures
(open and 401). 1108 checks, ASan suite green, analyze clean, release-check
green including distcheck 1.54.0.
Blue:
- gitea_audit: app.ini from three homes: PROTOCOL=http, INSTALL_LOCK=false,
an empty or default SECRET_KEY, REQUIRE_SIGNIN_VIEW=false.
- minio_audit: /etc/default/minio: default or missing root credentials,
MINIO_BROWSER=on and a plain-HTTP MINIO_SERVER_URL.
- nextcloud_audit: config.php: debug=true, a wildcard trusted domain,
missing/HTTP overwriteprotocol and a world-writable data directory.
Red:
- prometheus_api_probe: /-/ready and /api/v1/query?query=up without
credentials; a 2xx query is an open API and is saved as evidence.
Tests with Gitea/MinIO/Nextcloud trees and two Prometheus fixtures (open and
401). 1096 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.53.0.
Blue:
- caddy_audit: Caddyfile: a site on :80 or http://, auto_https off, tls
internal and an admin API beyond localhost.
- traefik_audit: traefik.yml/yaml/toml: api insecure, an HTTP entry point
without a redirect and no TLS section.
- autofs_audit: auto.master and auto.master.d plus the maps they reference:
wildcard map keys, world-writable maps and --timeout=0.
Red:
- couchdb_probe: / and /_all_dbs without credentials; the database list is
the decisive answer and is saved as evidence. The root welcome is reported
but is public on protected servers too.
Tests with Caddy/Traefik/autofs trees and two CouchDB fixtures (open and 401
with a public welcome). 1084 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.52.0.
Blue:
- freeradius_audit: clients.conf, radiusd.conf and users: a well-known
shared secret, require_message_authenticator=no (BlastRADIUS),
Auth-Type := Accept and world-writable files.
- containerd_audit: config.toml: a TCP gRPC address without cert_file,
sandbox_image without a digest, no_pivot_root=true and world-writable.
- nats_audit: nats-server.conf: no authorization block, no TLS, an http
monitoring listener on every address, debug logging and world-writable.
Red:
- consul_api_probe: /v1/agent/self and /v1/catalog/services without an ACL
token; a 2xx JSON answer is unauthenticated access with evidence saved.
Two parser bugs the suite caught: the '=' truncation in the RADIUS scanner hid
'Accept' in 'Auth-Type := Accept', and the NATS http check read the key's own
colon as an empty bind host, flagging 127.0.0.1 as every address.
Tests with FreeRADIUS/containerd/NATS trees and two Consul fixtures (open and
403). 1072 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.51.0.
Blue:
- kafka_audit: server.properties: a PLAINTEXT listener on 0.0.0.0, a
missing authorizer.class.name, auto.create.topics.enable and a
world-writable file.
- powerdns_audit: pdns.conf/recursor.conf: allow-from 0.0.0.0/0,
webserver=yes, an API key stored in the file, security-polling=no.
- varnish_audit: default.vcl and the daemon defaults: an acl purge covering
0.0.0.0/0, a management interface on 0.0.0.0, world-writable files.
Red:
- docker_registry_probe: /v2/ and /v2/_catalog without credentials; a catalog
listing is an open registry and is saved as evidence.
The VCL acl block spans lines, so the purge check looks for the ACL and the
0.0.0.0/0 entry anywhere in the file instead of on one line.
Tests with Kafka/PowerDNS/Varnish trees and two registry HTTP fixtures (open
and 401). 1060 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.50.0.
Blue:
- iscsi_audit: iscsid.conf: node.startup=automatic, a session or discovery
auth method of None (or missing) and a world-writable file.
- rpcbind_audit: /etc/default/rpcbind and /etc/sysconfig/rpcbind: -w warm
start, -i insecure, a missing -l bind address and a world-writable file.
- kdump_audit: kdump.conf and /etc/default/kdump-tools: a remote dump target,
core_collector without -c, a shell or dump_to_rootfs action and a
world-writable file.
Red:
- etcd_api_probe: GET /version, /health and /v2/keys/?recursive=true without a
token; a 2xx answer is unauthenticated access, audited, with the first two
answers saved as evidence.
Tests with iSCSI/rpcbind/kdump trees and two etcd HTTP fixtures (open and
401). 1048 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.49.0.
Blue:
- avahi_audit: avahi-daemon.conf: publish-workstation, publish-addresses,
a missing or wildcard allow-interfaces and a world-writable file.
- logind_audit: logind.conf: IdleAction=ignore, HandleLidSwitch=ignore,
IdleActionSec=0, KillUserProcesses=no and a world-writable file.
- tftpd_hpa_audit: the Debian defaults: --create, a missing --secure, a TFTP
directory of /, a world-writable directory and file.
Red:
- zookeeper_4lw_probe: sends the four-byte commands stat and mntr; any answer
without authentication leaks version and connection state. Reads once per
command with a short timeout instead of waiting for EOF.
Tests with avahi/logind/tftpd trees and two ZooKeeper servers (commands
answered and refused). 1035 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.48.0.
Blue:
- pgbouncer_audit: pgbouncer.ini: auth_type trust/plain, listen_addr on
every interface (token-wise, so ::1 is not a wildcard), an auth_file
readable beyond its owner and a world-writable config.
- xinetd_audit: xinetd.conf and xinetd.d files: enabled legacy services,
a service without only_from, a service running as root and world-writable
files. Missing 'disable' means enabled in xinetd.
- sssd_audit: sssd.conf: enumerate, cache_credentials,
ldap_id_use_start_tls=false, ldap_tls_reqcert never/allow and a
world-writable file.
Red:
- ftp_tls_probe: read the banner and send AUTH TLS; 234 means explicit
FTPS, 500/502/530 means credentials would cross in clear text.
Tests with pgbouncer/xinetd/sssd trees and two FTP servers (AUTH TLS
accepted and refused). 1023 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.47.0.
Blue:
- dnsmasq_audit: dnsmasq.conf and dnsmasq.d/*.conf: wildcard or missing
interface restriction, no bind-interfaces, missing bogus-priv or
domain-needed and world-writable files.
- nsswitch_audit: nsswitch.conf: compat/NIS in passwd/group/shadow, direct
LDAP without sssd, hosts lookups that skip files, world-writable.
- jenkins_audit: config.xml from three usual homes: security disabled, an
unsecured authorization strategy, missing CSRF protection, a fixed agent
port and a world-writable file.
Red:
- tls_hostname_check: one handshake with the name as SNI; matches SAN DNS
names (one-label wildcard), IP SANs and falls back to CN only when no DNS
SAN exists.
extract_first_pem returns 0 on success, not a length; the first version
tested > 0 and always reported 'no certificate presented'. tools_proto.c
also needed <arpa/inet.h> for inet_pton.
Tests with dnsmasq/nsswitch/Jenkins trees and a certificate carrying
other.test, *.wild.test and IP:127.0.0.1. 1011 checks, ASan suite green,
analyze clean, release-check green including distcheck 1.46.0.
Blue:
- journald_audit: journald.conf: Storage=volatile/none, ForwardToSyslog=no,
SystemMaxUse above 1G, Seal=no and a world-writable file.
- coredump_audit: coredump.conf: explicit or default Storage=external (cores
persist on disk), Compress=no and a world-writable file. ProcessSizeMax=0
is not flagged: it means unlimited processing, not disabled storage.
- nftables_audit: nftables.conf and nftables.d/*.nft: policy accept, no
established/related rule, admin ports (22/3306/5432/6379/27017/9200) opened
without a saddr check and world-writable files.
Red:
- hsts_audit: one TLS GET: missing Strict-Transport-Security, max-age zero or
below six months, missing includeSubDomains and preload.
Tests with journald/coredump/nftables trees and a TLS server serving weak,
strong and absent HSTS headers. 996 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.45.0.
Blue:
- ssl_cert_audit: every certificate under /etc/ssl/certs (root prefix)
through openssl x509: expired or not yet valid, SHA-1 signature, RSA below
2048 or EC below 256 bits, a non-critical CA:TRUE and world-writable
files. Bundles and unparsable files count as skipped.
- timesyncd_audit: timesyncd.conf: no NTP or fallback server, a public
fallback pool, RootDistanceMaxSec above five and poll intervals outside
16..2048 seconds.
- resolv_conf_audit: resolv.conf: no nameserver, a single nameserver, a
well-known public resolver, a missing search domain, world-writable.
Red:
- dns_soa_mname_check: the SOA primary must be one of the zone's NS records.
OpenSSL prints dates as 'Nov 22 08:00:00 2026 GMT' and strptime is not
exposed by the project's feature macros; cert_parse_time parses the fields and
uses timegm instead.
Tests with five generated certificates (expired, SHA-1, RSA-1024,
non-critical CA, good), timesyncd/resolv.conf trees and a DNS agent with
delegated and stray SOA primaries. 983 checks, ASan suite green, analyze
clean, release-check green including distcheck 1.44.0.
Blue:
- pg_hba_audit: every /etc/postgresql/<version>/main pg_hba.conf plus the
flat paths: a trust method, a rule matching 0.0.0.0/0 or ::/0 and a
world-writable file.
- polkit_audit: rules.d/*.rules and localauthority/50-local.d/*.pkla:
polkit.Result.YES, ResultAny=yes/ResultInactive=yes and world-writable
files.
- ldap_client_audit: ldap.conf from Debian and OpenLDAP: a plaintext ldap://
URI, TLS_REQCERT never/allow and a world-writable file.
Red:
- dns_fcrdns_check: PTR via dig -x, then A/AAAA of the PTR name; a missing
PTR or a forward answer that never returns the address fails FCrDNS.
Addresses are compared binary, so compressed IPv6 forms match.
Tests with pg_hba/polkit/ldap.conf trees and a DNS agent answering matching,
mismatching and absent PTR records. 970 checks, ASan suite green, analyze
clean, release-check green including distcheck 1.43.0.
Blue:
- chrony_config_audit: both chrony.conf paths: allow 0.0.0.0/0, ::/0 or all,
a cmdallow/bindcmdaddress beyond localhost, and a world-writable file.
- apt_config_audit: apt.conf.d, sources.list and sources.list.d:
AllowUnauthenticated, AllowInsecureRepositories, trusted=yes, plain-HTTP
repositories and world-writable files.
- login_defs_audit: PASS_MAX_DAYS above 365, PASS_MIN_DAYS/PASS_WARN_AGE of 0,
a loose UMASK, DES/MD5 hashing and a world-writable file.
Red:
- websocket_origin_check: opens the upgrade twice with two unrelated Origin
headers; both 101 means Origin is not enforced (CSWSH risk).
The UMASK test caught an inverted rule during the run: a umask masks bits,
so 022 denies writes and only leaks read; 002 leaves the group writable. The
code now treats allowed = ~umask.
Tests with chrony/APT/login.defs trees and two WebSocket servers (any origin,
allowlist). 956 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.42.0.
Blue:
- cron_audit: /etc/crontab, /etc/cron.d and the user crontabs (root
prefix): a world-writable file or directory and job lines that pipe a
curl/wget download into a shell.
- fail2ban_audit: jail.local and jail.conf: a disabled sshd jail, ignoreip
covering every address, maxretry 0, bantime 0 and no banaction anywhere.
- samba_audit extended: null passwords, map to guest = bad user, an SMB1
minimum protocol and a world-writable config. No second Samba tool: the
existing audit already parsed smb.conf and its shares.
Red:
- http_redirect_audit: follows up to five hops, re-checks the scope of every
hop, and reports the chain, a cross-host hop and any HTTPS-to-HTTP
downgrade. cors_check already covered reflected-origin CORS, so no
duplicate http_cors_check was added.
Tests with Samba, cron and fail2ban trees and three HTTP servers (plain
chain, TLS downgrade with a CA-flagged cert via CURL_CA_BUNDLE, out-of-scope
hop). 944 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.41.0.
Blue:
- wireguard_config_audit: every /etc/wireguard/*.conf: a private key file
readable beyond its owner, AllowedIPs of 0.0.0.0/0 or ::/0, a missing
ListenPort and PostUp hooks that pipe a curl/wget download into a shell.
- ipsec_config_audit: ipsec.conf and ipsec.secrets: a subnet of 0.0.0.0/0,
authby=secret, a missing leftid and secret files readable beyond their
owner.
- openldap_config_audit: slapd.conf (Debian, OpenLDAP and /usr/local paths):
a cleartext rootpw, allow bind_anon and an access to * rule that grants
read to everyone.
Red:
- dns_dangling_cname: follows a CNAME chain of up to eight hops, resolves the
final target over A and AAAA, and reports a chain that ends in NXDOMAIN:
the target is free to register and can be taken over.
Tests with vulnerable and hardened WireGuard/IPsec/slapd trees and a DNS
agent that answers CNAME chains and NXDOMAIN. 932 checks, ASan suite green,
analyze clean, release-check green including distcheck 1.40.0.
Red:
- kubernetes_api_probe: GET /version, /api, /apis and /healthz without a
token; a 2xx answer is unauthenticated access, audited, with the first two
responses saved as evidence.
- dns_ns_consistency: compares the parent NS set with the set served by the
domain's own first nameserver (resolved to an address) and reports names
missing on either side.
Blue:
- grafana_audit: grafana.ini with section-aware INI parsing: anonymous access,
default/empty admin password, plain HTTP and the default secret key.
- prometheus_audit: prometheus.yml/web.yml: missing basic_auth_users, missing
external_labels, plain-HTTP scrape targets and world-writable files.
The tool table hit its 192-slot cap at 195 tools; g_tools is now 256.
Tests with a Kubernetes HTTP fixture (open and 401), Grafana/Prometheus trees
and two DNS agents on different loopback addresses (consistent and stale
delegation). 918 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.39.0.
Blue:
- consul_config_audit: consul.hcl and consul.d/*.hcl (root prefix): ACL
default policy allow, bind_addr on every interface, incoming/outgoing
verification off, missing gossip encryption, enabled UI and world-writable
files.
- vault_config_audit: vault.hcl: tls_disable 1/true, UI enabled, disable_mlock
and a Shamir seal without auto-unseal.
- zookeeper_audit: zoo.cfg: an open 4lw whitelist (stat/mntr/envi),
clientPortAddress on every interface and a missing authProvider.
Red:
- tls_client_auth_probe: one openssl s_client -msg handshake; a
CertificateRequest means the server requires a client certificate. Reports
protocol and cipher and presents no certificate.
Tests with vulnerable and hardened Consul/Vault/ZooKeeper trees plus a
client-cert-required TLS server and a plain one. 905 checks, ASan suite green,
analyze clean, release-check green including distcheck 1.38.0.
Note: two unrelated nmap timeout checks failed once under system load and
passed on the immediate rerun (905/905), so they are recorded as environmental.
Blue:
- kubelet_config_audit: /var/lib/kubelet/config.yaml (root prefix): anonymous
authentication enabled, authorization mode AlwaysAllow, readOnlyPort above
zero and a world-writable config.
- etcd_config_audit: etcd.conf.yml/etcd.conf//etc/default/etcd: client URLs on
0.0.0.0 or plain HTTP, client and peer cert auth off, auto-tls and
world-writable files. Reads both YAML and KEY=value forms.
- rabbitmq_audit: rabbitmq.conf and advanced.config: guest loopback
restriction removed, default guest/guest credentials, management without a
TLS port and world-writable files.
Red:
- sni_vhost_check: one s_client -servername handshake per in-scope name,
comparing certificate subject, SAN and SHA-256 fingerprint; different
certificates on one address mean SNI virtual hosts.
Tests with vulnerable and hardened kubelet/etcd/RabbitMQ trees and a TLS
server selecting certificates per SNI. 893 checks, ASan suite green, analyze
clean (an analyzer NULL-dereference report in etcd_value was fixed), release
check green including distcheck 1.37.0.
Blue:
- bind9_config_audit: named.conf plus .options/.local (root prefix):
allow-query any, recursion yes without allow-recursion, allow-transfer any,
a visible version and world-writable files.
- tomcat_audit: server.xml and tomcat-users.xml under /etc/tomcat*: an
enabled shutdown port, a Connector on 0.0.0.0, manager/admin roles, a
plaintext manager password and world-writable files.
- proftpd_audit: proftpd.conf: AllowAll, an Anonymous block without
AnonReadOnly, RootLogin on, TLS not required and world-writable files.
Red:
- dns_caa_check: gated dig CAA; flags, tag and value per record, and whether
issue/issuewild/iodef are present.
Tests with vulnerable and hardened BIND/Tomcat/ProFTPD trees and a DNS agent
serving CAA records. 880 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.36.0.
Blue:
- mongodb_config_audit: mongod.conf: net.bindIp on every interface (absent
counts as default), security.authorization disabled or missing, net.tls
mode disabled and a world-writable config.
- memcached_config_audit: memcached.conf: -l on every interface (absent
counts), UDP left enabled when -U 0 is missing, a memory limit of 8 GiB or
more and a world-writable config.
- ntpd_config_audit: ntp.conf: missing or weak restrict default (no
kod/limited), missing disable monitor (monlist), drift file in /tmp or
/dev/shm and a world-writable config.
Red:
- dns_wildcard_check: one gated dig for a random label under an in-scope
domain; an answer means wildcard DNS.
Tests with vulnerable and hardened mongod/memcached/ntp trees and a DNS agent
with and without a wildcard. 867 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.35.0.
Blue:
- rsync_audit: rsyncd.conf (root prefix): missing or wildcard hosts allow,
uid/gid 0, use chroot = no, a world-readable secrets file and a
world-writable config.
- dhcpd_audit: dhcpd.conf: authoritative, ddns-update-style none/ad-hoc,
missing domain-name-servers, a range outside its subnet and a
world-writable config.
- krb5_conf_audit: krb5.conf: missing default_realm, dns_lookup_kdc false,
rdns true, des/arcfour/rc4 enctypes and a world-writable config.
Red:
- webdav_probe: OPTIONS plus a Depth: 0 PROPFIND; 207 Multistatus means
WebDAV is enabled, the Allow list shows DAV methods, evidence on a hit.
Tests with vulnerable and hardened rsync/dhcpd/krb5 trees and a WebDAV HTTP
fixture. 855 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.34.0.
Blue:
- squid_audit: squid.conf (root prefix): http_access allow all, an http_port
on every interface, a cache_dir in /tmp or /dev/shm and a world-writable
config.
- unbound_audit: unbound.conf and unbound.conf.d: interface on every address,
access-control 0.0.0.0/0 or ::/0 allow, a missing DNSSEC trust anchor and
world-writable files.
- cups_audit: cupsd.conf: Listen on every interface, Browsing On, a Location
block with Allow All and a world-writable config.
Red:
- alpn_probe: one openssl s_client -alpn handshake per protocol (h2,
http/1.1, spdy/3.1 by default) and which one the server selects.
Tests with vulnerable and hardened Squid/Unbound/CUPS trees and an ALPN server
offering h2 and http/1.1. 842 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.33.0.
Blue:
- postgresql_config_audit: /etc/postgresql/<ver>/<cluster> (root prefix)
postgresql.conf and pg_hba.conf: listen_addresses on every interface,
ssl = off, trust and md5/password entries, world-writable files.
- exim_audit: exim4.conf/exim.conf and conf.d: relay_from_hosts covering every
host, an accept rule for any host, an empty or missing tls_advertise_hosts
and world-writable files.
- elasticsearch_config_audit: elasticsearch.yml: network.host on every
interface, xpack.security.enabled false, single-node discovery and a
world-writable config.
Red:
- tls_ocsp_probe: one openssl s_client -status handshake; reports stapled or
not, the OCSP response status and the certificate status (good/revoked/
unknown), plus protocol and cipher.
conf_value now also strips single quotes (PostgreSQL writes listen_addresses
as '*'), and the 36-tool table is unchanged at 192 slots.
Tests with vulnerable and hardened PostgreSQL, Exim and Elasticsearch trees
plus a TLS server without stapling. 830 checks, ASan suite green, analyze
clean, release-check green including distcheck 1.32.0.
Blue:
- php_config_audit: /etc/php.ini or /etc/php/*/*/php.ini (root prefix):
expose_php, display_errors, allow_url_include/fopen, empty
disable_functions, session.cookie_secure Off and world-writable files.
- dovecot_audit: dovecot.conf and conf.d: ssl = no,
disable_plaintext_auth = no, PLAIN in auth_mechanisms and world-writable
drop-ins.
- openvpn_audit: server.conf and server/*.conf: missing tls-auth/tls-crypt,
BF-CBC/DES/none cipher, SHA1/MD5 HMAC, duplicate-cn and world-writable
files.
Red:
- smtp_starttls_probe: EHLO, STARTTLS, 220 and a real upgrade verified with
openssl s_client -starttls smtp; reports the negotiated TLS version and
cipher. No authentication and no mail.
Tests with vulnerable and hardened PHP/Dovecot/OpenVPN trees and a Python SMTP
server that upgrades to TLS plus one that does not. 817 checks, ASan suite
green, analyze clean, release-check green including distcheck 1.31.0.
Blue:
- mysql_config_audit: my.cnf and my.cnf.d/conf.d (root prefix): bind-address
on every interface, skip-grant-tables, local-infile, an empty
secure-file-priv and world-writable files. conf_value now also matches
valueless directives.
- apache_audit: apache2.conf/httpd.conf, sites-enabled and conf-enabled:
ServerTokens Full/OS/Minor, Options Indexes, AllowOverride All,
SSLv3/TLSv1 (including +TLSv1), ServerSignature On and world-writable files.
- haproxy_audit: stats socket without mode 600, stats page without stats auth,
bind on 443 without ssl and a world-writable config.
Red:
- dnssec_check: dig +dnssec DNSKEY/DS, signed and DS presence, algorithm and
decoded key size; flags unsigned domains, RSASHA1 and RSA keys under 2048
bits. dig wraps long DNSKEY base64 with spaces, so the parser joins them.
Tests with vulnerable and hardened daemon trees plus a DNS agent serving a
2048-bit RSA key, a 1024-bit RSASHA1 key and an unsigned zone. 802 checks,
ASan suite green, analyze clean, release-check green including distcheck
1.30.0.
Blue:
- postfix_audit: main.cf (root prefix) mynetworks covering 0.0.0.0/0 or ::/0,
relay restrictions without reject_unauth_destination (relay list, recipient
list or neither), an optional TLS level (unset/none/may) and world-writable
configuration.
- nginx_audit: nginx.conf, conf.d/*.conf and sites-enabled/*.conf:
server_tokens not off, autoindex on, TLSv1/TLSv1.1 in ssl_protocols, legacy
ciphers (RC4/3DES/NULL/EXPORT/MD5) and world-writable files.
- redis_config_audit: redis.conf: missing requirepass, protected-mode no, bind
on 0.0.0.0/*/::, enabled debug command, data dir in /tmp or /dev/shm and
world-writable config. The password value is never echoed.
One shared conf_value reader accepts 'key value' and 'key = value', skips
comments and strips semicolons and quotes; conf_has_word gives token-exact
matching so ::1 is not mistaken for all interfaces.
Tests with vulnerable and hardened trees for all three daemons. 786 checks,
ASan suite green, analyze clean, release-check green including distcheck
1.29.0.
Red:
- winrm_probe: one unauthenticated GET to /wsman (5985; TLS on 5986);
401/405 with a Negotiate/NTLM/Kerberos challenge identifies WinRM, the
response is saved as evidence.
Blue:
- snmpd_audit: snmpd.conf (root prefix) rocommunity/rwcommunity/community/
com2sec; lists communities with mode and flags rw, public/private/default and
com2sec rules accepting any source.
- rsyslog_audit: rsyslog.conf and rsyslog.d (root prefix): remote targets
(@@ TCP, @ UDP), world-writable configs and a dedicated auth rule; flags
missing auth logging and missing remote forwarding.
Tests: WinRM 401 fixture, plain HTTP server, snmpd.conf and full/sparse rsyslog
trees. 776 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.28.0.
Fixture note: the community mode buffer was 8 bytes and truncated com2sec to
com2se; it is 16 now.
Red:
- kerberos_discovery: gated dig SRV queries for _kerberos._tcp,
_kerberos._udp and _kpasswd._tcp; reports priority, weight, port and target
for each KDC (trailing dot trimmed).
Blue:
- nfs_exports_audit: /etc/exports and /etc/exports.d (root prefix): export
count, world exports (*), writable exports without ro and no_root_squash,
with file and line.
- samba_audit: smb.conf (root prefix): shares exposing /, guest access,
writable shares and guest shares without valid users.
Tests: DNS SRV agent, exports tree and smb.conf. 765 checks, ASan suite green,
analyze clean, release-check green including distcheck 1.27.0.
Red:
- http2_probe: over TLS, openssl s_client -alpn h2 and the negotiated ALPN
protocol; over cleartext, the HTTP/2 client preface plus SETTINGS frame,
reporting the first frame type.
- ssh_hostkey_fingerprint: ssh-keyscan (rsa, ecdsa, ed25519) or a saved scan
output; decodes each base64 blob and reports key type, bits and the SHA256
fingerprint (base64, unpadded).
Blue:
- logrotate_audit: /etc/logrotate.conf and logrotate.d (root prefix):
world-writable configs, rotate <= 2, missing compress and postrotate commands
from /tmp or downloading code.
Tests: ALPN h2 TLS server, h2c SETTINGS server, constructed SSH blobs with
independently computed fingerprints and a logrotate tree. 756 checks, ASan
suite green, analyze clean, release-check green including distcheck 1.26.0.
Red:
- oidc_discovery: fetches /.well-known/openid-configuration and the OAuth
authorization-server metadata; reports issuer, authorization, token, JWKS
and userinfo endpoints with the document as evidence.
- security_txt: fetches /.well-known/security.txt and /security.txt; reports
Contact entries, Expires and Policy and flags an Expires date in the past.
Blue:
- ssh_known_hosts_audit: /etc/ssh/ssh_known_hosts(2), root and user
known_hosts (root prefix): entry count, hashed vs plain hosts, ssh-rsa/
ssh-dss key types and duplicate host keys.
Tests: OIDC metadata, fresh vs expired security.txt, known_hosts tree with
hashed/plain/weak/duplicate entries. 747 checks, ASan suite green, analyze
clean, release-check green including distcheck 1.25.0.
Red:
- ntp_monlist_probe: 8-byte mode-7 MON_GETLIST; a mode-7 reply larger than
the request means monlist is enabled, with entry estimate ((len-8)/72) and
the amplification factor. One request.
- dns_version_bind: gated dig for CHAOS TXT version.bind and hostname.bind;
any answer is a version/hostname disclosure.
Blue:
- usb_audit: /sys/bus/usb/devices (root prefix): vendor/product IDs,
manufacturer, product, serial and bInterfaceClass 08 (mass storage);
storage devices are flagged, nothing is opened or mounted.
Tests: mode-7 agent (active and silent), CHAOS TXT agent and USB sysfs tree.
737 checks, ASan suite green, analyze clean, release-check green including
distcheck 1.24.0.