Files
apex-twin/CHANGELOG.md
lotherk 59b71ab3a1 apex-twin 1.100.0: auth_test over six protocols, SIGPIPE fix
Authentication testing in src/tools_auth.c (new file, 16th table): auth_test
speaks http Basic, ftp, smtp AUTH LOGIN, imap, pop3 and mysql
(mysql_native_password) against one in-scope service. The operator supplies
the wordlists (inline or file) and every limit - delay_ms, max_attempts,
stop_on_hit, lockout_limit, timeout_ms; the program adds none of its own.
auth_plan counts a run without connecting, auth_protocols lists the
protocols, auth_hits returns the credential findings with evidence paths.
A hit is the protocol's own accept answer; each accepted pair becomes a
critical finding with the pair and the answer in evidence, while the audit
log keeps the account and service and never the password.

Two real bugs found by the tests they came with:

- An HTTP answer below 400 counted as a hit, so a 404 or a 500 would have
  been reported as valid credentials. Only 2xx/3xx prove authentication
  now; two checks pin it and fail against the old logic.
- SIGPIPE killed the whole server when a target hung up mid-write: one
  dead target, one dead MCP server. Ignored once at startup, so the write
  returns EPIPE and the tool reports a failed connection. Five checks, one
  per protocol.

SHA1 for the MySQL scramble is written out in the file and checked against
the published vectors for "", "abc", "password" and a 1000-byte multi-block
input. The MySQL seed is read by counting handshake fields; a fixed offset
picked up the capability flags and made every login fail against a healthy
server, which the suite proves by neutralising the offset.

427 tools, 1637 end-to-end checks, 84.7% line coverage.
release-check exit 0, distcheck 1.100.0 passes 1637/1637 from the tarball.
2026-11-24 06:45:02 +00:00

120 KiB
Raw Permalink Blame History

1.100.0 - 2026-11-24 - this change

  • Authentication testing (auth_test): real login attempts against one in-scope service over http (Basic), ftp, smtp (AUTH LOGIN), imap, pop3 and mysql (mysql_native_password). Wordlists inline or from a file, and the operator sets delay_ms, max_attempts, stop_on_hit, lockout_limit and timeout_ms; the program adds no limit of its own. A hit is the protocol's accept answer (235, +OK, 230, a1 OK, a MySQL OK packet, an HTTP 2xx/3xx), never an inference; a 404 or a 500 is a miss, and a dead connection is an error, not a refused password. Each accepted pair is a critical finding whose evidence file holds the pair and the answer, while the audit log keeps the account and the service and never the password.
  • auth_plan counts a run (users, passwords, pairs, delay total, first users) without connecting. auth_protocols lists the protocols and default ports. auth_hits returns the credential findings with their evidence paths.
  • SHA1 in src/tools_auth.c, needed for the MySQL native-password scramble. Checked against the published vectors for "", "abc", "password" and a 1000-byte multi-block input.
  • The MySQL seed is read by counting the handshake fields explicitly. Reading it from a fixed offset picked up the capability flags and made every login fail against a healthy server; the test suite now proves that specific regression by neutralising the offset.
  • SECURITY.md no longer describes cred_test's old 20-attempt, 200 ms limit as if it bounded authentication testing. auth_test takes its limits from the operator, and the document now says so instead of implying a program-side ceiling that does not exist.
  • SIGPIPE is ignored at startup. A target that closes the connection mid-write used to end the whole server with signal 13 - one dead target, one dead MCP server. Now the write returns EPIPE and the tool reports a failed connection. Five checks pin it, one per protocol.
  • An HTTP answer below 400 was accepted as a hit in the first cut of auth_test, so a 404 or a 500 would have been reported as valid credentials. Only 2xx/3xx prove authentication now, and two checks pin it.
  • Four tools in src/tools_auth.c (new file, 16th table): 427 tools, 1637 end-to-end checks.

Changelog

1.99.0 - 2026-11-24 - this change

  • hydra, medusa and msfvenom get gated wrappers (hydra_scan, medusa_scan, msfvenom_build). hydra and medusa name a target and go through gated_run() like every other wrapper; msfvenom has no target, so it runs locally and writes an audit line before the action. Flag sets were read from the tools' own sources, not remembered: hydra.1 in the thc repo, the Debian medusa(1) page and the msfvenom option list.
  • A hit is the tool's verdict, not ours. medusa documents exit 1/2 as FOUND_PAIR_EXIT_HOST/_AUDIT, hydra returns 0 either way and prints the hit. So the wrapper parses each tool's own output (valid password found, [SUCCESS]), records the raw output as evidence and writes a finding with it. A run that finds nothing writes no finding.
  • Three flags are refused because they would hide a target from the gate: hydra -M, medusa -H/-C and the host-file options read their targets out of a file the gate never parsed, so the gate would check one host while the tool walks another. They stay out until the file is parsed and each entry checked.
  • msfvenom's mode switches are refused (-l/--list, --list-options, -h/--help, --refresh-cache). They print and exit without rendering anything, and the tool would have reported a payload it never built. Found by a test, not by review: extra: ["--list"] was accepted.
  • Relative output paths are refused; the operator's absolute path is passed through unchanged.
  • Checks: 1600 (was 1576). Tools: 423 (was 420).

1.98.0 - 2026-11-24 - this change

  • Three more modules in the exploit registry: weblogic_console (CVE-2020-14882, the double-encoded ../ that reaches consolejndi.portal without authentication; run posts the operator's console handle), couchdb_admin (admin party, _config readable and writable without credentials) and actuator_env (Spring Boot management port serving /actuator/env, run posts the operator's property). Eleven modules now.
  • A write is only confirmed when it is read back. couchdb_admin and actuator_env accepted any 200 on the write as proof; a target that answers 200 and stores nothing was reported as confirmed. Both now re-read the section or the property and set read_back in the detail. A fixture that accepts every write and keeps none proves it: the same call is now confirmed: false.
  • Missing required arguments are caller errors, not findings. run without section/name/param/script/handle used to return JSON with an error member and isError unset, which read like a statement about the target. The context carries a usage flag and the reply is now mcp_reply_error, the same shape as every other tool's argument error.
  • json encoder for payload_build: the actuator module needs it and an operator building a JSON body needs the same.
  • url2 now really double-encodes (it was a single pass under a name that promised two).
  • Checks: 1576 (was 1564). Red proof: dropping the x_find comparisons of the read-back turns exactly the two new checks red and leaves 1553 green; restored afterwards.

1.97.0 - 2026-11-24 - this change

  • Exploit framework core (exploit_modules, exploit_info): a module registry in src/tools_exploit.c. Every entry carries an id, title, CVE where it has one, platform, kind, severity, CWE, default port, summary, the run parameters and a remediation line. exploit_modules lists them with the count it computed itself.
  • check / run (exploit_check, exploit_run): one module, one target, one mode. check proves the vulnerability with a marker this process generates, run carries what the operator supplies. A confirmed hit saves evidence, writes a finding with CVE/CWE/severity and records an audit line. Neither mode decides anything about the target: the gate refuses out-of-scope, everything in scope is the operator's.
  • Eight modules: shellshock (CVE-2014-6271), log4shell (CVE-2021-44228, loopback JNDI listener or callback_base), struts2_s2045 (CVE-2017-5638), tomcat_put (CVE-2017-12617, cleans up after a check), redis_write (CVE-2022-0543, CONFIG SET dir/dbfilename), cmd_inject (six operators probed, op=auto finds the working one), traversal (CVE-2021-41773/42013) and jenkins_script (Groovy console).
  • Payload builder (payload_list, payload_build): templates with {lhost}/{lport} and encoders (url, double-url, b64, b64url, hex, json). The operator picks template and encoder; nothing is chosen for them.
  • Shared helpers rather than copies: the callback listener moved out of tools_red.c into apex_cb_open/apex_cb_wait, and http_once now passes headers through the curl path so a module can inject a header over TLS.
  • Checks: 1564 (was 1521), line coverage 84.8%. Red proof: neutering the marker comparison in exploit_check turns the shellshock checks red; restored afterwards. The gate audit now parses tools_exploit.c and its indirect gate calls (420 tools, 6 record-filter exceptions).

1.96.0 - 2026-11-24 - this change

  • PAM restrictions (pam_restrict_audit): /etc/security/group.conf and time.conf under the root prefix: a rule with an empty service field that can never fire, a time list that is not day+HHMM-HHMM, a group.conf rule for a group /etc/group does not list, a * group field, and a time rule with * in every field (permits forever). Field counts are checked because both files drop a malformed line with only a syslog warning.
  • Password history (pwhistory_audit): pwhistory.conf and sepermit.conf: remember missing, zero or below 5, enforce_for_root off, use_authtok missing, and a sepermit.conf separator line that names no group (every login is exempt from the separation).
  • firewalld (firewalld_audit): firewalld.conf plus zones/*.xml: PanicMode on (permanent once it survives a reboot), CleanupOnExit=no, DefaultZone=trusted or a blocking zone, a zone whose <target> is ACCEPT or that holds a rich <accept/> rule, and a zone with neither <source> nor <interface> (in force nowhere).
  • Cassandra (cassandra_probe): CQL native protocol on 9042. OPTIONS answers SUPPORTED without authentication, so the port is identified even on a locked node; a STARTUP answered with READY means the cluster takes queries from anyone, and an ERROR 0x2200 carrying "Required auth" means an authenticator is set. No query is sent.
  • Checks: 1521 (was 1512). Red proof: neutralising the dead-rule branch in pam_restrict_audit turns the new check red; restored afterwards.

1.95.0 - 2026-11-24 - this change

  • SpamAssassin (spamassassin_audit): local.cf/local.conf with required_score 0 (every mail passes), report_safe 0 (the original message is forwarded), skip_rbl_checks 1, a rule scored 0, and a world-writable file.
  • OpenDMARC (opendmarc_audit): opendmarc.conf with RejectFailures off or absent, FailureReports off, IgnoreAuthenticatedClients yes (every logged-in sender skips DMARC) and a TCP Socket.
  • amavis (amavis_audit): amavisd.conf plus conf.d fragments with $final_virus_destiny/$final_spam_destiny set to D_PASS, $bypass_spam_checks/$bypass_virus_checks on, and no $virus_admin.
  • Bitbucket (bitbucket_probe): /rest/api/1.0/projects on 7990 without a token; the project list is saved as evidence.

1.94.0 - 2026-11-24 - this change

  • opendkim (opendkim_audit): opendkim.conf and /etc/opendkim under the root prefix: a Socket inet: line (any host that reaches the port can submit mail), RequireSafeKeys no, a Mode without s (mail is verified but never signed) and a Syslog ... debug line that puts message content and key paths into syslog. An empty tree reports no-config.
  • rspamd (rspamd_audit): UCL config and local.d fragments: a bind_socket on *, 0.0.0.0 or :: with a port (the admin API answers on every interface), a clear-text password/enable_password and a secure_ip of 0.0.0.0/0 or ::/0 (the password check is skipped for every client). Fragments are matched by .conf, .inc and .local.
  • Confluence (confluence_probe): /status and /rest/api/space?limit=5 on 8090 without a token. A 2xx with content on the space list means the anonymous user may read every space; the JSON list is saved as evidence. /status answering alone is not counted as open.
  • Checks: 1501 (was 1493). The red proof removes the Mode sign check and the opendkim check turns red.

1.93.0 - 2026-11-24 - this change

  • seccomp (seccomp_audit): unit files and /etc/seccomp profiles under the root prefix: an empty SystemCallFilter= (present but removes nothing), a filter whose every token is a ~ denial (the allowlist is the whole syscall table), a root service that sets NoNewPrivileges=no or omits it, a profile with "defaultAction":"SCMP_ACT_ALLOW" or no defaultAction at all, and a world-writable unit. Read-only.
  • systemd sockets (systemd_socket_audit): .socket units: a ListenStream= on 0.0.0.0, [::] or bare :::, a SocketMode= with the world bit (any local user connects), Accept=yes without MaxConnections= (one process per connection, no ceiling) and a world-writable unit.
  • Solr (solr_probe): /solr/, /solr/admin/cores?action=STATUS and /solr/admin/info/system on 8983 without credentials. A 2xx with core entries means the whole index inventory is public; the body is saved as evidence and the audit log records the open admin API.

1.92.0 - 2026-11-24 - this change

  • fluent-bit (fluentbit_audit): fluent-bit.conf and the fragments under conf.d: an [OUTPUT] section that talks to a non-loopback host without tls On (logs and tokens leave in clear text), a [SERVICE] with HTTP_Server On and HTTP_Listen 0.0.0.0 (the metrics and health endpoint on every interface), a log level of debug/trace (where request detail ends up) and a world-writable configuration file. Read-only.
  • Vector (vector_audit): vector.toml: a [sources.*] block with address on 0.0.0.0/::, a [sinks.*] with an endpoint and no tls block or tls.verify = false, the GraphQL [api] enabled and bound beyond loopback (it can read every component), a missing sink and a world-writable file. Read-only.
  • Jaeger (jaeger_probe): /api/services on 16686 without credentials lists every service the collector has seen; the body is saved as evidence and the audit log records the open query API. A 401 counts as closed.

1.91.0 - 2026-11-24 - this change

  • promtail (promtail_audit): a positions block whose filename points into /tmp or /var/tmp (tmpwatch deletes it and every log line arrives twice), a config without positions.filename at all (the offset lives only in memory), a clients: entry without tenant_id (all tenants share one Loki stream), an http:// push URL and a world-writable config.
  • OpenTelemetry collector (otel_collector_audit): an exporters: block without any tls: child and without insecure: false, a debug: exporter left in a pipeline (every span goes to stdout and the journal), the zpages/pprof extensions and a world-writable config.
  • Loki (loki_probe): /ready, /metrics, /loki/api/v1/labels and /loki/api/v1/status/buildinfo without credentials; a 2xx on the labels endpoint is an open log query API and the label list is saved as evidence.
  • Tempo (tempo_probe): /ready, /status/version and /api/search/tags without credentials; a 2xx on the tag search is an open trace API and the tag list is saved as evidence.

1.90.0 - 2026-11-24 - this change

  • Suricata (suricata_audit): rule-files: left empty (the sensor runs but inspects nothing), enabled: no, a default-rule-path that does not exist, and a .rules file any local user can write.
  • Icinga 2 (icinga2_audit): accept_config/accept_commands (any cluster endpoint can push checks), an ApiListener bound beyond localhost, run_as_root = true check commands, and a world-writable .conf.
  • Falco (falco_audit): no rules_file at all, minimum_priority: debug/info (every event is kept), a webhook_address over plain http, and a writable rule file in rules.d.
  • Schema Registry (schema_registry_probe): /subjects on 8081 answering without credentials; the subject list is saved as evidence.

393 tools, 1467 checks, 240 fuzz cases, 85.0% line coverage.

1.89.0 - 2026-11-24 - this change

  • fapolicyd (fapolicyd_audit): permissive = 1 (a denial is only logged), integrity = none or 0 (a replaced binary still matches its allow rule), an allow all : all : all rule before any deny, and a world-writable fapolicyd.conf.
  • systemd timers (systemd_timer_audit): an OnCalendar=*:*:00 or OnUnitActiveSec of 60s or less (beacon interval), Persistent=true (missed runs fire after boot), a .service without User= (runs as root), and a world-writable unit file.
  • YARA (yara_audit): scanning switched off in yara.conf, a rule file any local user can write, an empty rule file, and no rule set at all.
  • OpenBMC (openbmc_probe): the xyz.openbmc_project control tree on 443 answering without a session; the power restore policy is saved as evidence. A reachable /redfish/v1/ alone is reported as redfish only.

389 tools, 1459 checks, 240 fuzz cases, 85.0% line coverage.

1.88.0 - 2026-11-24 - this change

  • freshclam (freshclam_audit): UpdateChecks no (the signatures never refresh), a DatabaseMirror over plain http:// (anyone on the path can swap the signature database), Checks of 0 or 1 (the download is not fully verified), and a world-writable freshclam.conf.
  • tripwire (tripwire_audit): a twcfg.txt with no SITEKEYFILE, a site key readable beyond its owner (the private half of the policy signature), no MAILTO (a violation lands in a log nobody reads), and a world-writable config.
  • CoreDNS (coredns_probe): gets /health, /metrics and the caddy plugin API /config/ on 2019 without a token. A 2xx on /config/ means the DNS server blocks can be rewritten at runtime; the answer is saved as evidence.

1.87.0 - 2026-11-24 - this change

  • smartd (smartd_audit): a monitored device without a -m address (a failing disk reports to nobody), a DEVICESCAN without -d/-H so smartd guesses the device type, an -M exec hook that is writable by any local user, and a world-writable smartd.conf.
  • tlog (tlog_audit): a scope that does not contain session (interactive input and output are not captured), a notice without wall, no log target at all, and a writable tlog-rec-session.conf or drop-in.
  • abrt (abrt_audit): AutoreportingEnabled=yes, a URL that points at anything but a local collector (crash dumps, with process memory, leave the host), an upload without SSLVerify, and a writable abrt.conf.
  • Nomad (nomad_probe): /v1/jobs and /v1/nodes on 4646 without a token. A 2xx lists every deployed job and node; the body is saved as evidence and the ACL flag from /v1/agent/self is reported.

1.86.0 - 2026-11-24 - this change

  • dhclient (dhclient_audit): dhclient.conf that takes domain-name-servers from the DHCP offer, a supersede or prepend domain-name-servers/domain-name/domain-search override, and a hook in dhclient-enter-hooks.d that runs as root and is writable by any local user.
  • journal upload (journal_upload_audit): an Upload URL over plain http, a missing ServerKeyFile and a writable journal-upload.conf.
  • fwupd (fwupd_audit): OnlyTrusted set to false (firmware with an unverified signature is installed), an empty DisabledPlugins list that loads every plugin, and a writable daemon.conf.
  • Vault (vault_probe, red): /v1/sys/seal-status and /v1/sys/mounts without a token. A 2xx on the mount list means every secret engine path is readable without authentication; the body is saved as evidence and the seal state is reported.

378 tools, 1437 checks.

1.85.0 - 2026-11-24 - this change

  • Jetty (jetty_audit): jetty.xml, jetty-ssl.xml and the start.d ini files. A <Call name="addConnector"> block that sets the host to 0.0.0.0 or :: without an sslContextFactory inside the same block is a clear-text connector on every interface; a start.d file that sets jetty.http.host or jetty.ssl.host to 0.0.0.0 overrides the XML and counts the same way. Also flags a LoginService password as literal text, MD5 as the login hash and a writable configuration file. Read-only.
  • Zabbix (zabbix_probe): apiinfo.version proves the JSON-RPC endpoint answers but is allowed before login, so only user.login with the default Admin/zabbix pair counts as exposure. The response is saved as evidence and the session token is never printed.
  • Datasette (datasette_probe): /-/databases.json without a token names every attached SQLite file; the list becomes the evidence.
  • 374 tools, 1429 end-to-end checks.

1.84.0 - 2026-11-24 - this change

  • External scanners (src/tools_ext.c): nuclei_scan, nikto_scan, ffuf_scan, gobuster_scan and sqlmap_scan wrap a program this project did not write, through exactly one path so the rules live in one place. The target goes through gated_run(), so the scope gate and the audit line happen before anything is executed. Every argument is checked against a per-tool allowlist and a flag that is not on it is refused instead of passed through. There is no shell: argv is built in C and handed to exec. stdout and stderr go to one pipe and are saved as evidence, because a scanner's output is the proof and not its exit code. A binary that is not installed is a plain sentence from apex_have() rather than exit 127 in the middle of a scan, and capabilities lists each one as present or absent. gobuster's dns mode gets the bare domain with -d; dir and vhost get a URL with -u.
  • Deliberately absent: hydra, medusa and msfvenom get no wrapper. Mass credential guessing and payload generation are outside what this project does; sqlmap runs --batch --level/--risk and never gets --os-shell or --file-read.

1.83.0 - 2026-11-24 - this change

  • PHP-FPM (php_fpm_audit): pool files in /etc/php-fpm.d, /etc/php/<ver>/pool.d and /etc/php/<ver>/fpm/pool.d. Flags a pool that runs with user = root, a listen.mode of 0666/777 (any local user can talk to the FastCGI socket) or any mode that is not 0660, a listen value without a path (TCP instead of a unix socket), display_errors = On and allow_url_include = On in the pool's php_admin_value[...] keys, a cleared disable_functions, and a writable pool file.
  • uWSGI (uwsgi_audit): /etc/uwsgi.ini, /etc/uwsgi/uwsgi.ini and apps-enabled/*.{ini,conf}. Flags uid/gid 0, chmod-socket 666/777, chdir = /, master = false and a writable ini.
  • lighttpd (lighttpd_audit): lighttpd.conf and conf-enabled/*. Flags server.document-root = "/", a missing or disabled ssl.engine, dir-listing.activate = "enable", server.username/server.groupname root, and a writable config.
  • Superset (superset_probe): /health, /login and /api/v1/dashboard/ on 8088 without a session. A 2xx dashboard list with a result array is an unauthenticated instance; the list is saved as evidence.

1.82.0 - 2026-11-24 - this change

  • apt auth (apt_auth_audit): /etc/apt/auth.conf and auth.conf.d/*.conf. A machine/login line whose host is reached over plain http:// sends the repository password in clear text, and a file that is group- or world-readable (or writable) hands the credentials to every local user.
  • aliases (aliases_audit): an alias that pipes mail into a command (the MTA runs it, often as a privileged user), root mail forwarded to another local account, and a writable alias file that changes where all mail goes.
  • netgroup (netgroup_audit): a member triple with an empty host field (user,domain,) matches every host in the domain - the classic NIS wildcard that turns a host restriction into no restriction.
  • TeamCity (teamcity_probe): /app/rest/projects and /app/rest/users on 8111 without a token. A 2xx project or user list is an unauthenticated CI API; the answer is saved as evidence.

1.81.0 — 2026-11-23 — this change

  • nfs.conf (nfs_conf_audit): [nfsd] vers2=y or vers3=y keeps the legacy UID-trusted protocols alive, mountd insecure=y accepts requests from an unreserved source port that any local user can bind, and Sec=sys as the only flavour means no RPCSEC_GSS at all. A world-writable file is flagged.
  • idmapd.conf (idmapd_audit): a missing [General] Domain leaves NFSv4 names unmapped so every unowned file falls back to Nobody, and a Nobody-User other than nobody/nfsnobody hands those files to a real account.
  • netplan (netplan_audit): nameservers without dnssec: true, an ethernet block with neither dhcp4/dhcp6 nor a device addresses list, and world-writable files. Read line by line — no YAML parser.
  • cAdvisor (cadvisor_probe): /api/v1/containers on 8080 without authentication is an open container API; the list is saved as evidence.
  • The dispatch array is now APEX_MAX_TOOLS (512) instead of a literal 384 in 14 places, so the next tranches do not silently drop tools.

1.80.0 — 2026-11-23 — this change

  • Module lists (modules_load_audit): /etc/modules and /etc/modules-load.d: a name from the CIS blacklist (cramfs, hfsplus, udf, usb-storage, dccp, sctp, rds, tipc, ...), a line that is not a module name at all (a path, a semicolon), a duplicate across files, and a world-writable list.
  • depmod (depmod_audit): /etc/depmod.d: an absolute path in first position of a search line (a module tree of the attacker's choosing wins over updates), any override line, and a world-writable file.
  • adduser.conf (adduser_conf_audit): a DIR_MODE that gives group or other access to new home directories, USERGROUPS=no, a DSHELL that is not listed in /etc/shells, and a world-writable config. Read-only.
  • Ollama (ollama_probe): /api/tags on 11434 without credentials lists every pulled model; the list is saved as evidence. /api/version answering alone is not enough — nothing is pulled, deleted or prompted.

1.79.0 — 2026-11-23 — this change

  • ufw (ufw_audit): ENABLED=no in /etc/ufw/ufw.conf, a DEFAULT_INPUT_POLICY that is not DROP/REJECT, and every -A ufw-user-* -j ACCEPT in user.rules that reaches a database, remote access or mail port with no -s restriction. A world-writable ufw.conf or user.rules is reported too.
  • monit (monit_audit): an set httpd block that does not bind localhost, an allow user:password with a literal password instead of a hash, and a world-writable monitrc.
  • ClamAV (clamav_audit): TCPSocket enabled at all, a TCPAddr beyond loopback, a VirusEvent/OnUpdateExecute hook, LogRotate no, and a world-writable clamd.conf.
  • Jira (jira_probe): /rest/api/2/project on port 8080 without credentials; a 2xx means the project inventory is public and the body is saved as evidence.
  • Fixed while writing the tests: clamav_audit now reads LogRotate no as off (it only understood false and 0).

1.78.0 — 2026-11-23 — this change

  • crypttab (crypttab_audit): a world-writable /etc/crypttab lets a local user repoint a volume; a key file that is world-readable (high) or world-writable (critical) is the disk key itself; a volume with none in the key column protects nothing but a passphrase; discard, allow-discards in the options leaks which blocks are unused. Read-only.
  • useradd defaults and skel (useradd_audit): INACTIVE empty or -1 means an expired password keeps working; SHELL pointing at a missing binary or at nologin leaves every new account without a usable shell; /etc/skel is copied into every new home, so a world-writable file there (high) and a profile that pipes curl/wget into a shell (high) infect every future user.
  • AIDE (aide_audit): a world-writable config rewrites the check itself (critical); database/database_out under /tmp can be replaced between runs (high); a ! rule for /etc, /bin, /sbin, /boot or the binary/lib subtrees of /usr removes a critical tree from the check (high); a rule that carries only md5/sha1 can be forged (medium). Data trees such as /usr/share are not flagged.
  • Jupyter (jupyter_probe): /api/status answers on every instance, so only a 2xx on /api/sessions or /api/kernels counts. A server without a token is code execution; the session list is saved as evidence and an empty array is reported as not open.
  • 346 tools, 1362 checks.

1.77.0 — 2026-11-23 — this change

  • systemd-networkd (networkd_audit): a [Match] section without Name=, MACAddress=, Type=, Path= or Driver= applies to every interface; DHCP=yes together with IPv6AcceptRA=yes and no UseDNS=no lets the DHCP server and the router choose the resolver; a DNS= with a public resolver sends every query outside. A world-writable unit is high.
  • pam_namespace (namespace_audit): no /tmp, /var/tmp or /dev/shm entry means every session shares one temporary directory; a missing or unknown method field makes the module fall back to its defaults; a user list that starts with ~ isolates only the listed users. A world-writable namespace.conf is high.
  • SSH client (ssh_client_audit): ssh_config and ssh_config.d — StrictHostKeyChecking no, UserKnownHostsFile /dev/null or GlobalKnownHostsFile none remove the host key check, and ssh-rsa or ssh-dss in the algorithm lists re-enable the weak signature schemes. ssh_config_audit only reads the server side.
  • 342 tools, 1354 checks.

1.76.0 - 2026-11-23 - this change

  • nscd (nscd_audit): persistent yes keeps the credential cache on disk across a reboot and shared yes exposes one cache to every process; a positive-time-to-live above an hour keeps a deleted account resolvable for that long. A world-writable /etc/nscd.conf is high.
  • faillock (faillock_audit): deny = 0 switches the account lockout off, a non-zero unlock_time under a minute lets a brute force resume almost immediately and a missing even_deny_root leaves root exempt. unlock_time = 0 means the counter is never cleared automatically and is reported as strict, not as weak.
  • GitLab (gitlab_probe, red): /api/v4/version answers to anyone, so /api/v4/projects decides: a 2xx with a non-empty array means public visibility is on and the project list is saved as evidence.
  • 339 tools, 1348 checks.

1.75.0 — 2026-11-23 — this change

  • inetd (inetd_audit): an enabled shell, login, exec or rsh service (a root shell over the network); telnet, ftp, tftp or pop3, which carry credentials in the clear; a world-writable inetd.conf.
  • ld.so.conf (ld_so_conf_audit): a library path under /tmp, /var/tmp, /home or /dev/shm, where an unprivileged user can drop a .so; a world-writable library directory; a world-writable config file.
  • rc.local (rc_local_audit): a curl/wget whose output is piped into a shell, a reference to /tmp, and a script without a final exit.
  • Airflow (airflow_probe, red): /api/v1/dags answering 2xx without a token hands out the whole DAG inventory; the body is saved as evidence. /api/v1/version is reported but not counted as exposure.

1.74.0 - 2026-11-23 - this change

  • syslog-ng (syslog_ng_audit): a network() source without ip() listens on every address, a source without tls() takes logs in clear, and a writable syslog-ng.conf or conf.d fragment is read-only in name.
  • ntpd (ntpd_audit): a missing restrict default, a non-local restrict line without all of nomodify notrap nopeer noquery, a missing disable monitor (mode-6 monlist as an amplifier) and a writable ntp.conf.
  • Rundeck (rundeck_probe): /api/14/projects and /api/1/projects without a token; the project list is saved as evidence.
  • 332 tools, 1334 end-to-end checks.

APEX TWIN is a C99/POSIX scope-gated offensive-security MCP server. This file records what changed in each version. The project is pre-1.0: minor versions may change behaviour, but the finding/asset/traffic JSON formats only ever gained fields, and state from an older version is read by a newer one.

There are no git tags. The hash next to a version is the commit that introduced it; the current entry is the commit that adds this section.

1.73.0 - 2026-11-23 - this change

  • anacrontab (anacrontab_audit): /etc/anacrontab and /etc/cron.d (root prefix). 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 set the environment and are not counted as jobs.
  • MOTD (motd_audit): /etc/update-motd.d (root prefix). A script that is world-writable, one without a shebang, and one that fetches a URL at login time. Read-only.
  • Keycloak (keycloak_probe): /realms/master, its OpenID configuration and the admin console on 8080. The realm JSON is public by design, so only registrationAllowed:true counts as a finding; the realm body is saved as evidence.

1.72.0 — 2026-11-23 — this change

  • pam_env (pam_env_audit): LD_PRELOAD or LD_LIBRARY_PATH set in /etc/environment or /etc/security/pam_env.conf, which loads foreign code into every login; a PATH entry that is a world-writable directory; and a world-writable file. pam_env.conf writes KEY DEFAULT=..., so the variable name is the first token, not the text before the =.
  • hosts (hosts_audit): a dotted name mapped to a loopback, private or link-local address (a pin or hijack), the same name listed with two different addresses, and a world-writable /etc/hosts. A bare name such as localhost is not flagged, only a dotted one.
  • dnf/yum repos (dnf_repo_audit): gpgcheck=0, repo_gpgcheck=0 and sslverify=0 in /etc/dnf/dnf.conf or /etc/yum.repos.d/*.repo, a plain http:// baseurl, and a world-writable repo file.
  • SonarQube (sonarqube_probe): /api/system/status and /api/projects/search on 9000 without credentials. /api/system/status answers even when anonymous access is off, so only a 2xx on the project search counts as an open instance, and that body becomes the evidence.

1.71.0 — 2026-11-23

  • limits.conf (limits_audit): nofile, nproc or memlock set to unlimited, a core limit above zero (core dumps), and world-writable limits.conf or limits.d files. Only a literal unlimited is flagged; a large number is still a ceiling. Lines are domain, type, item, value.
  • access.conf (access_conf_audit): a + rule for ALL, a + rule with no tty or host restriction, and a last rule of + : ALL : ALL, which turns the file into a default-allow. The file stops at the first match, so the position of a rule is what matters.
  • pwquality.conf (pwquality_audit): minlen below 8, minclass 0, dictcheck=0, enforcing=0, and world-writable files. Commented defaults stay silent.
  • Kafka Connect (kafka_connect_probe): /, /connectors and /connector-plugins on 8083 without credentials; the connector list exposes every connector and its configuration and is saved as evidence.
  • Tests with limits, access.conf and pwquality trees plus an open and a 401 Kafka Connect worker. 1314 checks.

1.70.0 — 2026-11-23 — this change

  • fstab (fstab_audit): a /tmp, /var/tmp or /dev/shm mount without nosuid, nodev or noexec; any other mount with user, users or owner; a world-writable fstab.
  • modprobe (modprobe_audit): an install hook in modprobe.conf or modprobe.d/*.conf whose command runs as root on every module load (/bin/false, /bin/true and modprobe --ignore-install stay silent), and a world-writable config file.
  • GRUB (grub_audit): /etc/default/grub: mitigations=off, nosmap, nokaslr on the command line, and the missing init_on_alloc=1, init_on_free=1 and slab_nomerge/slub_nomerge hardening flags.
  • Argo CD (argocd_probe): /api/v1/applications and /api/version without a token; a 2xx application list is an unauthenticated GitOps API and is saved as evidence.
  • Tests with fstab, modprobe.d and grub fixtures plus an Argo CD server. 1302 checks.

1.69.0 — 2026-11-23

  • Podman (podman_audit): registries.conf: a [[registry]] block with insecure = true or an http:// location, short-name-mode = "disabled", and policy.json missing or without signedBy.
  • BuildKit (buildkitd_audit): buildkitd.toml: a [registry] table with insecure = true, a tcp:// address without a CA, no rootless worker.
  • supervisord (supervisor_audit): an [inet_http_server] beyond localhost, the same without a username, [program:*] with user=root.
  • Portainer (portainer_probe): /api/status and /api/users/admin/check without credentials; a 2xx admin check is an open API and is saved as evidence. Reports whether setup is still open.
  • All four also flag world-writable files.
  • Tests with registries/policy, buildkitd.toml, supervisord.conf and two Portainer fixtures (open and 403). 1290 checks.

1.68.0 — 2026-11-23 — 98c7ae7

  • git config (gitconfig_audit): /etc/gitconfig: http.sslVerify=false, a URL rewrite to http://, credential.helper=store and a world-writable file.
  • npm config (npmrc_audit): npmrc files: strict-ssl=false, an HTTP registry, a cleartext _authToken and world-writable files.
  • pip config (pip_conf_audit): pip.conf files: an HTTP index, a trusted-host override and world-writable files.
  • Harbor (harbor_probe): /api/v2.0/health and /api/v2.0/projects without credentials; a 2xx project list is an open API, saved as evidence.
  • Tests with git/npm/pip config trees and two Harbor fixtures (open and 401). 1278 checks. Coverage 84.7%.

1.67.0 — 2026-11-23 — 7b853ad

  • passwd (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 (authorized_keys_audit): root and home key files: world-writable files or .ssh directories and command= hooks that pipe a download into a shell.
  • ld.so.preload (ld_preload_audit): a non-empty preload list, a world-writable file and world-writable libraries.
  • Gitea API (gitea_api_probe): /api/v1/version and /api/v1/admin/users without credentials; a 2xx admin list is an open admin API, saved as evidence.
  • Tests with passwd/shadow, authorized_keys and ld.so.preload trees plus two Gitea fixtures (open and 403). 1266 checks. Coverage 84.5%.

1.66.0 — 2026-11-23 — 03c8a63

  • Bluetooth (bluetooth_audit): main.conf: AutoEnable=true, Privacy=off, JustWorksRepairing=always, a missing LE controller mode and a world-writable file.
  • NetworkManager (networkmanager_audit): NetworkManager.conf and system-connections: WEP, a PSK file readable beyond its owner, 802.1X without a CA and world-writable files.
  • D-Bus (dbus_audit): system policy files: allow own="*" and send_destination="*" wildcards plus world-writable files.
  • Nexus (nexus_probe): /service/rest/v1/status and /service/rest/v1/repositories without credentials; a 2xx repository list is an open API, saved as evidence.
  • Tests with Bluetooth/NetworkManager/D-Bus trees and two Nexus fixtures (open and 401). 1254 checks. Coverage 84.4%.

1.65.0 — 2026-11-23 — 8a81fb1

  • USBGuard (usbguard_audit): rules and daemon config: an allow rule without with-interface, ImplicitPolicyTarget=allow, PresentDevicePolicy=allow and world-writable files.
  • certbot (certbot_audit): renewal configs: the manual authenticator, a renew/pre/post hook that pipes a download into a shell and world-writable files.
  • WPA supplicant (wpa_supplicant_audit): key_mgmt=NONE, WEP keys and a PSK file readable beyond its owner.
  • Jenkins API (jenkins_api_probe): /api/json and /whoAmI/api/json without credentials; a 2xx with jobs is an anonymous read API, saved as evidence.
  • Tests with USBGuard/certbot/WPA trees and two Jenkins fixtures (open and 403). 1242 checks. Coverage 84.4%.

1.64.0 — 2026-11-23 — 5775248

  • resolved (resolved_audit): resolved.conf: public resolvers, DNSSEC=no/allow-downgrade, DNSOverTLS=no, LLMNR=yes, MulticastDNS=yes and a world-writable file.
  • udev (udev_audit): rules from /etc and /usr/lib: MODE="0666"/ "0777", RUN+= hooks that pipe a download into a shell and world-writable files.
  • issue (issue_audit): /etc/issue and /etc/issue.net: \r/\v escapes, uname -r or a literal kernel version and world-writable files.
  • SMTP AUTH (smtp_auth_probe): EHLO features; PLAIN/LOGIN offered without STARTTLS means credentials cross the wire in clear. No login.
  • Tests with resolved/udev/issue trees and two SMTP fixtures (AUTH without STARTTLS, AUTH with STARTTLS). 1230 checks. Coverage 84.3%.

1.63.0 — 2026-11-23 — ea28138

  • OpenSSL config (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 (curlrc_audit): /etc/curlrc: insecure, a plain-HTTP proxy and a world-writable file.
  • wgetrc (wgetrc_audit): /etc/wgetrc: check_certificate=off, a plain-HTTP proxy and a world-writable file.
  • TLS chain (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. Coverage 84.2%.

1.62.0 — 2026-11-23 — 7a3fc47

  • Compose (compose_audit): a compose file: privileged, host network/PID, a mounted Docker socket, plaintext passwords/tokens and a world-writable file.
  • Kubernetes manifest (k8s_manifest_audit): a manifest: privileged, hostNetwork/hostPID/hostIPC, runAsUser: 0 (numeric, so 1000 is not flagged), a hostPath of /, a missing securityContext and a world-writable file.
  • Dockerfile (dockerfile_audit): root or missing USER, :latest or untagged base, ADD from a URL, RUN piping a download into a shell and a world-writable file.
  • AMQP (amqp_probe): sends the 0-9-1 header, reads Connection.Start and reports product, version and mechanisms. No login is attempted; a closed endpoint is a negative result, not an error.
  • Tests with Compose/manifest/Dockerfile fixtures (including runAsUser: 1000) and an AMQP frame fixture. 1205 checks. Coverage 84.2%.

1.61.0 — 2026-11-23 — a118a8d

  • atd (atd_audit): at.allow and 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 a finding.
  • securetty (securetty_audit): /etc/securetty: serial or virtual console entries (ttyS0, ttyS1, console, hvc0, ttyAMA0) that allow root login and a world-writable file.
  • tmpfiles (tmpfiles_audit): tmpfiles.d/*.conf from /etc and /usr/lib: world-writable modes, z/Z rules on /tmp or /var/tmp and world-writable files.
  • Logstash node (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. Coverage 84.2%.

1.60.0 — 2026-11-23 — ddb99c0

  • sshd_config (sshd_config_audit): sshd_config and sshd_config.d/*.conf with OpenSSH's first-value-wins order (drop-ins before the main file): PermitRootLogin yes, password authentication, empty passwords, X11 forwarding, MaxAuthTries above 3, no AllowUsers/AllowGroups and world-writable files.
  • hosts_access (hosts_access_audit): hosts.allow with ALL: ALL, missing hosts.deny rules and world-writable files.
  • profiles (profile_audit): /etc/profile, bash.bashrc and profile.d/*.sh: world-writable scripts, a umask that leaves group or other write allowed and a PATH with . or an empty entry.
  • Kibana (kibana_api_probe): /api/status and /api/saved_objects/_find?type=dashboard without credentials; a 2xx with saved objects is an open API and is saved as evidence.
  • Tests with sshd/hosts.allow/profile trees (including a drop-in that overrides the main config) and two Kibana fixtures. 1181 checks. Coverage 84.1%.

1.59.0 — 2026-11-23 — f1fbf9d

  • Telegraf (telegraf_audit): telegraf.conf: an HTTP output URL, insecure_skip_verify = true, credentials in the file and a world-writable file.
  • Graylog (graylog_audit): server.conf: the REST API on 0.0.0.0, plain HTTP, a password_secret shorter than 64 characters, an empty root_password_sha2 and a world-writable file.
  • Netdata (netdata_audit): netdata.conf: bind to IP = 0.0.0.0, an allow list of *, a missing allow list and a world-writable file.
  • ClickHouse (clickhouse_probe): /ping and /?query=SELECT version() without credentials; a 2xx with a version is an open HTTP API, saved as evidence.
  • Tests with Telegraf/Graylog/Netdata trees and two ClickHouse fixtures (open and 403 with a public ping). 1168 checks. Coverage 84.1%.

1.58.0 — 2026-11-23 — 827ff97

  • Logstash (logstash_audit): logstash.yml: api.http.host: 0.0.0.0, monitoring disabled, a missing path.data and a world-writable file.
  • Filebeat (filebeat_audit): filebeat.yml: an HTTP Elasticsearch output, ssl.verification_mode: none, credentials in the file, no output and a world-writable file.
  • Fluentd (fluentd_audit): fluent.conf/td-agent.conf: a forward source without shared_key, an HTTP output without TLS and a world-writable file.
  • InfluxDB (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. Coverage 84.0%.

1.57.0 — 2026-11-23 — ea69d8d

  • Kibana (kibana_audit): kibana.yml: server.host: 0.0.0.0, xpack.security.enabled: false, Elasticsearch credentials in the file, no TLS and a world-writable file.
  • Nagios (nagios_audit): nagios.cfg and cgi.cfg: check_external_commands=1, use_ssl_authentication=0, wildcard CGI authorization, a default user and world-writable files.
  • Synapse (synapse_audit): homeserver.yaml: open registration without a token, no TLS listener, no trusted key servers and a world-writable file.
  • NATS monitoring (nats_monitoring_probe): /varz and /connz without credentials; a 2xx with a version is an open monitoring endpoint, saved as evidence.
  • Tests with Kibana/Nagios/Synapse trees and two NATS monitoring fixtures (open and 401). 1144 checks. Coverage 83.9%.

1.56.0 — 2026-11-23 — 2bbe0c2

  • Webmin (webmin_audit): miniserv.conf: ssl=0, an allow list covering every address, an empty or default password and a world-writable file.
  • Cockpit (cockpit_audit): cockpit.conf: AllowUnencrypted = true, a missing Origins allow-list and a world-writable file.
  • phpMyAdmin (phpmyadmin_audit): config.inc.php: a short or empty blowfish secret, AllowNoPassword = true, auth_type = config and a world-writable file.
  • MinIO admin (minio_admin_probe): /minio/health/live and /minio/admin/v3/info without a signature; a 2xx admin answer is unsigned admin access, saved as evidence.
  • Tests with Webmin/Cockpit/phpMyAdmin trees and two MinIO fixtures (unsigned admin and 403). 1132 checks. Coverage 83.8%.

1.55.0 — 2026-11-23 — 5611c5f

  • GitLab (gitlab_audit): gitlab.rb: an HTTP external_url, no redirect_http_to_https, open signup, disabled Let's Encrypt and a world-writable file. Commented defaults are ignored.
  • Vaultwarden (vaultwarden_audit): the environment file: SIGNUPS_ALLOWED=true, a default ADMIN_TOKEN, an HTTP DOMAIN, missing SMTP and a world-writable file.
  • keepalived (keepalived_audit): keepalived.conf: auth_type PASS, a default auth_pass, a notify hook piping a download into a shell and a world-writable file.
  • Grafana (grafana_api_probe): /api/health, /api/datasources and /api/admin/users without credentials; a 2xx on datasources or admin users is anonymous access, with the datasource list saved as evidence.
  • The tool table hit its 256-slot cap at 258 tools; it is now 384.
  • Tests with GitLab/Vaultwarden/keepalived trees and two Grafana HTTP fixtures (open and 401). 1120 checks. Coverage 83.7%.

1.54.0 — 2026-11-23 — a388415

  • Zabbix (zabbix_audit): zabbix_agentd.conf: Server=0.0.0.0/0, EnableRemoteCommands=1, LogRemoteCommands=1, TLSConnect=unencrypted and a UserParameter with shell metacharacters.
  • NRPE (nrpe_audit): nrpe.cfg: an allowed_hosts covering every address, dont_blame_nrpe=1 and check commands with shell metacharacters.
  • unattended-upgrades (unattended_upgrades_audit): 50unattended-upgrades: security-only origins, automatic reboot disabled or unset, and no mail recipient.
  • RabbitMQ (rabbitmq_management_probe): /api/overview and /api/queues without credentials; a 2xx overview with rabbitmq_version is an open management API, saved as evidence.
  • Tests with Zabbix/NRPE/unattended-upgrades trees and two RabbitMQ HTTP fixtures (open and 401). 1108 checks. Coverage 83.6%.

1.53.0 — 2026-11-23 — 34ac87b

  • Gitea (gitea_audit): app.ini from three homes: PROTOCOL = http, INSTALL_LOCK = false, an empty or default SECRET_KEY, REQUIRE_SIGNIN_VIEW = false and a world-writable file.
  • MinIO (minio_audit): /etc/default/minio: default or missing root credentials, MINIO_BROWSER=on, a plain-HTTP MINIO_SERVER_URL and a world-writable file.
  • Nextcloud (nextcloud_audit): config.php: debug = true, a wildcard trusted_domains entry, missing or HTTP overwriteprotocol, a world-writable data directory and file.
  • Prometheus (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 HTTP fixtures (open and 401). 1096 checks. Coverage 83.5%.

1.52.0 — 2026-11-23 — d925e11

  • Caddy (caddy_audit): Caddyfile: a site on :80 or http://, auto_https off, tls internal and an admin API beyond localhost.
  • Traefik (traefik_audit): traefik.yml/yaml/toml: api: insecure: true, an HTTP entry point without a redirect and no TLS section.
  • autofs (autofs_audit): auto.master and auto.master.d plus the maps they reference: wildcard map keys, world-writable maps and --timeout=0.
  • CouchDB (couchdb_probe): / and /_all_dbs without credentials; the database list is the decisive answer and is saved as evidence.
  • Tests with Caddy/Traefik/autofs trees and two CouchDB HTTP fixtures (open and 401 with a public welcome). 1084 checks. Coverage 83.4%.

1.51.0 — 2026-11-23 — b221d26

  • FreeRADIUS (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 (containerd_audit): config.toml: a TCP gRPC address without cert_file, a sandbox_image without a digest, no_pivot_root = true and a world-writable file.
  • NATS (nats_audit): nats-server.conf: no authorization block, no TLS block, an http monitoring listener on every address, debug logging and a world-writable file.
  • Consul (consul_api_probe): /v1/agent/self and /v1/catalog/services without an ACL token; a 2xx JSON answer is unauthenticated access, with the first answer saved as evidence.
  • Tests with FreeRADIUS/containerd/NATS trees and two Consul HTTP fixtures (open and 403). 1072 checks. Coverage 83.3%.

1.50.0 — 2026-11-23 — ead28d4

  • Kafka (kafka_audit): server.properties: a PLAINTEXT listener on 0.0.0.0, a missing authorizer.class.name, auto.create.topics.enable=true and a world-writable file.
  • PowerDNS (powerdns_audit): pdns.conf and recursor.conf: allow-from 0.0.0.0/0, webserver=yes, an API key stored in the file and security-polling=no.
  • Varnish (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 and world-writable files.
  • Registry (docker_registry_probe): /v2/ and /v2/_catalog without credentials; a catalog listing is an open registry and is saved as evidence.
  • Tests with Kafka/PowerDNS/Varnish trees and two registry HTTP fixtures (open and 401). 1060 checks. Coverage 83.2%.

1.49.0 — 2026-11-23 — 185aa07

  • iSCSI (iscsi_audit): iscsid.conf: node.startup=automatic, a session or discovery authentication method of None (or missing) and a world-writable file.
  • rpcbind (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 (kdump_audit): kdump.conf and /etc/default/kdump-tools: a remote dump target, core_collector without -c, a shell or dump_to_rootfs default action and a world-writable file.
  • etcd (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. Coverage 83.1%.

1.48.0 — 2026-11-23 — f1ef790

  • Avahi (avahi_audit): avahi-daemon.conf: publish-workstation, publish-addresses, a missing or wildcard allow-interfaces and a world-writable file.
  • logind (logind_audit): logind.conf: IdleAction=ignore, HandleLidSwitch=ignore, IdleActionSec=0, KillUserProcesses=no and a world-writable file.
  • tftpd-hpa (tftpd_hpa_audit): the Debian defaults: --create, a missing --secure, a TFTP directory of /, a world-writable directory and a world-writable file.
  • ZooKeeper 4lw (zookeeper_4lw_probe): sends the four-letter commands stat and mntr; any answer without authentication leaks the version and connection state.
  • Tests with avahi/logind/tftpd trees and two ZooKeeper servers (commands answered and refused). 1035 checks. Coverage 83.0%.

1.47.0 — 2026-11-23 — 5c028a6

  • pgbouncer (pgbouncer_audit): pgbouncer.ini: auth_type trust or plain, listen_addr on every interface, an auth_file readable beyond its owner and a world-writable config.
  • xinetd (xinetd_audit): xinetd.conf and xinetd.d/*: enabled legacy services (telnet, ftp, rsh, rlogin, rexec, tftp, talk, echo, discard, chargen), a service without only_from, a service running as root and world-writable files.
  • SSSD (sssd_audit): sssd.conf: enumerate, cache_credentials, ldap_id_use_start_tls = false, ldap_tls_reqcert = never/allow and a world-writable file.
  • FTP TLS (ftp_tls_probe): read the banner and send AUTH TLS; 234 means explicit FTPS, 500/502/530 means credentials would cross in clear.
  • Tests with pgbouncer/xinetd/sssd trees and two FTP servers (AUTH TLS accepted and refused). 1023 checks. Coverage 83.0%.

1.46.0 — 2026-11-23 — b4996fd

  • dnsmasq (dnsmasq_audit): dnsmasq.conf and dnsmasq.d/*.conf: a wildcard or missing interface restriction, no bind-interfaces, missing bogus-priv/domain-needed and world-writable files.
  • nsswitch (nsswitch_audit): nsswitch.conf: compat/NIS in passwd/group/shadow, direct LDAP without sssd, hosts lookups that skip files and a world-writable file.
  • Jenkins (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.
  • TLS hostname (tls_hostname_check): one handshake with the name as SNI; matches SAN DNS names (one-label wildcards), IP SANs and falls back to CN only when no DNS SAN exists.
  • Tests with dnsmasq/nsswitch/Jenkins trees and a certificate carrying other.test, *.wild.test and IP:127.0.0.1. 1011 checks. Coverage 82.9%.

1.45.0 — 2026-11-23 — 38ce776

  • journald (journald_audit): journald.conf: Storage=volatile or none, ForwardToSyslog=no, SystemMaxUse above one gigabyte, Seal=no and a world-writable file.
  • coredump (coredump_audit): coredump.conf: explicit or default Storage=external (cores persist on disk and may hold secrets), Compress=no and a world-writable file. ProcessSizeMax=0 is not a finding: it means an unlimited size, not disabled storage.
  • nftables (nftables_audit): nftables.conf and nftables.d/*.nft: policy accept, no established/related rule, ports 22/3306/5432/6379/27017/9200 opened without a saddr check and world-writable files.
  • HSTS (hsts_audit): one TLS GET: missing Strict-Transport-Security, max-age of 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. Coverage 82.8%.

1.44.0 — 2026-11-23 — 3a6e1e4

  • Certificates (ssl_cert_audit): every certificate under /etc/ssl/certs (root prefix) through openssl x509: expired or not yet valid, SHA-1 signatures, RSA below 2048 or EC below 256 bits, a non-critical CA:TRUE and world-writable files. Bundles and unparsable files are counted as skipped.
  • timesyncd (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 (resolv_conf_audit): no nameserver, a single nameserver, a well-known public resolver, a missing search domain and a world-writable file.
  • SOA MNAME (dns_soa_mname_check): the SOA primary must be one of the zone's NS records; a stray primary means the delegation is misconfigured.
  • 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. Coverage 82.8%.

1.43.0 — 2026-11-23 — e5f634b

  • pg_hba (pg_hba_audit): every /etc/postgresql/<version>/main, plus the flat paths: a trust method, a rule matching 0.0.0.0/0 or ::/0 and a world-writable file.
  • polkit (polkit_audit): rules.d/*.rules and localauthority/50-local.d/*.pkla: polkit.Result.YES, ResultAny=yes or ResultInactive=yes and world-writable files.
  • LDAP client (ldap_client_audit): ldap.conf from Debian and OpenLDAP: a plaintext ldap:// URI, TLS_REQCERT never/allow and a world-writable file.
  • FCrDNS (dns_fcrdns_check): a PTR lookup followed by A/AAAA of the PTR name; a missing PTR or a forward answer that never returns the address fails forward-confirmed reverse DNS.
  • Tests with pg_hba/polkit/ldap.conf trees and a DNS agent answering matching, mismatching and absent PTR records. 970 checks. Coverage 82.7%.

1.42.0 — 2026-11-22 — a194ace

  • Chrony (chrony_config_audit): both chrony.conf paths: allow with 0.0.0.0/0, ::/0 or all, a cmdallow/bindcmdaddress that leaves localhost, and a world-writable file.
  • APT (apt_config_audit): apt.conf.d, sources.list and sources.list.d: AllowUnauthenticated, AllowInsecureRepositories, trusted=yes, a plain-HTTP repository and world-writable files.
  • login.defs (login_defs_audit): PASS_MAX_DAYS above 365, PASS_MIN_DAYS/PASS_WARN_AGE of 0, a UMASK that leaves group or other access (a umask masks bits: 022 only leaks read, 002 leaks group write), DES/MD5 hashing and a world-writable file.
  • WebSocket (websocket_origin_check): opens the upgrade twice with two unrelated Origin headers; both 101 means Origin is not enforced, the condition behind cross-site WebSocket hijacking.
  • Tests with chrony/APT/login.defs trees and two WebSocket servers (any origin, allowlist). 956 checks. Coverage 82.6%.

1.41.0 — 2026-11-22 — ac36d21

  • Cron (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 (fail2ban_audit): jail.local and jail.conf: a disabled sshd jail, ignoreip covering every address, maxretry = 0, bantime = 0 and no banaction anywhere.
  • Redirects (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.
  • Samba (samba_audit): extended with null passwords, map to guest = bad user, an SMB1 minimum protocol and a world-writable config. No second Samba tool was added.
  • Tests with Samba, cron and fail2ban trees and three HTTP servers (plain chain, TLS downgrade, out-of-scope hop). 944 checks. Coverage 82.6%.

1.40.0 — 2026-11-22 — 32c08b6

  • WireGuard (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 (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 (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.
  • Dangling CNAME (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. Coverage 82.3%.

1.39.0 — 2026-11-21 — e8f5cbf

  • Kubernetes (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.
  • Grafana (grafana_audit): grafana.ini with section-aware INI parsing: anonymous access, default/empty admin password, plain HTTP and the default secret key.
  • Prometheus (prometheus_audit): prometheus.yml/web.yml: missing basic_auth_users, missing external_labels, plain-HTTP scrape targets and world-writable files.
  • NS consistency (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.
  • The tool table hit its 192-slot cap at 195 tools; it 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. Coverage 82.2%.

1.38.0 — 2026-11-21 — ebb046c

  • Consul (consul_config_audit): consul.hcl and consul.d/*.hcl: ACL default policy allow, bind_addr on every interface, incoming/outgoing verification off, missing gossip encryption, enabled UI and world-writable files.
  • Vault (vault_config_audit): vault.hcl: tls_disable 1/true, UI enabled, disable_mlock and a Shamir seal without auto-unseal.
  • ZooKeeper (zookeeper_audit): zoo.cfg: an open 4lw whitelist (stat/mntr/envi), clientPortAddress on every interface and a missing authProvider.
  • mTLS (tls_client_auth_probe): one s_client -msg handshake; a CertificateRequest means the server requires a client certificate. Reports protocol and cipher, 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. Coverage 82.1%.

1.37.0 — 2026-11-21 — ba1796a

  • kubelet (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 (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. Both YAML and KEY=value forms are read.
  • RabbitMQ (rabbitmq_audit): rabbitmq.conf and advanced.config: guest loopback restriction removed, default guest/guest credentials, management without a TLS port and world-writable files.
  • SNI (sni_vhost_check): one s_client -servername handshake per in-scope name, comparing certificate subject, SAN and SHA-256 fingerprint; different certificates for one address mean SNI virtual hosts.
  • Tests with vulnerable and hardened kubelet/etcd/RabbitMQ trees and a TLS server that selects per SNI. 893 checks. Coverage 81.9%.

1.36.0 — 2026-11-21 — b1165c5

  • BIND (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 (tomcat_audit): server.xml and tomcat-users.xml under /etc/tomcat*: an enabled shutdown port, a Connector on 0.0.0.0, manager-gui/manager-script/admin-gui roles, a plaintext manager password and world-writable files.
  • ProFTPD (proftpd_audit): proftpd.conf: AllowAll, an Anonymous block without AnonReadOnly, RootLogin on, TLS not required and world-writable files.
  • CAA (dns_caa_check): gated dig CAA; reports flags, tag and value for each 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. Coverage 81.9%.

1.35.0 — 2026-11-21 — 3b1a884

  • MongoDB (mongodb_config_audit): mongod.conf: net.bindIp on every interface (absent counts as the default), security.authorization disabled or missing, a net.tls mode of disabled and a world-writable config.
  • memcached (memcached_config_audit): memcached.conf: -l on every interface (absent counts as the default), UDP left enabled when -U 0 is missing, a memory limit of 8 GiB or more and a world-writable config.
  • NTPD (ntpd_config_audit): ntp.conf: a missing or weak restrict default (no kod/limited), a missing disable monitor (monlist), a drift file in /tmp or /dev/shm and a world-writable config.
  • Wildcard DNS (dns_wildcard_check): one gated dig for a random label under an in-scope domain; an answer means wildcard DNS, which would poison subdomain enumeration.
  • Tests with vulnerable and hardened mongod/memcached/ntp trees and a DNS agent with and without a wildcard. 867 checks. Coverage 81.7%.

1.34.0 — 2026-11-21 — 4306da8

  • rsync (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.
  • DHCP (dhcpd_audit): dhcpd.conf: authoritative, ddns-update-style none/ad-hoc, missing domain-name-servers, a range that does not belong to its subnet and a world-writable config.
  • Kerberos (krb5_conf_audit): krb5.conf: missing default_realm, dns_lookup_kdc false, rdns true, des/arcfour/rc4 enctypes and a world-writable config.
  • WebDAV (webdav_probe): OPTIONS plus a Depth: 0 PROPFIND; a 207 Multistatus means WebDAV is enabled, and the Allow list shows the DAV methods. Evidence is saved on a hit.
  • Tests with vulnerable and hardened rsync/dhcpd/krb5 trees and a WebDAV HTTP fixture. 855 checks. Coverage 81.5%.

1.33.0 — 2026-11-21 — cb8b4ac

  • Squid (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 (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 (cups_audit): cupsd.conf: Listen on every interface, Browsing On, a Location block with Allow All and a world-writable config.
  • ALPN (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. Coverage 81.4%.

1.32.0 — 2026-11-21 — 1a5a7bc

  • PostgreSQL (postgresql_config_audit): scans /etc/postgresql// (root prefix) for postgresql.conf and pg_hba.conf: listen_addresses on every interface, ssl = off, trust and md5/password entries, world-writable files.
  • Exim (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 (elasticsearch_config_audit): elasticsearch.yml: network.host on every interface, xpack.security.enabled false, single-node discovery and a world-writable config.
  • OCSP (tls_ocsp_probe): one openssl s_client -status handshake; reports whether a response is stapled, its response status and the certificate status (good/revoked/unknown), plus protocol and cipher.
  • conf_value now also strips single quotes, which PostgreSQL writes around listen_addresses.
  • Tests with vulnerable and hardened PostgreSQL, Exim and Elasticsearch trees plus a TLS server without stapling. 830 checks. Coverage 81.2%.

1.31.0 — 2026-11-21 — 409c80f

  • PHP (php_config_audit): finds /etc/php.ini or /etc/php///php.ini (root prefix) and flags expose_php, display_errors, allow_url_include, allow_url_fopen, an empty disable_functions, session.cookie_secure Off and world-writable files.
  • Dovecot (dovecot_audit): dovecot.conf and conf.d: ssl = no, disable_plaintext_auth = no, PLAIN in auth_mechanisms and world-writable drop-ins.
  • OpenVPN (openvpn_audit): server.conf and server/*.conf: missing tls-auth/tls-crypt, BF-CBC/DES/none, SHA1/MD5 HMAC, duplicate-cn and world-writable files.
  • SMTP STARTTLS (smtp_starttls_probe): EHLO for STARTTLS, sends it and, on 220, verifies the upgrade with openssl s_client -starttls smtp, reporting 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. Coverage 81.3%.

1.30.0 — 2026-11-21 — 874a32d

  • MySQL (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.
  • Apache (apache_audit): apache2.conf/httpd.conf, sites-enabled and conf-enabled: ServerTokens Full/OS/Minor, Options Indexes, AllowOverride All, SSLv3/TLSv1 (including +TLSv1 forms), ServerSignature On and world-writable files.
  • HAProxy (haproxy_audit): stats socket without mode 600, a stats page without stats auth, a bind on port 443 without ssl and a world-writable config.
  • DNSSEC (dnssec_check): gated dig +dnssec for DNSKEY and DS; reports whether RRSIG/DS records exist, the algorithm and the decoded key size, and flags unsigned domains, RSASHA1 and RSA keys below 2048 bits.
  • The shared conf_value reader now also matches valueless directives, which is how skip-grant-tables is written.
  • Tests with vulnerable and hardened trees for all three daemons plus a DNS agent serving 2048-bit RSA, 1024-bit RSASHA1 and an unsigned zone. 802 checks. Coverage 81.2%.

1.29.0 — 2026-11-21 — 9c9fa1e

  • Postfix (postfix_audit): parses main.cf (root prefix) for 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 (nginx_audit): parses 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 (redis_config_audit): parses redis.conf: missing requirepass, protected-mode no, bind on 0.0.0.0/*/::, enabled debug command, data directory in /tmp or /dev/shm and world-writable config. The password value is never echoed, only whether it is set.
  • One shared conf_value reader accepts key value, key = value, skips comments and strips semicolons and quotes.
  • Tests with vulnerable and hardened trees for all three daemons. 786 checks. Coverage 81.2%.

1.28.0 — 2026-11-21 — 4d21af6

  • WinRM (winrm_probe): one unauthenticated GET to /wsman (5985, TLS on 5986); 401/405 with a Negotiate/NTLM/Kerberos challenge identifies WinRM; the response is evidence on a hit.
  • snmpd (snmpd_audit): parses snmpd.conf (root prefix) for rocommunity, rwcommunity, community and com2sec; lists each community with its mode and flags rw communities, public/private/default strings and com2sec rules that accept any source.
  • rsyslog (rsyslog_audit): parses rsyslog.conf and rsyslog.d (root prefix): remote targets (@@ TCP, @ UDP), world-writable configs and whether a dedicated auth/authpriv rule exists; flags missing auth logging and missing remote forwarding.
  • Tests with a WinRM 401 fixture, a plain HTTP server, an snmpd.conf and full and sparse rsyslog trees. 776 checks. Coverage 81.0%.

1.27.0 — 2026-11-21 — 0bfd945

  • Kerberos (kerberos_discovery): gated dig SRV queries for _kerberos._tcp, _kerberos._udp and _kpasswd._tcp, reporting priority, weight, port and target for each KDC (trailing dot trimmed).
  • NFS (nfs_exports_audit): /etc/exports and /etc/exports.d (root prefix): count exports and flag world exports (*), writable exports (no ro) and no_root_squash, with file and line.
  • Samba (samba_audit): smb.conf (root prefix): shares exposing /, guest access, writable shares and guest shares without valid users.
  • Tests with a DNS SRV agent, an exports tree and an smb.conf. 765 checks. Coverage 81.0%.

1.26.0 — 2026-11-21 — 19b3696

  • HTTP/2 (http2_probe): over TLS, openssl s_client -alpn h2 and the negotiated ALPN protocol; over cleartext, the HTTP/2 client preface plus a SETTINGS frame, reporting the first frame type. One handshake or one preface.
  • SSH host keys (ssh_hostkey_fingerprint): runs ssh-keyscan (rsa, ecdsa, ed25519) or parses a saved scan output, decodes each base64 blob and reports key type, bit size and SHA256: fingerprint (base64, unpadded).
  • Blue (logrotate_audit): /etc/logrotate.conf and logrotate.d (root prefix): world-writable configs, rotate counts of two or fewer, missing compress and postrotate commands from /tmp or downloading code.
  • Tests with an ALPN h2 TLS server, an h2c SETTINGS server, constructed SSH key blobs with independently computed fingerprints and a logrotate tree. 756 checks. Coverage 80.8%.
  • Fixture lesson: the scope must allow port 22 for the offline SSH key parse, because the gate runs before the output-file branch.

1.25.0 — 2026-11-21 — 492b29d

  • OIDC (oidc_discovery): fetches /.well-known/openid-configuration and the OAuth authorization-server metadata, reporting issuer, authorization, token, JWKS and userinfo endpoints; the document is saved as evidence.
  • security.txt (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 with OIDC metadata, fresh and expired security.txt and a known_hosts tree. 747 checks. Coverage 80.8%.

1.24.0 — 2026-11-21 — 2afb34e

  • NTP monlist (ntp_monlist_probe): sends the 8-byte mode-7 MON_GETLIST request and reports a mode-7 reply larger than the request as monlist enabled, with an entry estimate ((len-8)/72) and the amplification factor. One request, no follow-up.
  • DNS version (dns_version_bind): gated dig for CHAOS TXT version.bind and hostname.bind; any answer is a version/hostname disclosure.
  • Blue (usb_audit): reads /sys/bus/usb/devices (root prefix): vendor and product IDs, manufacturer, product, serial, and whether any interface reports bInterfaceClass 08 (mass storage). Storage devices are flagged; nothing is opened or mounted.
  • Tests with a mode-7 agent (active and silent), a CHAOS TXT agent and a USB sysfs tree. 737 checks. Coverage 80.6%.

1.23.0 — 2026-11-21 — 260fe8c

  • ESP image (esp_image_verify): walks the segment table (load address, length), XORs the segment data against the stored checksum, aligns to 16 bytes, and when hash_appended is set compares the appended SHA-256 with the computed digest of the image up to the padding. Reports segments, entry, checksums and a valid flag; offset supports OTA partitions.
  • CRLF (crlf_probe): injects an encoded CRLF + X-Apex-Injected: yes through one parameter (GET/POST) and checks whether the response carries the header; the response is evidence on a hit.
  • Blue (audit_rules): parses /etc/audit/audit.rules and rules.d/*.rules (root prefix): rule count, -e 2 immutability, an execve rule and watches on /etc/passwd, /etc/shadow, /etc/sudoers and /etc/group; reports missing watches, a missing execve rule and unlocked rules.
  • Tests with a generated ESP image (valid and corrupted), CRLF-reflecting and filtering endpoints, and full/sparse audit rule sets. 728 checks. Coverage 80.5%.
  • Fixture lesson: the ESP image header is exactly 24 bytes; three extra filler bytes shifted every segment and made the first verify look broken.

1.22.0 — 2026-11-21 — 6c618bf

  • SMTP relay (smtp_open_relay): EHLO, MAIL FROM an .invalid sender, RCPT TO an external recipient; 250/251/252 means the server relays without authentication. DATA is never sent, so no mail leaves the server; 530 is reported as an auth requirement.
  • DNS resolver (dns_open_resolver): one gated recursive dig against an in-scope server; an answer means the resolver is open (amplification risk).
  • AppArmor (apparmor_audit): reads the profile list (root prefix), counts enforce/complain and names complain profiles; flags an AppArmor with no active profile.
  • SELinux (selinux_audit): enforce file, SELINUX=/SELINUXTYPE= and the boolean count; flags disabled, permissive and a host without SELinux.
  • Tests with SMTP relay/refusing fixtures, DNS recursive/refusing agents, AppArmor profile and SELinux trees. 717 checks. Coverage 80.4%.

1.21.0 — 2026-11-21 — 930b356

  • SMB shares (smb_shares): after the anonymous SMB 2.1 session, tries TREE_CONNECT for 14 common share names (IPC$, C$, ADMIN$, users, data, backup, public, www, home, share, files, tmp, downloads, media) and reports the reachable ones with their NT status. No listing and no file access.
  • E-mail security (email_security_audit): gated dig queries for SPF, DMARC (_dmarc), DKIM (selector._domainkey) and MX; reports records, SPF policy (-all/~all/?all/+all), DMARC p= and the gaps (missing records, +all, p=none).
  • Blue (www_audit): walks /var/www, /srv/www and /usr/share/nginx/html (optional root prefix) for world-writable files and directories, .env/ wp-config/config.php/.htpasswd/id_rsa, backups (.bak/.old/.sql/.zip/.tar.gz), .git directories and directories without an index.
  • The tool table hit its 128-slot cap again at 130 tools; it is now 192.
  • Tests with an SMB share fixture (allow/deny), a UDP DNS TXT/MX agent and a web-root tree. 706 checks. Coverage 80.3%.

1.20.0 — 2026-11-21 — 99649e2

  • TLS cipher matrix (tls_cipher_matrix): one openssl s_client per weak cipher (3DES, RC4, NULL, EXPORT, CBC by default) for TLS 1.2 or 1.3; reports which suites negotiate. Gate checked once, then the handshakes run.
  • SMB null session (smb_null_session): negotiates SMB 2.1, attempts an anonymous SESSION_SETUP with an empty security buffer and, on success, a TREE_CONNECT to IPC$. Reports session status/id and IPC$ access; no share enumeration and no file access.
  • Docker (docker_audit): docker.sock mode (world-writable is critical), docker group members from /etc/group, and daemon.json (TCP hosts, TLS, insecure registries); no daemon call.
  • Tests with a TLS server accepting AES128-SHA, an SMB2 server that allows and one that refuses the anonymous session, and a Docker fixture tree. 695 checks. Coverage 80.1%.
  • Two fixture bugs caught: the SMB negotiate helper already adds a NetBIOS header (double wrapping shifted the SMB2 header by four bytes), and the Docker JSON closed the daemon object twice.

1.19.0 — 2026-11-21 — 5392f91

  • ESP app (esp_app_info): parses an app image header (magic 0xE9, segment count, entry address) and the esp_app_desc_t at 0x20 (magic 0xABCD5432): version, project name, build time/date, IDF version and ELF SHA-256. The offset can point at an OTA partition in a full dump.
  • API auth (api_auth_audit): GETs a caller-supplied endpoint list without credentials and reports status, size, 2xx vs 401/403, JSON content type and saves open responses as evidence.
  • Cache (cache_audit): fetches a path clean and with a marker parameter, compares Cache-Control/Pragma/Age/Vary/X-Cache and flags a cacheable parameterized response and a cacheable response without Vary.
  • Blue (log_timeline): normalises auth-log and access-log timestamps to YYYYMMDDHHMMSS (current year for auth), merges and sorts them, returns the first N entries with source tags; paths limited to /var/log and the state dir.
  • Tests with an app image, API/cache HTTP fixtures and two log files. 686 checks. Coverage 79.9%.

1.18.0 — 2026-11-21 — d966fa9

  • RPC (rpc_probe): one ONC RPC CALL to the portmapper (program 100000, version 2, procedure DUMP) with a hand-built XDR message; decodes the mapping list (program, version, protocol, port) and names common services (portmapper, nfs, mountd, nlockmgr, ypserv). No export is mounted.
  • NTP (ntp_probe): one NTPv4 client packet (mode 3); parses version, mode, leap indicator, stratum, reference id (trailing NUL trimmed), root delay/dispersion in milliseconds and the transmit time. No monlist.
  • SSH config (ssh_config_audit): scores sshd_config for root login, password auth, empty passwords, X11 forwarding, GatewayPorts, PermitTunnel, MaxAuthTries and legacy Ciphers/MACs/KexAlgorithms; optional root prefix.
  • PAM (pam_audit): scans /etc/pam.d for pam_permit, pam_unix nullok, pam_exec and reports when neither pam_faillock nor pam_tally2 provides lockout; optional root prefix.
  • Tests with a UDP portmapper agent, a UDP NTP agent, an sshd_config tree and a pam.d tree. 674 checks. Coverage 79.7%.

1.17.0 — 2026-11-21 — 816fd0f

  • CSRF (csrf_audit): fetch one page, list its forms (action, method, input count) and flag forms without an input whose name contains csrf, token or nonce; the page is saved as evidence.
  • Kernel (kernel_hardening): reads 12 sysctls (ASLR, kptr_restrict, dmesg_restrict, perf_event_paranoid, unprivileged_bpf_disabled, ptrace_scope, protected_hardlinks/symlinks, suid_dumpable, modules_disabled, bpf_jit_harden) plus core_pattern, scores them and reports each weak value; optional root prefix for a mounted image.
  • Sudoers (sudoers_audit): /etc/sudoers and /etc/sudoers.d, flagging NOPASSWD, !authenticate, broad ALL=(ALL), direct user rules and world-writable files.
  • auditd (auditd_audit): event type counts, AVC denials, failed USER_AUTH/USER_LOGIN/USER_ACCT, top exe paths and audit keys from an auditd log under /var/log or the state directory.
  • Fixed evidence ordering: sort by mtime and nanoseconds before the filename, so two blobs written in the same second no longer flip order (a flake the coverage build exposed).
  • Tests with a sysctl tree, a sudoers tree, a two-form page and an auditd log. 663 checks. Coverage 79.7%.

1.16.0 — 2026-11-21 — 4018eb0

  • SNMP walk (snmp_walk): GETNEXT over 1.3.6.1.2.1.1 for up to 30 steps, decoding the returned OID and its value (string, integer, timeticks, counter, IP address, OID). Reports sysDescr, sysObjectID, sysUpTime, sysName and friends.
  • LDAP search (ldap_search): anonymous bind, namingContexts resolved from the rootDSE when no base is given, then one subtree search (scope 2, size limit 20) for present(objectClass); collects the DNs with cn/uid/mail.
  • OpenAPI discovery (openapi_discovery): six usual spec paths; reports version, info title and the number of paths, saving the document as evidence.
  • Blue (systemd_audit): unit files under /etc/systemd/system and /usr/lib/systemd/system (optional root prefix): ExecStart in /tmp, /dev/shm or /var/tmp, service units without User=, world-writable unit files and the number of .wants/.requires links.
  • Tests with local fixtures: a UDP SNMP agent returning a GETNEXT chain with string/OID/timeticks values, an LDAP server with rootDSE plus two subtree entries, an OpenAPI endpoint and a systemd tree. 649 checks. Coverage 79.5%.
  • Two parser bugs the fixtures caught: the system OID prefix is 14 characters (not 15), and the rootDSE search answer includes a searchResultDone that must be drained before the subtree response is read.

1.15.0 — 2026-11-21 — c38cbcc

  • HTTP methods (http_methods): OPTIONS for the Allow list and Server header, TRACE for echo detection (cross-site tracing). PUT/DELETE are named if Allow advertises them but never sent.
  • WebSocket (websocket_probe): GET with Upgrade/Connection and a random Sec-WebSocket-Key; reports 101, Upgrade, Connection and Sec-WebSocket-Accept. No frame is sent.
  • IKEv2 (ike_probe): one IKE_SA_INIT with an SA proposal (AES-CBC-128, HMAC-SHA2-256, DH group 14) over UDP; reports version, exchange type, the first notify (NO_PROPOSAL_CHOSEN, INVALID_KE_PAYLOAD, ...) and the responder SPI. No PSK and no authentication.
  • Blue (firewall_audit): runs nft list ruleset or iptables-save (or parses a saved dump), reporting chain and rule counts and every chain whose default policy is ACCEPT. Local process only (LOCAL_EXEC exception).
  • Tests with local fixtures: an HTTP server for OPTIONS/TRACE/101 upgrade, a UDP IKEv2 agent answering with NO_PROPOSAL_CHOSEN, and nft and iptables-save ruleset dumps. 639 checks. Coverage 79.4%.

1.14.0 — 2026-11-21 — d829955

  • ESP32 offline analysis (tools_esp.c): esp_partition_table parses the 32-byte partition entries at 0x8000 (magic 0xAA50) with type/subtype names, offset, size, flags and the MD5 entry. esp_nvs_parse reads NVS pages (version byte 0xFE) and reports namespaces (type 0x01, nsIndex 0) plus every key with its namespace, type and span. firmware_scan reports signatures (ESP app header 0xE9, partition table, NVS page, littlefs/spiffs/FAT32, PEM certificates), 4 KiB block entropy (integer-only log2) and printable strings. All read a local dump with size caps; no device is touched.
  • Blue (mount_audit): parses a mount table and flags /tmp, /var/tmp and /dev/shm without nosuid/nodev/noexec and /home, /run/user, /media, /mnt without nosuid/nodev, with the missing option list and a severity.
  • Tests with locally built binary fixtures: a partition dump with two entries and an MD5 record, an NVS page with one namespace and two keys, a firmware image with all four signatures plus a random high-entropy block, and a mount table with hardened and unhardened entries. 627 checks. Coverage 79.4%.

1.13.0 — 2026-11-21 — 4962002

  • POP3 (pop3_probe): banner, CAPA capability list (STLS flagged), then QUIT. No USER/PASS and no login.
  • SIP (sip_probe): one UDP OPTIONS with a generated Via/From/To/Call-ID, then the status line, Server header and Allow method list from the answer.
  • Telnet (telnet_probe): reads the banner and decodes IAC WILL/WONT/DO/ DONT option negotiations (subnegotiations skipped) and sends nothing.
  • Blue (package_integrity): runs dpkg -V (optionally for one package) or rpm -Va/-V, parses changed files with their status flags, and can parse a saved verify output from a mounted image instead. It is a local process, so the gate audit's LOCAL_EXEC exception covers it.
  • Tests with local fixtures: a POP3 server with TOP/STLS/SASL, a UDP SIP agent answering 200 with Server/Allow, a Telnet server sending IAC DO/WILL plus banner text, a saved dpkg verify output, and a live dpkg -V bash run. 615 checks. Coverage 79.4%.

1.12.0 — 2026-11-21 — c8598f8

  • Docker (docker_api_probe): queries /version and /containers/json?all=1 without credentials and reports engine/API version, OS, container and running counts, container names and images. An open API is audited; 401/403 is reported as protected; the version reply is evidence.
  • Elasticsearch (elasticsearch_probe): GET /, /_cluster/health and /_cat/indices without credentials; reports cluster name, version, tagline, health, node and index counts, and treats 401/403 as protected.
  • IMAP (imap_probe): banner, CAPABILITY list, STARTTLS and LOGINDISABLED flags, then LOGOUT. No LOGIN; plain IMAP only.
  • Blue (module_audit): reads /proc/modules, the per-module taint letters in /sys/module/<name>/taint and /proc/sys/kernel/tainted, decodes the taint bits and lists every tainted module; all three paths can point at a mounted image.
  • The tool table grows to 128 slots (g_tools[128]) so the next tools fit.
  • Tests with local fixtures: Docker open and 401, Elasticsearch root/health/ indices, an IMAP server with STARTTLS+LOGINDISABLED, and a fake module tree with two tainted modules and taint value 12289. 605 checks. Coverage 79.5%.

1.11.0 — 2026-11-21 — 48ca583

  • VNC (vnc_probe): reads the RFB version, echoes it, then reads the offered security types (3.7/3.8 list or 3.3 single type), names each one and flags None authentication (audited). A zero-length list reports the server's reason string. No authentication is attempted.
  • MQTT (mqtt_probe): sends one MQTT 3.1.1 CONNECT with a clean session and no username/password, reads the CONNACK return code, disconnects, and reports an anonymous broker (code 0) or the refusal reason.
  • GraphQL (graphql_probe): POSTs a compact introspection query and reports whether the schema is exposed, the type count, the query/mutation type names and a reason when introspection is disabled or the endpoint is missing; a successful dump is saved as evidence.
  • Blue (cap_baseline): create/verify a baseline of Linux file capabilities (security.capability xattr) under the same system paths as the SUID baseline, reporting new, gone and changed capability sets.
  • Tests with local fixtures: RFB 3.8 with None+VNC auth, RFB 3.3 and a zero-security-type server, MQTT brokers answering 0 and 5, a GraphQL endpoint with a small schema plus a disabled and a missing one, and a capability tree (the fixture cannot set real capabilities without CAP_SETFCAP, so the diff is exercised through a fabricated baseline entry). 593 checks. Coverage 79.3%.

1.10.0 — 2026-11-21 — f2a1fb4

  • RDP (rdp_probe): sends an X.224 Connection Request with an RDP negotiation request for TLS|CredSSP (and the rest), parses the Connection Confirm for the selected protocol (RDP, TLS, CredSSP, RDSTLS, HYBRID_EX) and reports whether NLA is in use or the negotiation failure code. No logon.
  • SMB (smb_probe): sends an SMB2 NEGOTIATE offering 2.0.2, 2.1, 3.0, 3.0.2 and 3.1.1, then reports the selected dialect, signing required/enabled, capabilities, maximum sizes and the server GUID; an SMB1 answer is reported as such. No session and no authentication.
  • Blue (suid_baseline): create/verify a SHA-256 manifest of SUID/SGID files under /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin, /bin and /sbin (symlinked directories skipped). Verify reports planted, removed and mode/hash-changed setuid binaries; optional root prefix for a mounted image.
  • Tests with local fixtures: RDP negotiators that select CredSSP and that fail, an SMB2 server answering 3.1.1 with signing and a GUID, and a SUID tree where one file is planted, one removed and two change. 579 checks. Coverage 79.8%.
  • The SUID fixture exposed a real kernel behaviour worth remembering: writing to a setuid file clears its setuid bit, so a modified binary shows up as "gone" (and as a new file only if it is made setuid again).

1.9.0 — 2026-11-21 — 60075eb

  • SSTI (ssti_probe): five payloads ({{1337*7}}, ${1337*7}, #{1337*7}, <%= 1337*7 %>, {{1337*'7'}}) with expected outputs; a baseline request first rejects pages that already contain the numbers. Reports evaluation (with the likely engine), reflection or template errors, GET query or POST form, evaluations saved as evidence.
  • XXE (xxe_probe): POSTs XML with a DOCTYPE external entity that points at a loopback listener this process opens, in element and attribute form (optionally wrapped in a form field). A callback proves the parser resolved the entity; parser error signatures are reported too.
  • LDAP (ldap_probe): LDAPv3 anonymous simple bind, then a rootDSE search (baseObject "", scope base, present(objectClass)); reports namingContexts, vendorName, supportedLDAPVersion and the other attributes. An accepted anonymous bind is audited.
  • Blue (ssh_key_audit): authorized_keys under /etc/ssh, /root/.ssh, /home//.ssh and the state dir, plus private keys (id_ and /etc/ssh/ssh_host_*_key). Flags unrestricted entries, ssh-rsa/ssh-dss, duplicate keys and private keys accessible beyond their owner; optional root prefix audits a mounted image.
  • Tests with local fixtures: a template engine that evaluates Jinja and EL payloads, an XML endpoint that fetches the external entity, LDAP servers that accept and reject the anonymous bind with a rootDSE, and an SSH key tree with restricted/unrestricted/duplicate/weak keys and three private-key modes. 569 checks. Coverage 80.1%.

1.8.0 — 2026-11-21 — dfcc534

  • Red, web input (tools_red.c): param_fuzz sends three benign probes per parameter (unique marker, single quote, {{1337*7}}) through GET query or POST form and reports marker reflection, SQL error strings, stack traces, template errors and template evaluation (9359); 10 parameters, 100 ms apart, first hits saved as evidence. open_redirect sends an external marker URL and a protocol-relative variant through one parameter and checks Location or a meta refresh. host_header_injection sends a .invalid canary as Host (plain HTTP) and X-Forwarded-Host and reports body/Location reflection with the baseline status and size.
  • Blue: net_baseline builds and verifies a baseline of listening TCP ports with the process that owns each socket (/proc/net/tcp{,6} plus /proc/<pid>/fd), reporting new ports, vanished ports and process changes.
  • Tests with a local web fixture (reflecting endpoint, SQL error on quote, template evaluation, redirect, Host echo, static pages), plus a real socket-open/socket-close pair around the port baseline. 553 checks. Coverage 79.9%.

1.7.0 — 2026-11-21 — 276283d

  • MySQL (mysql_probe, new tools_db.c): parses the initial handshake — protocol version, server version, thread id, auth plugin and the capability flags (TLS, secure connection, plugin auth). No credentials are sent.
  • PostgreSQL (postgres_probe): a separate SSLRequest learns whether SSL is offered (S/N/refused), then one StartupMessage as user postgres reports trust, cleartext, md5, SCRAM (with mechanism) or rejected (with the server's message). A trust answer is audited; no password is sent.
  • MongoDB (mongo_probe): legacy OP_QUERY isMaster on admin.$cmd with a hand-built BSON document; the OP_REPLY is parsed for ok, maxWireVersion, writable primary and a version string.
  • Memcached (memcached_probe): one stats command; reports open access, version, current connections/items, memory limit and uptime.
  • Socket I/O helpers apex_net_write/line/exact exported from tools_proto.c so tools_db.c does not duplicate them.
  • Tests with local fixtures: a MySQL handshake, PostgreSQL servers for trust, md5, SCRAM and a pg_hba rejection plus SSL-refused, a MongoDB OP_REPLY and a memcached stats server (and one that answers ERROR). 537 checks. Coverage 79.6%.

1.6.0 — 2026-11-21 — 539b552

  • TLS (tls_audit): four openssl s_client runs (TLS 1.0, 1.1, 1.2, 1.3) plus one -showcerts run. Reports which versions negotiate, the cipher each picks, flags TLS 1.0/1.1 and RC4/3DES/NULL/EXPORT/MD5 ciphers, and pulls the first certificate through openssl x509 for subject, issuer, validity and DNS SANs. A failed handshake prints a session block too, so the tool keys on New, ..., Cipher is ... and treats (NONE) as failure.
  • Redis (redis_probe): one connection, PING; if it answers without AUTH, also INFO and DBSIZE. Reports open access (audited), version, role, connected clients and database size. It does not guess passwords.
  • SNMP (snmp_probe): a hand-built SNMPv1/v2c GET for sysDescr.0 over UDP, two attempts per community (default public, private; max 4); the raw answer is saved as evidence. No net-snmp dependency.
  • DNS (dns_zone_transfer): dig AXFR against one in-scope server for one in-scope zone, with record counts per type, up to 200 raw records, the full output as evidence, and explicit refused/unreachable reasons.
  • Shared gated_run() helper: gate, audit, run and hand the output back, so multi-command tools keep one gate call per command path.
  • Tests with local fixtures: a Python TLS server with a generated certificate, open and AUTH-required Redis servers, a UDP SNMP agent answering only public, an AXFR server with SOA/NS/A records and a refusing variant, plus the out-of-scope paths. 522 checks. Coverage 79.9%.

1.5.0 — 2026-11-21 — b35500f

  • Red, protocols (tools_proto.c): ftp_probe reads the 220 banner, asks FEAT and tries the literal anonymous pair (USER anonymous / PASS anonymous@apex.invalid), reporting both reply codes and auditing acceptance. smtp_probe reads the banner, sends EHLO and lists the extensions, then VRFYs a small user list (default root, admin, postmaster; max 8) and classifies each as exists/unknown/cannot-verify/disabled. ssh_audit parses the KEXINIT name-lists (kex, host key, ciphers, MACs both ways) and flags group1/group14-sha1, ssh-rsa, ssh-dss, 3des-cbc, arcfour, blowfish, cast128, hmac-md5 and sha1-96. One connection each; no authentication beyond the anonymous FTP pair; no brute force.
  • Blue: persistence_audit reads /etc/crontab, /etc/cron.d, /var/spool/cron/crontabs, /var/spool/cron/atjobs and /etc/systemd/system (services and timers) and flags entries that run from /tmp, /dev/shm or /var/tmp, pipe curl/wget into a shell, decode base64 into a shell, use nc -e/socat, start bash -i or setuid chmod. The optional root prefix audits a mounted image.
  • Tests with local fixtures: allowing and refusing FTP servers, an SMTP server with three VRFY answers, a modern and a deprecated SSH KEXINIT, and a persistence tree with four malicious and three clean entries. 506 checks. Coverage 79.8%.
  • Two parser bugs found by the fixtures: SSH name-lists start at offset 18 (pad byte + message type + cookie), and FTP FEAT continuation lines carry no reply code, so they need their own reader.

1.4.0 — 2026-11-21 — 4de26b9

  • Red, offline: jwt_audit decodes header and payload, reports alg/typ/kid and iss/aud/sub/exp/iat/nbf, and flags alg=none (critical), a missing exp, an expired token, a path-like kid, a missing audience/issuer and a validity over a year. With secret= it verifies HS256 with HMAC-SHA256 (new raw digest and HMAC helpers in sha256.c) and reports valid/invalid. hash_id recognises MD5/NTLM, SHA-1/256/512, bcrypt, Argon2, crypt(3) formats and JWTs; it does not crack anything.
  • Blue, offline: mitre_map maps findings to ATT&CK techniques (T1190, T1059.007, T1078, T1213, T1557, T1185, T1046, T1590) and lists the finding id per technique. process_snapshot reads /proc: name, exe, fd count, and flags executables under /tmp, /dev/shm or /var/tmp, deleted executables, reverse-shell command lines and >256 open files.
  • Fixed the tool table capacity: g_tools[64] silently dropped tool number 65; it is now 96.
  • Tests: HS256 valid/invalid, alg=none and expired tokens, path-like kid, hash shapes, ATT&CK mapping with real finding ids, and a spawned process with nc -e in its command line caught by the snapshot. 490 checks. Coverage 79.9%.

1.3.0 — 2026-11-21 — 8e6f075

  • Red: ssrf_probe injects one parameter with a URL that points at a loopback listener this process opens (or at a callback_base collector) and reports a callback only when a request actually arrives, with the request line saved as evidence. Three host variants (127.0.0.1, localhost, 127.1) and unique tokens; GET query or POST form. It never targets metadata endpoints.
  • Blue: detect_rules writes one Sigma, one Suricata and one YARA skeleton per finding under $APEX_HOME/detections/, carrying id, title, target and severity, and says outright that the rules need tuning. integrity_baseline creates and verifies a SHA-256 manifest (new sha256.c) and reports changed, missing and added files without external tools.
  • Hardware: esp_flash runs esptool write_flash only with confirm=true, an absolute image path (1 byte..16 MiB) and offset range checks, and audits every attempt.
  • Tests: a fetch-performing target for SSRF (and one that ignores the URL), two findings turned into six rule files with content checks, a baseline that sees one changed, one missing and one added file plus the SHA-256 "abc" vector, and the three esp_flash refusal paths. 476 checks. Coverage 79.4%.

1.2.0 — 2026-11-21 — 2935b75

  • Red: vhost_discovery fuzzes the Host header against one in-scope IP (built-in list or names=), diffs status, byte count and <title> against a baseline, and saves each deviation as evidence; plain HTTP only. http_brute probes hidden paths from a built-in list, a comma list or a wordlist file (comments allowed), treats 200/201/204/3xx/401/403 as hits, waits 100 ms between requests and saves the first five 200/201 responses as evidence.
  • Blue: web_log_audit reads an nginx/apache access log: 2xx/3xx/4xx/5xx split, top IPs, scanner user agents (sqlmap, nikto, nmap, gobuster, nuclei, ...), SQLi/traversal/XSS patterns after percent-decoding the URI (deduplicated per pattern) and source IPs with a 4xx/5xx burst.
  • Tests with local fixtures: a Host-routing origin, a path-routing origin with a wordlist file, and a synthetic access log with encoded SQLi and traversal. 456 checks. Coverage 79.6%.

1.1.0 — 2026-11-21 — da4d9ab

The suite grows from reconnaissance into a red/blue/hardware toolset. No existing tool changed behaviour or file format.

  • Red (tools_red.c): vuln_check verifies exposed .git/HEAD, .env, directory listing and phpinfo non-destructively and saves the response as evidence (only .env key names are returned, never values); subdomain_enum resolves a built-in wordlist or your names under one in-scope domain, gate checking every name before the lookup; cred_test tries HTTP Basic default credentials, capped at 20 attempts with a 200 ms pause, stopping on 429 and refusing a path that answers without authentication.
  • Blue (tools_blue.c): hardening_audit scores sshd_config, sysctl, /etc/shadow mode, world-writable /etc directories, listening sockets, firewall files and SUID count; log_audit summarises auth-log failures per IP and flags five or more; ioc_scan walks a directory for reverse-shell, decode-and-run, netcat, setuid and systemd-under-/tmp strings.
  • ESP32 (tools_esp.c): esp_info (esptool chip_id plus USB VID/PID), esp_monitor (read the console, send nothing), esp_read_flash (dump up to 4 MiB into evidence/). Flashing is deliberately not included.
  • Gate audit pins 54 tools and has a named exception for the two ESP tools that spawn a local esptool without a network target.
  • Tests: local fixtures for all of it (exposed/clean origin, Basic-auth server with success/failure/429, auth-log file, IOC directory, PTY console). 439 checks. Coverage 79.0%.

1.0.4 — 2026-11-21 — 32ece44

  • License changed to CNCL 1.1 (Could Not Care Less License); LICENSE carries the unchanged text, and README, SECURITY.md and the man page say so.
  • README rewritten for a first-time reader: what the gate does and in which order, quick start, all 45 tools by group, proxy/rewrite, findings and reports, state layout, security model, limits, build and release targets, install layout, environment, source layout and the 1.x promise.
  • Scope gap tests: deny_ip beating allow_ip, port range endpoints and their neighbours, a /25 boundary, IPv6 CIDR accept/refuse, apex vs subdomain vs wildcard domain matching (including *.name not matching the apex), an embedded host:port, a trailing FQDN dot, and a failed scope_reload closing the gate. Coverage 78.7% -> 79.4%; scope.c 75.9% -> 82.8%. 397 checks.

1.0.3 — 2026-11-21 — 186d5d8

  • Fixed tls_cert: it called openssl s_client -connect 443, i.e. a bare port, so openssl tried to resolve "443" as a host and every call failed. It now passes host:port (bracketing IPv6 literals). Found by the new gap test that asserts a certificate chain and Verify return code: 0.
  • Coverage gap tests: the guard rule table (16 deny rules plus the world-writable, upload and secret-file notes), the process paths (a fake nmap that outlives its timeout, 1.2 MB output truncation, a failed exec as exit 127, apex_have refusing a program outside PATH), http_paths base/limit handling, and proxy rewrite edges (header replacement instead of duplication, wildcard host, invalid rule file keeping the last good set).
  • Coverage 77.1% → 78.7%; proc.c 66.9% → 73.9%, guard.c 72.5% → 83.0%, tools_recon.c 69.3% → 72.8%. 373 checks.

1.0.2 — 2026-11-21 — 12ef98f

  • Fixed the rare "empty stdout, rc=0" flake in the suite. Root cause was the test harness, not the server: MarauderSim.close() freed the PTY fd numbers while its reader thread might still be inside select(). The next mkstemp() reused a number, the thread read and discarded the subprocess payload, and the child saw EOF, exited 0 and answered nothing. Measured 28% per close-then-spawn round, which matches the observed frequency and the fact that only the dry-run call right after the last simulator close ever failed.
  • close() now joins the reader and prompter threads before closing the fds; the reader also refuses to touch the fd after stop is set.
  • tests/run.py repeats close-then-spawn twelve times and asserts no thread is left and no spawn loses its stdin. Without the fix: 12/12 threads alive and 6/12 spawns lost. The one-shot retry is removed, so empty stdout fails again.
  • No product-code change; 45 tools, 336 checks.

1.0.1 — 2026-11-21 — fa8f258

  • tests/version_check.py makes the five places that carry a version agree with APEX_VERSION: the man page .TH, the README status line, the top CHANGELOG heading, the SECURITY supported line and the Makefile tarball name. It runs first in tests/run.sh and at the top of make release-check.
  • Why: SECURITY.md claimed 0.23.x while the tree was at 0.30.0 for seven releases, because nothing compared the two.
  • No functional change. 45 tools, 334 checks, 340 fuzz cases.

1.0.0 — 2026-11-21 — 2d7eb03

First stable release. No functional change from 0.30.0: this version is the version and the stability statement.

What 1.0 promises:

  • Every tool that names a target goes through the gate. tests/gate_audit.py enforces that statically, before the suite runs.
  • The audit line is written before the action, and audit lines are one write().
  • The on-disk JSON formats for findings, assets and traffic only gain fields. Older files are read (a missing status is open), unknown fields are ignored, and reports stay derived artefacts rather than a second store.
  • The documented limits are explicit: 8 MiB HTTP body, 1 MiB proxy chunked body, 1 MiB captured proxy response, 16 MiB evidence, 10 MiB audit rotation, 64 proxy/HTTP children each, 20 s HTTP request deadline.
  • State from 0.x is readable; back up audit.log and evidence/ before any major upgrade anyway.

What 1.0 does not promise:

  • No shell, no exploit, no post-exploitation, no database reads.
  • No TLS interception: CONNECT is a blind tunnel.
  • No agent loop, no database, no web UI: the MCP client is the agent.

45 tools, 334 end-to-end checks, 340 fuzz cases, 76.9% line coverage, and a release gate (make release-check) that runs all of it.

0.30.0 — 2026-11-21 — b4af387

  • make install ships the documentation set: README, CHANGELOG, SECURITY, operations and the ARTEX port map in $PREFIX/share/doc/apex-twin/, plus a new apex-twin(1) man page in $PREFIX/share/man/man1/.
  • docs/apex-twin.1 covers modes, scope rule order, every environment variable and limit, the state files, examples and a pointer to the longer docs. mandoc -T lint is clean.

0.29.0 — 2026-11-21 — eebec07

  • APEX_EVIDENCE_MAX_BYTES (default 16 MiB, 0 unlimited) caps evidence_save. An oversized call returns a clear error naming the variable, writes no file, and is audited as a deny. --check and capabilities report the limit.
  • Tests: 500 bytes under a 1000-byte cap is written; 2000 bytes is refused, no second file exists, the audit has the deny, and a limit of 0 accepts it. Red proof: disabling the check gives four red checks.

0.28.0 — 2026-11-21 — d4192f9

  • The MCP HTTP face is bounded like the proxy: APEX_HTTP_MAX_CHILDREN (default 64, max 1024) with SIGCHLD reaping and a 503 http busy + audit at the cap.
  • APEX_HTTP_HEAD_TIMEOUT_MS (default 20000) bounds the whole request head and body with a poll deadline; a half-sent request is answered 408 and closed. Rejections half-close and drain before close so the response is not lost to RST. --check and capabilities report both values.
  • Tests: with a cap of 1 a held partial request makes the second answer 503, and the slot is reused after close; with a 500 ms head timeout a half-sent head is closed with 408 in under 2.5 s. Red proof: disabling both turns the two checks red.

0.27.0 — 2026-11-21 — f44df20

  • audit.log rotates to audit.log.1 when it reaches APEX_AUDIT_MAX_BYTES (default 10 MiB, 0 disables). The size is checked again under flock(LOCK_EX) so only one proxy child renames; lines stay one write(). audit_log reads the current file only; back up both.
  • --check and capabilities report audit_max_bytes.
  • Tests: 12 audited calls with a 300-byte cap produce a .1 file, and every line in both files parses as JSON; 0 produces no .1. Red proof: disabling the rotation call makes the rotation and rotated-file checks fail.

0.26.0 — 2026-11-21 — 97c79a7

  • Harness follow-ups in this release window: stdio input is fed from a temp file and a clean-exit-empty run is retried once, loudly (69f941a, 0e86929).

  • finding_add deduplicates: the same target and title (case-insensitive, whitespace runs collapsed, ends trimmed) returns the existing id with duplicate: true, writes no second file, does not touch the stored fields, and audits duplicate of <id>. A different target or title is a new finding.

  • Tests: case/space variant returns f0001, different title gives f0002, same title on another target gives f0003, report counts three, severity stays low, duplicate audited. Red proof: disabling the lookup turns six checks red.

0.25.0 — 2026-11-21 — 0309e04

  • Bound concurrent proxy children with APEX_PROXY_MAX_CHILDREN (default 64, max 1024). SIGCHLD now sets a flag and the parent reaps with waitpid(WNOHANG); at the cap the parent answers 503 proxy busy and audits the refusal instead of forking.
  • --check and capabilities report proxy_max_children.
  • Found by the concurrent test: audit lines were written as two writes (line, then newline). With parallel children they interleaved and audit_log returned invalid JSON. append_line() now writes the line and newline in one call, and audit_tail() reads with getline so a command longer than 8 KiB stays one record.
  • Tests: two slow in-flight requests fill a limit of 2, the third connection gets 503, the audit records the reason, and a slot is usable again after the children exit. Red proof: removing the cap check turns the 503 test and the audit test red.

0.24.0 — 2026-11-21 — 1bb6f95

  • The proxy forks one child per accepted connection: a CONNECT tunnel no longer blocks the next request, and rewrite rules are inherited at fork while SIGHUP reloads them in the parent for later connections.
  • Traffic ids are reserved with O_EXCL on tNNNN.json (raw file created O_EXCL too); concurrent captures cannot overwrite each other.
  • Tests: a GET answers in under 2 s while a CONNECT tunnel is held open, three more parallel GETs all answer, and the five captures have unique ids. Red proof: serial handling fails the two timing checks.

0.23.0 — 2026-11-21 — 17a7a97

  • Add this changelog; every released increment now has a section and a commit.
  • Fix the supported-version line in SECURITY.md (was 0.19.x) and remove the claim that a fixed number can stay true; the authority is apex-twin --version.
  • make dist ships CHANGELOG.md.
  • No code change: 45 tools, 298 checks, 340 fuzz cases, coverage unchanged.

0.22.0 — 2026-11-21 — 7b6f0bf

  • make distcheck: build the tarball, unpack it into mktemp -d, run make and make test there, remove it with a trap.
  • make release-check: fail-fast gate-audit → test → test-asan → analyze → fuzz → fuzz-proxy → fuzz-http → distcheck. Documented cost: 5–10 minutes and the example.com network checks.
  • Verified from a fresh clone.

0.21.0 — 2026-11-21 — 9188ddd

  • tests/gate_audit.py: parses every TOOLS_*[] table and handler body (comments and strings stripped) and enforces that a tool whose schema names a target calls gated()/gated_cmd()/apex_scope_check(), and that a handler using http_once/tcp_connect_host/tcp_probe/apex_run is gated.
  • Four named exceptions for record filters: asset_list, finding_list, report_markdown, traffic_list. Tool count pinned at 45.
  • Wired first in tests/run.sh; make test now runs the audit before the suite.
  • Red proof: renaming the gate call in portscan and finding_add produced three violations and exit 1.

0.20.0 — 2026-11-21 — 6b52bcc

  • docs/operations.md: install/DESTDIR, units and hardening, state and backup, scope lifecycle and rule order, proxy/rewrite/webhook operation, upgrade, limits, troubleshooting.
  • SECURITY.md: trust boundaries, threat model, hardening checklist, non-goals, reporting; a missing gate is the highest-severity report.
  • make dist: apex-twin-<version>.tar.gz from APEX_VERSION, with source, vendor, tests, docs, examples and units; no objects, build dirs, binary or .git. Verified by building and testing the unpacked tarball.

0.19.0 — 2026-11-21 — adf6547

  • report_markdown format=json: filters, counts by severity and status, finding records and optional assets in one machine-readable file.
  • Markdown and CSV unchanged. Red proof: dropping the asset list turned two checks red.

0.18.0 — 2026-11-21 — e1e4670 (fix 32cb05b)

  • PTY Marauder simulator in tests/run.py: positive tests for info, help, list, scanall ending in stopscan, console login: still refused, serial_tx allow/deny.
  • Radio coverage 31.7% → 76.2%; 3 red checks for the guard and the stopscan.
  • Follow-up 32cb05b: clear ECHO on the PTY slave; the line discipline was echoing the simulator's own prompts and made the login test flaky.

0.17.0 — 2026-11-21 — a00bcdb

  • Proxy forwards Transfer-Encoding: chunked unchanged: hex size, extensions, data, trailers, 1 MiB payload cap checked before reading data (413 over, 400 malformed), decided before connecting; capture keeps the framing.
  • Content-Length is dropped when chunked is present. Red proof: disabling chunked handling turned seven checks red.

0.16.0 — 2026-11-21 — a04b072

  • make coverage with -O0 --coverage and tests/coverage.py (gcov, no gcovr). 55.9% → 73.4% with gap tests for method/web/recon/traffic/radio.
  • The -O0 build exposed a real guard.c truncation that -O2 hid; the reason format is bounded now.
  • Proxy and HTTP face shut down gracefully on SIGTERM/SIGINT so coverage data is not lost; HTTP children exit() instead of _exit().
  • Corrected the technique count: 11, not 12.

0.15.0 — 2026-11-21 — ed4e326

  • tests/fuzz_http.py: raw HTTP against --http (Content-Length abuse, chunked, 8.5 MiB body, split head, invalid UTF-8, mutations).
  • The HTTP face forks per connection, so the child's stderr is the judge; a hang is a failure. Red proof: 2 checks red with a deliberate child bug.

0.14.0 — 2026-11-21 — a74aa0f

  • tests/fuzz_proxy.py: mutated raw request heads against the live ASan proxy. ECONNRESET after a rejected head is a close, not a failure; valid requests must still return 200 (counted).
  • Red proof: a deliberate parser overflow produced 3 failure lines.

0.13.0 — 2026-11-21 — 331b6da

  • tests/fuzz.py: deterministic mutations of scope.json, rewrite.json and JSON-RPC lines; any sanitizer report, signal or timeout fails.
  • fuzz-selftest proves the detector with a real out-of-bounds program; fuzz-red builds APEX_FUZZ_BUG and is rejected 3/3.

0.12.0 — 2026-11-21 — be4e833

  • make asan, make test-asan, make analyze (gcc -fanalyzer per TU).
  • The analyzer found a real realloc pattern in vendor/libmcp/mcp.h: the only pointer was overwritten before the NULL check. Fixed with a temporary.
  • Leak batches over error paths, captures and reports: no leaks.

0.11.0 — 2026-11-21 — f385979

  • make install ships binary, README and both units with DESTDIR/PREFIX.
  • --check and capabilities report rewrite_rules and webhook_configured (boolean, never the URL).

0.10.0 — 2026-11-21 — 01dc9f3

  • Proxy request rewriting from $APEX_HOME/rewrite.json (APEX_REWRITE): first matching host/path rule sets/removes headers or blocks; scope still runs first; SIGHUP reload; invalid file rejected whole.
  • Rule named in the traffic note and audited. Red proof: 7 checks red with the matcher disabled.

0.9.0 — 2026-11-21 — 88e7bd0

  • Webhook after a finding at/above APEX_WEBHOOK_MIN_SEVERITY and on the transition into confirmed; notify_test; argv-only curl call; never blocks the finding; not part of the scope gate (operator infrastructure).

0.8.0 — 2026-11-21 — 7db2d11

  • cors_check (reflect+credentials graded high), cookie_audit (Secure/HttpOnly/SameSite), http_options (TRACE/PUT/DELETE), whois (port 43 through the gate).
  • Tests use a local routed origin so the checks are deterministic.

0.7.0 — 2026-11-21 — d81f516

  • --proxy: loopback forward proxy, scope gate before connect, HTTP captured, CONNECT blind tunnel with half-close propagation, 403 with the gate reason.
  • systemd/apex-twin-proxy.service.

0.6.0 — 2026-11-21 — a99da93

  • http_capture stores the request and raw response as one pair; traffic_list/traffic_read read it back (text or base64).
  • Found and fixed a real status_code() bug: the 1 of HTTP/1.1 was read as the status, so path discovery and the probes compared status 1.

0.5.0 — 2026-11-21 — c1eff9e

  • Asset inventory: one file per target, gated on add, merged by target (ports unioned, services latest), atomic update, report asset table.
  • Found an uninitialised struct on the create path while making the merge test red; fixed with memset.

0.4.0 — 2026-11-21 — 8546425

  • Finding lifecycle open/confirmed/false-positive/fixed with finding_update, one writer for add and update, atomic tmp+rename, status and updated in report and CSV, status filter.

0.3.0 — 2026-11-21 — f5bbefc

  • guard_check: deny rules first (rm/chmod on system paths, devices, power, firewall, pipes to interpreters, nc -e, /etc writes), then the scope of every target. Works without a scope; audited; never executes.

0.2.0 — 2026-11-21 — 4168a7d

  • report_markdown (Markdown/CSV, severity table, filters, never overwrites), evidence_list/evidence_read (text/base64, no path escape), scope_check (gate answer without an action).

0.1.0 — 2026-11-20 — d7bc372

  • First release: 27 tools, scope gate with ordered rules, findings and evidence under $APEX_HOME, in-process TCP connect and HTTP, Marauder serial bridge, method knowledge, MCP over stdio and loopback HTTP.