134 Commits
Author SHA1 Message Date
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
lotherk 759d9f8351 apex-twin 1.99.0: hydra, medusa and msfvenom wrappers
Three gated wrappers in tools_ext.c. hydra_scan and medusa_scan name a target
and go through gated_run(); msfvenom_build has no target, runs locally and
writes an audit line before the action. Flag sets read from the tools' own
sources (hydra.1 in the thc repo, Debian medusa(1), the msfvenom opt list),
not remembered.

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
each wrapper parses its tool's own output and records it as evidence. A run
that finds nothing writes no finding.

Refused on purpose: hydra -M, medusa -H/-C and the host-file options read
targets out of a file the gate never parsed; msfvenom -l/--list/--help/
--refresh-cache print and exit without rendering a payload. The --list hole was
found by a test, not by review.

Test evidence: 1600/1600 (was 1576); tools_ext.c line coverage 80.9 -> 83.8,
total 84.8%. Red proof, both directions: forcing hydra_found to return 0 turns
exactly "hydra_scan reads the tool's own 'valid password found' as a hit" red
with 32 green; putting -M/-H/-C back on the allowlists turns exactly the three
host-file checks red with 37 green; restored, 40/40. Full release-check exit 0,
distcheck apex-twin-1.99.0 builds and passes 1600/1600 from the tarball.
2026-11-24 02:58:17 +00:00
lotherk cd77649497 apex-twin 1.98.0: three more modules, read-back proof, usage errors
weblogic_console (CVE-2020-14882), couchdb_admin (admin party) and
actuator_env (Spring Boot /env) join the exploit registry: eleven modules.

A write was confirmed on a bare 200. couchdb_admin and actuator_env now
re-read the section or the property and set read_back; a fixture that
accepts every POST/PUT and stores nothing keeps them at confirmed=false.

Missing run arguments (section, name, param, script, handle) came back as
JSON with an "error" member and isError unset, which reads like a statement
about the target; the ctx carries a usage flag and the reply is
mcp_reply_error now, the shape every other tool's argument error has.

url2 double-encodes for real; payload_build gained a json encoder.

Tests: 1576 checks pass (was 1564), coverage 84.8%, release-check exit 0
including distcheck 1.98.0 from the tarball (1576/1576). Red proof: dropping
the two read-back x_find comparisons turns exactly those two checks red
(1553 pass, 2 fail) and they were restored afterwards.
2026-11-23 20:48:04 +00:00
lotherk 7125d6987a apex-twin 1.97.0: exploit framework core, eight modules, payload builder
A module registry in src/tools_exploit.c with eight modules and one
check/run path. check proves the bug 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 before it acts. The gate decides the target, nothing else
is decided for the operator.

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, check cleans up),
redis_write (CVE-2022-0543), cmd_inject (six operators, op=auto),
traversal (CVE-2021-41773/42013), jenkins_script (Groovy console).

payload_list/payload_build: templates with {lhost}/{lport} and ten
encoders. Shared helpers instead of copies: the callback listener moved
to apex_cb_open/apex_cb_wait, http_once passes headers through the curl
path so a module can inject a header over TLS, and the default
User-Agent no longer overrides the operator's.

Tests: 1564 end-to-end checks (was 1521), 420 tools (was 414), coverage
84.8%. Red proof: setting confirmed=0 in the shellshock branch turns
exactly the four shellshock checks red (1555/4), restored afterwards.
make release-check exit 0; distcheck builds and passes 1.97.0 from the
tarball. Gate audit parses tools_exploit.c and its indirect
exploit_call() gate path: 420 tools, 6 record-filter exceptions.
2026-11-23 19:50:47 +00:00
lotherk dbf1b65129 apex-twin 1.96.0: PAM restriction and firewalld audits, Cassandra probe
Four new tools (414 total), 9 new end-to-end checks (1521 total):

- pam_restrict_audit (blue): /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. Field counts are checked because both files drop a malformed
  line with only a syslog warning.
- pwhistory_audit (blue): pwhistory.conf and sepermit.conf - remember
  missing/0/below 5, enforce_for_root off, use_authtok missing, and a
  sepermit separator naming no group.
- firewalld_audit (blue): firewalld.conf plus zones/*.xml - PanicMode on,
  CleanupOnExit=no, trusted or blocking default zone, an ACCEPT target or a
  rich accept rule, and a zone bound to no source and no interface.
- cassandra_probe (red): CQL native protocol on 9042. OPTIONS/SUPPORTED
  identifies the port without auth, STARTUP answered READY means the cluster
  takes queries from anyone, ERROR 0x2200 "Required auth" means an
  authenticator is set. No query is sent.

Test evidence:
- tests/run.py: 1521 passed, 0 failed.
- Red proof: neutralising the dead-rule branch in pam_restrict_audit with
  `if (0 && ...)` gave 1520 passed, 1 failed (spamassassin_audit dead rule);
  restored, back to 1521/1521.
- make release-check exit 0: version-check (5 places, 1.96.0), gate-audit
  (414 tools, 6 record-filter exceptions), test, test-asan, analyze, fuzz,
  fuzz-proxy, fuzz-http, distcheck (apex-twin-1.96.0.tar.gz builds and
  passes from the tarball).
- make coverage: 33194/39039 lines = 85.0%.

Docs: README status line and tool tables, man page .TH, SECURITY supported
line, CHANGELOG entry, APEX_VERSION.
2026-11-23 18:26:42 +00:00
lotherk d1ce8b1483 apex-twin 1.95.0: SpamAssassin, OpenDMARC and amavis audits, Bitbucket probe
Three blue mail-stack audits:
- spamassassin_audit: local.cf/local.conf with required_score 0,
  report_safe 0, skip_rbl_checks 1, a rule scored 0, world-writable file.
- opendmarc_audit: opendmarc.conf with RejectFailures off/absent,
  FailureReports off, IgnoreAuthenticatedClients yes, TCP Socket.
- amavis_audit: amavisd.conf plus conf.d with D_PASS destinies,
  bypass_spam_checks/bypass_virus_checks, no $virus_admin.
One red probe:
- bitbucket_probe: /rest/api/1.0/projects on 7990 without a token,
  project list saved as evidence.

Verified: make test 1512/1512, test-asan 1512/1512, analyze 0 warnings,
240 fuzz cases, coverage 85.1%, release-check exit 0 (distcheck 1.95.0).
Red proof: crippling the dead-rule finding turns the new check red.
2026-11-23 17:16:30 +00:00
lotherk 81589e0252 apex-twin 1.94.0: opendkim and rspamd audits, Confluence probe
Three new tools (406 total):
- opendkim_audit (blue): opendkim.conf and /etc/opendkim - inet: milter
  socket reachable from the network, RequireSafeKeys no, Mode without "s"
  (verifies but never signs), Syslog debug leaking content and key paths.
  An empty tree reports no-config instead of missing Socket/Mode lines.
- rspamd_audit (blue): UCL config and local.d fragments - bind_socket on
  *, 0.0.0.0 or :: with a port, clear-text password/enable_password and
  secure_ip 0.0.0.0/0 or ::/0 (password check skipped for every client).
  Fragments matched by .conf, .inc and .local; "*:port" counts as wildcard.
- confluence_probe (red): /status plus /rest/api/space?limit=5 on 8090
  without a token; the space list is saved as evidence, 401/403 is closed.

Evidence: make test 1501/1501, test-asan 1501/1501, analyze 0 warnings,
240 fuzz cases clean, gate-audit 406 tools from 14 tables, distcheck
1.94.0 builds and passes from the tarball, release-check exit 0 (371 s).
Red proof: with the Mode sign check disabled the opendkim check fails
(1500 passed, 1 failed), then rolled back.
2026-11-23 16:51:27 +00:00
lotherk 369915ae06 apex-twin 1.93.0: seccomp and systemd socket audits, Solr probe
Three new tools: seccomp_audit and systemd_socket_audit (blue) and
solr_probe (red).

seccomp_audit reads unit files and /etc/seccomp/*.json under the root
prefix and flags an empty SystemCallFilter= (present but removes nothing),
a filter whose tokens are all "~" denials (the allowlist is the whole
syscall table), a root service with NoNewPrivileges=no or without the
setting at all, and a profile with SCMP_ACT_ALLOW or no defaultAction.

systemd_socket_audit reads .socket units: ListenStream on 0.0.0.0, [::]
or :::, a SocketMode with the world bit, Accept=yes without
MaxConnections= and a world-writable unit.

solr_probe asks /solr/, /solr/admin/cores?action=STATUS and
/solr/admin/info/system on 8983 without credentials; a 2xx with core
entries means the index inventory is public and the body becomes
evidence.

Evidence: make test 1493/1493, test-asan 1493/1493, analyze 0 warnings,
240 fuzz cases without a sanitizer report, release-check exit 0 (366 s)
including distcheck from the tarball, coverage 85.1% (README updated),
fresh clone of the previous tree green. The red proof for both blue
audits was run (check went red, then rolled back).
2026-11-23 16:31:26 +00:00
lotherk 997280b3d2 apex-twin 1.92.0: fluent-bit and Vector audits, Jaeger probe
Three new tools in the observability family:

- fluentbit_audit (blue): fluent-bit.conf plus conf.d fragments. Flags an
  [OUTPUT] with a non-loopback Host and no "tls On", a [SERVICE] with
  HTTP_Server On and HTTP_Listen 0.0.0.0, a debug/trace log level and a
  world-writable file.
- vector_audit (blue): vector.toml, block by block. Flags a source bound to
  0.0.0.0/::, a sink with an endpoint and no tls block (or tls.verify=false),
  the GraphQL api enabled beyond loopback, a missing sink and a
  world-writable file.
- jaeger_probe (red): /api/services on 16686 without credentials; a 2xx with
  a data array is the finding, the body is saved as evidence and the audit
  log records it. A 401 counts as closed.

Tests: make test 1485/1485, test-asan 1485/1485, analyze 0, 240 fuzz cases,
coverage 85.0%, release-check (incl. distcheck from the tarball) exit 0.
Red proof: breaking the "tls On" match turned the fluentbit check red and
was rolled back.
2026-11-23 15:57:02 +00:00
lotherk 41eac32f53 apex-twin 1.91.0: promtail and otel collector audits, Loki and Tempo probes
Two blue config audits and two red API probes for the observability stack.

promtail_audit (blue): positions.filename missing or under /tmp, a client
without tenant_id, a plain http push URL and a world-writable config.
otel_collector_audit (blue): an exporters block without tls, a debug
exporter, zpages/pprof and a world-writable config.
loki_probe (red): /loki/api/v1/labels without credentials; the label list
is saved as evidence.
tempo_probe (red): /api/search/tags without credentials; the tag list is
saved as evidence.

Verified: 1477/1477 checks (make test and test-asan), gate-audit 397 tools
from 14 tables, analyze 0 warnings, 240 fuzz cases, distcheck from the
tarball, coverage 85.0%. Red proof: disabling the tmp-positions check in
promtail_audit turns the fixture check red (1476/1), restored afterwards.
2026-11-23 15:33:59 +00:00
lotherk 2a0d5e5833 apex-twin 1.90.0: suricata, icinga2 and falco audits, Schema Registry probe
Three blue config audits and one red probe:
- suricata_audit: rule-files left empty (sensor inspects nothing), enabled: no,
  a default-rule-path that does not exist, world-writable .rules files.
- icinga2_audit: accept_config/accept_commands, ApiListener bound beyond
  localhost, run_as_root check commands, world-writable .conf.
- falco_audit: no rules_file, minimum_priority debug/info, http webhook,
  writable rules in rules.d.
- schema_registry_probe: /subjects on 8081 without credentials, subject list
  saved as evidence.

Four parser bugs found and fixed while writing the fixtures: strcmp suffix
check used n-4 instead of n-5 for ".conf", yaml_value() cannot tell an empty
key from a list (new yaml_has_inline_value), suricata never counted the config
file it read, and schema_registry_probe emitted an unterminated endpoints
array. Dead icinga_state.no_tls field removed instead of faking a value.

Verified: make test 1467/1467, make test-asan 1467/1467, analyze 0 warnings,
240 fuzz cases, coverage 85.0%, release-check incl. distcheck exit 0.
Red proof: disabling the rule-files check turns the new suricata check red.

393 tools, 1467 checks.
2026-11-23 15:12:30 +00:00
lotherk ea40473dc3 apex-twin 1.89.0: fapolicyd, systemd timer and yara audits, OpenBMC probe
Three blue config audits and one red probe:

- fapolicyd_audit: permissive=1, integrity=none/0, an allow-all rule before
  any deny, world-writable fapolicyd.conf.
- systemd_timer_audit: OnCalendar every minute or OnUnitActiveSec<=60s,
  Persistent=true, .service without User= (runs as root), writable unit file.
- yara_audit: scanning disabled in yara.conf, writable or empty rule file,
  no rule set at all.
- openbmc_probe: xyz.openbmc_project control tree on 443 answering without a
  session; power restore policy saved as evidence.

Checks: make test 1459/1459, test-asan 1459/1459, analyze 0 warnings,
240 fuzz cases clean, coverage 85.0%, release-check incl. distcheck exit 0.
2026-11-23 14:35:14 +00:00
lotherk c5ba9d537b apex-twin 1.88.0: freshclam and tripwire audits, CoreDNS probe
Three new tools (385 total):
- freshclam_audit (blue): UpdateChecks no, DatabaseMirror over plain http,
  Checks below 2, world-writable freshclam.conf.
- tripwire_audit (blue): no SITEKEYFILE, site key readable beyond its owner,
  no MAILTO, world-writable twcfg.txt.
- coredns_probe (red): the caddy plugin API /config/ on 2019 without a token;
  a 2xx means the DNS server blocks can be rewritten at runtime, the answer
  goes to evidence.

Proof: make test 1451/1451, test-asan 1451/1451, analyze 0 warnings,
240 fuzz cases, release-check exit 0 in 356 s incl. distcheck, coverage 85.0%.
Red proof: breaking the UpdateChecks match in freshclam_scan_file turned the
new freshclam check red and nothing else.

Not fully covered: the second remote git.hiddenbox.org still answers HTTP 502,
so this commit is pushed to kropa only.
2026-11-23 14:03:56 +00:00
lotherk 53d5084a77 apex-twin 1.87.0: smartd, tlog and abrt audits, Nomad probe
Three blue config audits: smartd_audit (device without -m, untyped
DEVICESCAN, writable -M exec hook, world-writable smartd.conf),
tlog_audit (scope without session, notice without wall, no log target,
writable config) and abrt_audit (AutoreportingEnabled=yes, non-local
report URL, upload without SSLVerify, writable abrt.conf). One red probe:
nomad_probe reads /v1/agent/self, /v1/jobs and /v1/nodes on 4646 without
a token and saves the job list as evidence.

382 tools, 1445 end-to-end checks. Verified: make test 1445/1445,
test-asan 1445/1445, analyze 0 warnings, 240 fuzz cases green,
release-check exit 0 including distcheck from the tarball, coverage 85.0%.
Reverse test: forcing the writable-exec check off turns the smartd check
red (1444/1445), restored afterwards.
2026-11-23 13:41:11 +00:00
lotherk b56687ef7f apex-twin 1.86.0: dhclient, journal-upload and fwupd audits, Vault probe
Three blue config audits and one red probe:
- dhclient_audit: domain-name-servers taken from the DHCP offer, a
  supersede/prepend domain-name-servers or domain-name/domain-search
  override, and a hook in dhclient-enter-hooks.d that runs as root and is
  world-writable.
- journal_upload_audit: Upload URL over plain http, missing ServerKeyFile,
  world-writable journal-upload.conf.
- fwupd_audit: OnlyTrusted=false (unverified firmware is installed), empty
  DisabledPlugins, world-writable daemon.conf.
- vault_probe: /v1/sys/seal-status and /v1/sys/mounts without a token; a 2xx
  on the mount list means every secret engine is readable unauthenticated,
  the body is saved as evidence.

378 tools, 1437 checks.

Verified: make test 1437/1437, test-asan 1437/1437, analyze 0 warnings,
fuzz 240 cases, coverage 85.0%, release-check exit 0 incl. distcheck.
Red proof: breaking the OnlyTrusted/seal-status detection turned exactly the
two new checks red.
2026-11-23 13:13:58 +00:00
lotherk 9ff624d145 apex-twin 1.85.0: Jetty audit, Zabbix and Datasette probes
Three additions, one of them a duplicate avoided:

- jetty_audit (blue): jetty.xml, jetty-ssl.xml and start.d/*.ini. An
  addConnector block on 0.0.0.0/:: without an sslContextFactory inside the
  same block is a clear-text connector on every interface; a start.d host
  key that sets 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.
- zabbix_probe (red): apiinfo.version is reachable before login and is not
  exposure by itself, so only user.login with the default Admin/zabbix pair
  counts. The response is saved as evidence; the session token is never
  printed.
- datasette_probe (red): /-/databases.json without a token names every
  attached SQLite file and becomes the evidence.
- varnish_audit was planned but already existed (VCL write access, purge
  ACL, -T 0.0.0.0); it was not duplicated.

Test: make test 1429/1429, test-asan 1429/1429, analyze 0 warnings, 240
fuzz cases with no sanitizer report, gate-audit 374 tools, distcheck builds
and passes from the tarball, coverage 85.0%.

Two real bugs found by the new tests: apex_http_once takes the body before
the headers (the Zabbix POST sent the header line as the body), and the
"no-findings" info entry was counted in findings_count.
2026-11-23 12:32:28 +00:00
lotherk 535ab774c0 apex-twin 1.84.0: gated wrappers for nuclei, nikto, ffuf, gobuster, sqlmap
Five external scanners behind exactly one code path (src/tools_ext.c):

- 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 (--os-shell, -oN /etc/passwd);
- no shell: argv is built in C and handed to exec;
- stdout and stderr go to one pipe and are saved as evidence;
- a missing binary is a sentence from apex_have(), not exit 127 mid-scan, and
  capabilities lists each one as present or absent;
- gobuster dns mode gets the bare domain with -d, dir and vhost get -u.

hydra, medusa and msfvenom get no wrapper: mass credential guessing and
payload generation are outside what this project does.

gate_audit now follows the indirect path: a handler may hand argv to a shared
runner, but the runner itself must call the scope gate. Both halves are checked
(the negative test removes the gate from ext_run and expects a failure).

Tests: 371 tools, 1422 checks. make test 1422/1422, test-asan 1422/1422,
analyze 0 warnings, 240 fuzz cases with no sanitizer report, coverage 85.0%,
release-check exit 0 including distcheck from the tarball.
2026-11-23 12:06:35 +00:00
lotherk 7179772fac apex-twin 1.83.0: PHP-FPM, uWSGI and lighttpd audits, Superset probe
Three blue config audits: php_fpm_audit (pool files in /etc/php-fpm.d,
/etc/php/<ver>/fpm/pool.d and /etc/php-fpm.conf - root pool user, a 0666
listen.mode socket, display_errors in php_admin_value), uwsgi_audit (uid/gid 0,
empty module list, world-writable ini) and lighttpd_audit (document-root /,
no SSL engine, dir-listing, world-writable config). One red probe:
superset_probe reads /api/v1/dashboard and /login without a token and saves the
dashboard list as evidence.

Verified: make test 1407/1407, test-asan 1407/1407, gate-audit 366 tools OK,
analyze 0 warnings, 240 fuzz cases, coverage 85.0%, release-check exit 0
(348 s, distcheck from the tarball included). Counter-proof: removing the
root-pool check turns the php_fpm test red, restoring it green.
2026-11-23 11:30:32 +00:00
lotherk a975f59666 apex-twin 1.82.0: apt auth, aliases and netgroup audits, TeamCity probe
Three blue config audits:
- apt_auth_audit: /etc/apt/auth.conf(+.d) - credentials for a host reached
  over plain http:// and a group/world-readable or writable file.
- aliases_audit: mail piped into a command, root mail forwarded to another
  local account, writable alias file.
- netgroup_audit: member triple with an empty host field (NIS wildcard that
  matches every host), plus a writable netgroup file.

One red probe:
- teamcity_probe: /app/rest/projects and /app/rest/users on 8111 without a
  token; a 2xx list is saved as evidence.

Verified: make test 1398/1398, test-asan 1398/1398,
analyze 0 warnings (one real NULL-dereference report fixed in netgroup
continuation handling), fuzz 240 cases, distcheck 1.82.0 from the tarball,
coverage 85.0%. Red proof: renaming the root-forward finding id makes the
aliases check fail, rolled back.
2026-11-23 10:17:45 +00:00
lotherk 47b7ada7d8 apex-twin 1.81.0: nfs.conf, idmapd and netplan audits, cAdvisor probe
Three blue config audits and one red probe:

- nfs_conf_audit (blue): /etc/nfs.conf - vers2/vers3 enabled, mountd
  insecure port or no TCP, [nfsd] rdma without protection, world-writable
  file.
- idmapd_audit (blue): /etc/idmapd.conf - missing or "nobody" Domain, a
  static Local-Realms mapping, world-writable file.
- netplan_audit (blue): /etc/netplan/*.yaml - a device without addresses
  and without dhcp4/dhcp6, a gateway without a matching on-link address,
  world-writable file.
- cadvisor_probe (red): /api/v1/containers and /healthz on 8080 without
  auth; the container list is saved as evidence.

Also: the dispatch array size is now APEX_MAX_TOOLS (512) instead of a
hard-coded 384 in 14 places, so the tool table has room to grow.

Evidence: make test 1389/1389, test-asan 1389/1389, analyze 0 warnings,
240 fuzz cases clean, coverage 85.0%, release-check incl. distcheck from
the tarball exit 0. Red proof: breaking the nfs.conf checks turned the
new test red, then rolled back.
2026-11-23 09:35:17 +00:00
lotherk 28e931ea60 apex-twin 1.80.0: modules-load, depmod and adduser.conf audits, Ollama probe
Three blue config audits: modules_load_audit (/etc/modules and
modules-load.d: CIS-blacklisted names, entries that are not module names,
duplicates, world-writable), depmod_audit (depmod.d: absolute path first in
a search line, override lines, world-writable) and adduser_conf_audit
(DIR_MODE with group/other access, USERGROUPS=no, DSHELL not in /etc/shells,
world-writable). Red: ollama_probe reads /api/tags on 11434 without
credentials and saves the pulled model list as evidence.

Verified: make test 1380/1380, test-asan 1380/1380, analyze 0 warnings,
fuzz 240 cases without a sanitizer report, gate-audit 354 tools,
version-check 1.80.0 in 5 places, release-check incl. distcheck exit 0,
coverage 84.9%. Red proof: neutralising the CIS blacklist check made the new
modules_load_audit check fail; rolled back.
2026-11-23 08:52:54 +00:00
lotherk 39dd608291 apex-twin 1.79.0: ufw, monit and ClamAV audits, Jira probe
Three blue config audits and one red probe:

- ufw_audit: ENABLED=no, a default input policy that is not DROP/REJECT,
  and every 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.
- monit_audit: an httpd block not bound to localhost, allow user:password
  with a literal password, a world-writable monitrc.
- clamav_audit: TCPSocket on, a TCPAddr beyond loopback, a VirusEvent or
  OnUpdateExecute hook, LogRotate off, a world-writable clamd.conf.
- jira_probe: /rest/api/2/project on 8080 without credentials; the project
  list is saved as evidence.

Two parser bugs found by the new checks: clamav_audit read only "false"/"0"
for LogRotate (not "no"), and the Jira probe parsed the status line with
atoi instead of apex_status_code.

Tests: make test 1371/1371, test-asan 1371/1371, analyze 0 warnings,
240 fuzz cases clean, coverage 84.9%, release-check exit 0 including
distcheck. Red proof: breaking the LogRotate branch turns the ClamAV
check red.
2026-11-23 08:16:49 +00:00
lotherk af628de86b apex-twin 1.78.0: crypttab, useradd and AIDE audits, Jupyter probe
Three blue config audits: crypttab_audit (readable key file, 'none' key,
discard/allow-discards, world-writable table), useradd_audit
(/etc/default/useradd plus login.defs UID_MIN, /etc/skel dotfiles that are
group/world-writable or are shell rc files) and aide_audit (writable
config, database under /tmp, excluded trees, md5-only rules). Red:
jupyter_probe reads /api/kernels and /api/sessions on 8888 without a token
and saves the session list as evidence.

Verified: make test 1362/1362, test-asan 1362/1362, analyze 0 warnings,
240 fuzz cases, coverage 84.9%, release-check incl. distcheck 1.78.0 green.
2026-11-23 00:41:48 +00:00
lotherk e1703cfa4d apex-twin 1.77.0: networkd, pam_namespace and SSH client audits
Three blue config audits, no new red tool (memcached_probe already existed
in tools_db.c and a duplicate registration was caught and removed):

- networkd_audit: /etc/systemd/network/*.network, *.netdev, *.link - a
  [Match] without Name=/MACAddress=/Type=/Path=/Driver= applies to every
  interface; DHCP=yes with IPv6AcceptRA=yes and no UseDNS=no lets DHCP and
  RA pick the resolver; DNS= with a public resolver; world-writable unit.
- namespace_audit: /etc/security/namespace.conf - no /tmp, /var/tmp or
  /dev/shm entry (shared tmp), empty or unknown method field, user list
  starting with "~" (isolation only for the listed users), world-writable.
- ssh_client_audit: /etc/ssh/ssh_config plus ssh_config.d/*.conf -
  StrictHostKeyChecking no, UserKnownHostsFile /dev/null or none,
  GlobalKnownHostsFile none, ssh-rsa/ssh-dss in the algorithm lists.
  ssh_config_audit reads only the server side.

Test evidence: make test 1354/1354, test-asan 1354/1354, analyze 0 warnings,
fuzz 240 cases, coverage 85.0%, release-check exit 0 including distcheck of
apex-twin-1.77.0. Red proof: disabling the DHCP= branch in networkd_scan_file
turned the networkd check red, then rolled back.
2026-11-23 00:13:27 +00:00
lotherk ecfb18cf97 apex-twin 1.76.0: nscd and faillock audits, GitLab probe
Three new tools, 13 new checks:
- nscd_audit (blue): persistent/shared cache, TTL above an hour,
  world-writable /etc/nscd.conf.
- faillock_audit (blue): deny=0 turns the lockout off, a non-zero
  unlock_time under a minute, missing even_deny_root. unlock_time=0 is
  strict (counter never cleared) and is not flagged.
- gitlab_probe (red): /api/v4/projects decides, /api/v4/version alone
  answers to anyone; a non-empty project array is the exposure and
  becomes the evidence.

Verification: 339 tools / 1348 checks in make test and test-asan,
gate-audit 339 tools, analyze 0 warnings, 240 fuzz cases, distcheck from
the 1.76.0 tarball, coverage 84.9 %. Red proof: disabling the unlock_time
check turned faillock_audit's check red.
2026-11-22 23:47:23 +00:00
lotherk 022086f474 apex-twin 1.75.0: inetd, ld.so.conf and rc.local audits, Airflow probe
Three blue config audits and one red probe, 336 tools, 1342 checks.

- inetd_audit: shell/login/exec/rsh services, cleartext legacy daemons
  (telnet, ftp, tftp, pop3), world-writable inetd.conf.
- ld_so_conf_audit: library path under /tmp, /var/tmp, /home or /dev/shm,
  world-writable library directory, world-writable config.
- rc_local_audit: curl/wget piped into a shell, /tmp reference, missing
  final exit.
- airflow_probe: /api/v1/dags 2xx without a token, DAG list as evidence.

Evidence: make test 1342/1342, test-asan 1342/1342, analyze 0 warnings,
240 fuzz cases, coverage 84.9% (unchanged), release-check exit 0 in 322 s
including distcheck from the tarball. Red proof: disabling the
unsafe-libdir branch turns the ld_so_conf check red.
2026-11-22 23:26:36 +00:00
lotherk 4159d5305c apex-twin 1.74.0: syslog-ng and ntpd audits, Rundeck probe
Three new tools:
- syslog_ng_audit (blue): syslog-ng.conf and conf.d fragments; a network()
  source without ip() listens on every address, one without tls() takes
  logs in clear, and a writable config is flagged.
- ntpd_audit (blue): ntp.conf; missing "restrict default", a non-local
  restrict without all of nomodify notrap nopeer noquery, missing
  "disable monitor" (mode-6 monlist amplifier), world-writable config.
- rundeck_probe (red): /api/14/projects and /api/1/projects without a
  token; the project list is saved as evidence.

332 tools, 1334 end-to-end checks.

Test evidence: make test 1334/1334, test-asan 1334/1334, analyze 0
warnings, coverage 84.9%, release-check exit 0 in 318 s including
distcheck from the tarball.
2026-11-22 23:02:08 +00:00
lotherk defe13f3df apex-twin 1.73.0: anacrontab and MOTD audits, Keycloak probe
Three additions in this tranche:

- anacrontab_audit (blue): /etc/anacrontab and /etc/cron.d with a root
  prefix. Flags a job command that runs out of /tmp, /var/tmp or
  /dev/shm, a curl/wget piped into a shell, and a world-writable file.
  NAME=value lines are environment settings and are not counted as jobs.
- motd_audit (blue): /etc/update-motd.d. Flags a world-writable script,
  one without a shebang and one that fetches a URL at login time.
- keycloak_probe (red): /realms/master, its OpenID configuration and the
  admin console. The realm JSON is public by design, so only
  registrationAllowed:true counts as a finding; the body is evidence.

Test evidence: make test 1328/1328 checks, make test-asan 1328/1328,
analyze 0 warnings, 240 fuzz cases without a sanitizer report,
coverage 84.8%, release-check exit 0 including distcheck from the
tarball. Red proof: disabling the fetch detection in motd_audit turned
"motd_audit flags a writable fetch script and a missing shebang" red,
then the change was rolled back.

329 tools, version consistent in 5 places.
2026-11-22 22:25:52 +00:00
lotherk 979b605ff1 apex-twin 1.72.0: pam_env, hosts and dnf repo audits, SonarQube probe
Three blue config audits and one red API probe (+4 tools, 322 -> 326):

- pam_env_audit: LD_PRELOAD/LD_LIBRARY_PATH in /etc/environment or
  pam_env.conf (code injection into every login), a world-writable PATH
  entry, a world-writable file. The pam_env.conf variable name is the
  first token before DEFAULT=/OVERRIDE=, not the text before the '='.
- hosts_audit: a dotted name pinned to loopback/private/link-local, the
  same name with two different addresses, a world-writable /etc/hosts.
- dnf_repo_audit: gpgcheck=0, repo_gpgcheck=0, sslverify=0, a plain http
  baseurl, a world-writable .repo file.
- sonarqube_probe: /api/system/status answers even with anonymous access
  off, so only a 2xx on /api/projects/search counts as open; the project
  list becomes the evidence.

Evidence: make test 1322/1322, test-asan 1322/1322, analyze 0 warnings,
240 fuzz cases, coverage 84.8%, release-check exit 0 including distcheck
of the 1.72.0 tarball. Red proof: disabling the gpgcheck branch turned
the dnf check red, then the change was reverted.
2026-11-22 21:19:19 +00:00
lotherk e8d2e4ccd6 apex-twin 1.71.0: limits, access.conf and pwquality audits, Kafka Connect probe
Three blue config audits: limits_audit (nofile/nproc/memlock unlimited, core
dumps above zero, world-writable files; only a literal "unlimited" counts),
access_conf_audit (+ rule for ALL, a + rule without tty/host restriction and a
trailing "+ : ALL : ALL" default-allow) and pwquality_audit (minlen below 8,
minclass 0, dictcheck=0, enforcing=0, commented defaults stay silent).

One red probe: kafka_connect_probe queries /, /connectors and
/connector-plugins on 8083; a 2xx connector list is an unauthenticated Kafka
Connect worker and is saved as evidence.

Corrected the tranche plan: login_defs_audit and nsswitch_audit already
existed, so the scope moved to the three genuinely missing files.

Tests: 1314 end-to-end checks green, 240 fuzz cases, analyze clean,
coverage 84.8%, distcheck from the tarball passes (313 s).
2026-11-22 20:54:03 +00:00
lotherk 357c6575e9 apex-twin 1.70.0: fstab, modprobe and grub audits, Argo CD probe
New blue tools: fstab_audit (/tmp and friends without nosuid/nodev/noexec,
user-mountable mounts, world-writable fstab), modprobe_audit (install hooks
that run a command as root, world-writable config) and grub_audit
(mitigations=off, nosmap, nokaslr, missing init_on_alloc/init_on_free/
slab_nomerge). New red tool: argocd_probe (/api/v1/applications without a
token, saved as evidence).

Tests: 1302 end-to-end checks green, 240 fuzz cases, analyze clean,
coverage 84.7%, distcheck from the tarball passes.
2026-11-22 20:00:22 +00:00
lotherk e2cd449d60 apex-twin 1.69.0: Podman, BuildKit and Supervisor audits, Portainer probe
- podman_audit: registries.conf [[registry]] with insecure=true or an
  http:// location, short-name-mode=disabled, missing unsigned policy;
  policy.json without signedBy; world-writable files.
- buildkitd_audit: [registry] insecure=true, tcp:// without CA, no
  rootless worker, world-writable buildkitd.toml.
- supervisor_audit: [inet_http_server] beyond localhost, same without
  username/password, [program:*] running as root.
- portainer_probe: /api/status and /api/users/admin/check without
  credentials; a 2xx admin check (204 on real Portainer) becomes evidence,
  setup-open is reported separately.
- Two TOML bugs found by the new fixtures: a key kept its trailing space
  so `insecure ` never matched, and short_name_mode was emitted unquoted.
- 314 tools, 1290 checks, 240 fuzz cases, 84.7% line coverage.

Verified: make release-check (version-check, gate-audit, test 1290/1290,
test-asan 1290/1290, analyze 0 warnings, fuzz 240 + proxy 60 + http 40
cases, distcheck from tarball), make coverage 84.7%.
2026-11-22 19:39:01 +00:00
lotherk 98c7ae7023 apex-twin 1.68.0: gitconfig, npmrc and pip.conf audits, Harbor probe
gitconfig_audit (blue): http.sslVerify=false, a url.*.insteadOf rewrite to
http://, credential.helper=store and a world-writable /etc/gitconfig.

npmrc_audit (blue): strict-ssl=false, a plain-HTTP registry, a cleartext
_authToken and world-writable npmrc files.

pip_conf_audit (blue): a plain-HTTP index-url, a trusted-host override and
world-writable pip.conf files.

harbor_probe (red): GET /api/v2.0/health and /api/v2.0/projects without
credentials; a 2xx project list is an open Harbor API and is saved as
evidence.

Verified: make test 1278/1278, make test-asan 1278/1278, make analyze 0
warnings, make coverage 84.6%, make version-check 1.68.0 in 5 places,
make gate-audit 310 tools, make release-check builds and passes from the
tarball.
2026-11-22 18:43:00 +00:00
lotherk 7b853ad392 apex-twin 1.67.0: passwd, authorized_keys and ld.so.preload audits, Gitea probe
Blue:
- passwd_audit: /etc/passwd and /etc/shadow: duplicate UID 0, empty shadow
  hashes, system accounts with a login shell and world-writable files.
- authorized_keys_audit: root and home keys: world-writable files or .ssh
  directories and command= hooks piping a download into a shell.
- ld_preload_audit: a non-empty preload list, a world-writable file and
  world-writable libraries.

Red:
- gitea_api_probe: /api/v1/version and /api/v1/admin/users without
  credentials; a 2xx admin list is an open admin API with evidence.

Tests with passwd/shadow, authorized_keys and ld.so.preload trees plus two
Gitea fixtures (open and 403). 1266 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.67.0.
2026-11-22 17:54:04 +00:00
lotherk 03c8a63a0f apex-twin 1.66.0: Bluetooth, NetworkManager and D-Bus audits, Nexus probe
Blue:
- bluetooth_audit: main.conf: AutoEnable, Privacy=off, JustWorksRepairing
  always, a missing LE controller mode, world-writable.
- networkmanager_audit: NetworkManager.conf and system-connections: WEP, a
  PSK file readable beyond its owner, 802.1X without a CA, world-writable.
- dbus_audit: system policy: allow own=* and send_destination=* wildcards,
  world-writable.

Red:
- nexus_probe: /service/rest/v1/status and /service/rest/v1/repositories
  without credentials; a 2xx repository list is an open API with evidence.

Tests with Bluetooth/NetworkManager/D-Bus trees and two Nexus fixtures (open
and 401). 1254 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.66.0.
2026-11-22 17:34:36 +00:00
lotherk 8a81fb1e4e apex-twin 1.65.0: USBGuard, certbot and WPA audits, Jenkins API probe
Blue:
- usbguard_audit: allow rules without with-interface, implicit and present
  device policy allow, world-writable files.
- certbot_audit: renewal configs: manual authenticator, a renew/pre/post hook
  piping a download into a shell, world-writable files.
- wpa_supplicant_audit: key_mgmt=NONE, WEP keys, a PSK file readable beyond
  its owner.

Red:
- jenkins_api_probe: /api/json and /whoAmI/api/json without credentials; a 2xx
  with jobs is an anonymous read API and is saved as evidence.

Two bugs the fixture caught: a bare 'allow' line (no trailing space) was not
matched, and the policy values were emitted without quotes, producing invalid
JSON.

Tests with USBGuard/certbot/WPA trees and two Jenkins fixtures (open and 403).
1242 checks, ASan suite green, analyze clean, release-check green including
distcheck 1.65.0.
2026-11-22 17:11:49 +00:00
lotherk 5775248153 apex-twin 1.64.0: resolved, udev and issue audits, SMTP AUTH probe
Blue:
- resolved_audit: resolved.conf: public resolvers, DNSSEC off/allow-downgrade,
  DNS-over-TLS off, LLMNR and MulticastDNS on, world-writable.
- udev_audit: rules from /etc and /usr/lib: MODE 0666/0777, RUN+= hooks that
  pipe a download into a shell, world-writable files.
- issue_audit: /etc/issue and /etc/issue.net: \r/\v escapes, uname -r or a
  literal kernel version, world-writable files.

Red:
- smtp_auth_probe: EHLO features; PLAIN/LOGIN offered without STARTTLS means
  credentials cross the wire in clear. No login is attempted.

SMTP EHLO lines are parsed in full: reply_feature returns only the first
token, so 'AUTH PLAIN LOGIN' had to be read from the rest of the line.

Tests with resolved/udev/issue trees and two SMTP fixtures (AUTH without
STARTTLS, AUTH with STARTTLS). 1230 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.64.0.
2026-11-22 16:47:38 +00:00
lotherk ea281386ba apex-twin 1.63.0: OpenSSL, curl and wget config audits, TLS chain probe
Blue:
- openssl_cnf_audit: openssl.cnf: MinProtocol TLSv1/TLSv1.1, a CipherString
  with SECLEVEL=0/1, a missing system_default_sect and a world-writable file.
- curlrc_audit: /etc/curlrc: insecure, a plain-HTTP proxy, world-writable.
- wgetrc_audit: /etc/wgetrc: check_certificate=off, a plain-HTTP proxy,
  world-writable.

Red:
- tls_chain_probe: one -showcerts handshake; a one-certificate chain whose
  subject differs from its issuer means a missing intermediate. Self-signed
  certificates are accepted.

Tests with OpenSSL/curlrc/wgetrc trees and three TLS servers (leaf only,
leaf+CA, self-signed). 1218 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.63.0.
2026-11-22 16:23:43 +00:00
lotherk 7a3fc47b8f apex-twin 1.62.0: Compose, K8s manifest and Dockerfile audits, AMQP probe
Blue:
- compose_audit: privileged, host network/PID, a mounted Docker socket,
  plaintext passwords/tokens and a world-writable file.
- k8s_manifest_audit: privileged, hostNetwork/PID/IPC, runAsUser 0 (numeric,
  so 1000 is not flagged), hostPath /, missing securityContext.
- dockerfile_audit: root or missing USER, :latest/untagged base, ADD from a
  URL, RUN piping a download into a shell.

Red:
- amqp_probe: sends the 0-9-1 header, reads Connection.Start, reports product,
  version and mechanisms. No login; a closed endpoint is a negative result.

Two real defects caught by the gates: runAsUser: 1000 matched a substring '0',
and the analyzer found a short-frame over-read before reading the table length
(payload is also zeroed so the read is provably initialized).

Tests with Compose/manifest/Dockerfile fixtures and an AMQP frame fixture.
1205 checks, ASan suite green, analyze clean, release-check green including
distcheck 1.62.0.
2026-11-22 16:01:15 +00:00
lotherk a118a8d226 apex-twin 1.61.0: atd, securetty and tmpfiles audits, Logstash API probe
Blue:
- atd_audit: at.allow/at.deny: world-writable lists and an empty at.deny
  that opens scheduling to every user. Both files missing is the safe case
  (root only) and is not flagged.
- securetty_audit: serial or virtual console entries (ttyS0, ttyS1, console,
  hvc0, ttyAMA0) that allow root login, and a world-writable file.
- tmpfiles_audit: tmpfiles.d/*.conf from /etc and /usr/lib: 0777/0666 modes,
  z/Z rules on /tmp or /var/tmp, world-writable files.

Red:
- logstash_api_probe: /_node/info and /_node/stats without credentials; a 2xx
  is an open monitoring API with the stats answer saved as evidence.

Tests with atd/securetty/tmpfiles trees and two Logstash fixtures (open and
401). 1193 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.61.0.
2026-11-22 15:32:32 +00:00
lotherk ddb99c0609 apex-twin 1.60.0: sshd_config, hosts_access and profile audits, Kibana probe
Blue:
- sshd_config_audit: sshd_config and sshd_config.d/*.conf with OpenSSH's
  first-value-wins order (drop-ins read before the main file): root login,
  password auth, empty passwords, X11, MaxAuthTries above 3, no
  AllowUsers/AllowGroups, world-writable files.
- hosts_access_audit: hosts.allow with ALL: ALL, a missing hosts.deny,
  world-writable files.
- profile_audit: /etc/profile, bash.bashrc and profile.d/*.sh: world-writable
  scripts, a umask that leaves group/other write, a PATH with . or an empty
  entry.

Red:
- kibana_api_probe: /api/status and /api/saved_objects/_find?type=dashboard
  without credentials; the saved-objects answer is evidence.

Tests with sshd/hosts.allow/profile trees (including a drop-in overriding the
main sshd_config) and two Kibana fixtures. 1181 checks, ASan suite green,
analyze clean, release-check green including distcheck 1.60.0.
2026-11-22 15:10:05 +00:00
lotherk f1fbf9d8fe apex-twin 1.59.0: Telegraf, Graylog and Netdata audits, ClickHouse probe
Blue:
- telegraf_audit: telegraf.conf: an HTTP output URL, insecure_skip_verify,
  credentials in the file and a world-writable file.
- graylog_audit: server.conf: the REST API on 0.0.0.0, plain HTTP, a
  password_secret shorter than 64, an empty root_password_sha2 and a
  world-writable file.
- netdata_audit: netdata.conf: bind to IP 0.0.0.0, an allow list of *, a
  missing allow list and a world-writable file.

Red:
- clickhouse_probe: /ping and /?query=SELECT version() without credentials; a
  2xx with a version is an open HTTP API and is saved as evidence.

Tests with Telegraf/Graylog/Netdata trees and two ClickHouse fixtures (open
and 403 with a public ping). 1168 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.59.0.
2026-11-22 14:46:55 +00:00
lotherk 827ff97441 apex-twin 1.58.0: Logstash, Filebeat and Fluentd audits, InfluxDB probe
Blue:
- logstash_audit: logstash.yml: api.http.host 0.0.0.0, xpack monitoring
  disabled, missing path.data and a world-writable file.
- filebeat_audit: filebeat.yml: an HTTP Elasticsearch output,
  ssl.verification_mode none (both key forms), credentials in the file, no
  output and a world-writable file.
- fluentd_audit: fluent.conf/td-agent.conf: a forward source without
  shared_key, an HTTP output without TLS and a world-writable file.

Red:
- influxdb_probe: /ping and /query?q=SHOW+DATABASES without credentials; a 2xx
  query is an open database API and is saved as evidence.

Tests with Logstash/Filebeat/Fluentd trees and two InfluxDB fixtures (open and
401 with a public ping). 1156 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.58.0.
2026-11-22 14:25:37 +00:00
lotherk ea69d8d92f apex-twin 1.57.0: Kibana, Nagios and Synapse audits, NATS monitoring probe
Blue:
- kibana_audit: kibana.yml: server.host 0.0.0.0, xpack.security disabled,
  Elasticsearch credentials in the file, no TLS, world-writable.
- nagios_audit: nagios.cfg and the cgi.cfg beside it: external commands,
  use_ssl_authentication=0, wildcard CGI authorization, a default user.
- synapse_audit: homeserver.yaml: open registration without a token, no TLS
  listener, no trusted key servers.

Red:
- nats_monitoring_probe: /varz and /connz without credentials; a 2xx with a
  version is an open monitoring endpoint with evidence saved.

Tests with Kibana/Nagios/Synapse trees and two NATS monitoring fixtures (open
and 401). 1144 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.57.0.
2026-11-22 14:02:58 +00:00
lotherk 2bbe0c206e apex-twin 1.56.0: Webmin, Cockpit and phpMyAdmin audits, MinIO admin probe
Blue:
- webmin_audit: miniserv.conf: ssl=0, an allow list covering every address
  (token-wise, so 10.0.0.0/8 is not mistaken for 0.0.0.0), an empty or default
  password and a world-writable file.
- cockpit_audit: cockpit.conf: AllowUnencrypted=true, a missing Origins
  allow-list and a world-writable file.
- phpmyadmin_audit: config.inc.php: a short or empty blowfish secret,
  AllowNoPassword, auth_type=config and a world-writable file.

Red:
- minio_admin_probe: /minio/health/live and /minio/admin/v3/info without a
  signature; a 2xx admin answer is unsigned admin access with evidence.

The allow-list check found a real substring bug during the run: 10.0.0.0/8
contains '0.0.0.0', so the list is now split into tokens first.

Tests with Webmin/Cockpit/phpMyAdmin trees and two MinIO fixtures (unsigned
admin and 403). 1132 checks, ASan suite green, analyze clean, release-check
green including distcheck 1.56.0.
2026-11-22 13:41:58 +00:00
lotherk 5611c5fe0f apex-twin 1.55.0: GitLab, Vaultwarden and keepalived audits, Grafana probe
Blue:
- gitlab_audit: gitlab.rb: an HTTP external_url, no redirect_http_to_https,
  open signup, disabled Let's Encrypt. Commented defaults are ignored.
- vaultwarden_audit: SIGNUPS_ALLOWED=true, a default ADMIN_TOKEN, an HTTP
  DOMAIN, missing SMTP.
- keepalived_audit: auth_type PASS, a default auth_pass, a notify hook piping
  a download into a shell.

Red:
- grafana_api_probe: /api/health, /api/datasources and /api/admin/users
  without credentials; datasources or admin users 2xx is anonymous access,
  with the datasource list saved as evidence.

The tool table hit its 256-slot cap at 258 tools; g_tools is now 384.
A double-escaped '\n' in line_value's continuation tokenizer made the whole
file one token; only the first line parsed until both calls used a real
newline escape.

Tests with GitLab/Vaultwarden/keepalived trees and two Grafana fixtures (open
and 401). 1120 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.55.0.
2026-11-22 13:20:00 +00:00
lotherk a388415735 apex-twin 1.54.0: Zabbix, NRPE and unattended-upgrades audits, RabbitMQ probe
Blue:
- zabbix_audit: zabbix_agentd.conf: Server=0.0.0.0/0, remote commands and
  their logging, TLSConnect unencrypted, shell metacharacters in a
  UserParameter.
- nrpe_audit: nrpe.cfg: allowed_hosts covering every address,
  dont_blame_nrpe=1 and check commands with shell metacharacters.
- unattended_upgrades_audit: 50unattended-upgrades: security-only origins,
  automatic reboot disabled or unset, no mail recipient.

Red:
- rabbitmq_management_probe: /api/overview and /api/queues without
  credentials; a 2xx overview with rabbitmq_version is an open management API
  and is saved as evidence.

Tests with Zabbix/NRPE/unattended-upgrades trees and two RabbitMQ fixtures
(open and 401). 1108 checks, ASan suite green, analyze clean, release-check
green including distcheck 1.54.0.
2026-11-22 12:54:51 +00:00
lotherk 34ac87b20f apex-twin 1.53.0: Gitea, MinIO and Nextcloud audits, Prometheus probe
Blue:
- gitea_audit: app.ini from three homes: PROTOCOL=http, INSTALL_LOCK=false,
  an empty or default SECRET_KEY, REQUIRE_SIGNIN_VIEW=false.
- minio_audit: /etc/default/minio: default or missing root credentials,
  MINIO_BROWSER=on and a plain-HTTP MINIO_SERVER_URL.
- nextcloud_audit: config.php: debug=true, a wildcard trusted domain,
  missing/HTTP overwriteprotocol and a world-writable data directory.

Red:
- prometheus_api_probe: /-/ready and /api/v1/query?query=up without
  credentials; a 2xx query is an open API and is saved as evidence.

Tests with Gitea/MinIO/Nextcloud trees and two Prometheus fixtures (open and
401). 1096 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.53.0.
2026-11-22 12:33:09 +00:00
lotherk d925e11b7b apex-twin 1.52.0: Caddy, Traefik and autofs audits, CouchDB probe
Blue:
- caddy_audit: Caddyfile: a site on :80 or http://, auto_https off, tls
  internal and an admin API beyond localhost.
- traefik_audit: traefik.yml/yaml/toml: api insecure, an HTTP entry point
  without a redirect and no TLS section.
- autofs_audit: auto.master and auto.master.d plus the maps they reference:
  wildcard map keys, world-writable maps and --timeout=0.

Red:
- couchdb_probe: / and /_all_dbs without credentials; the database list is
  the decisive answer and is saved as evidence. The root welcome is reported
  but is public on protected servers too.

Tests with Caddy/Traefik/autofs trees and two CouchDB fixtures (open and 401
with a public welcome). 1084 checks, ASan suite green, analyze clean,
release-check green including distcheck 1.52.0.
2026-11-22 12:11:51 +00:00
lotherk b221d26e35 apex-twin 1.51.0: FreeRADIUS, containerd and NATS audits, Consul probe
Blue:
- freeradius_audit: clients.conf, radiusd.conf and users: a well-known
  shared secret, require_message_authenticator=no (BlastRADIUS),
  Auth-Type := Accept and world-writable files.
- containerd_audit: config.toml: a TCP gRPC address without cert_file,
  sandbox_image without a digest, no_pivot_root=true and world-writable.
- nats_audit: nats-server.conf: no authorization block, no TLS, an http
  monitoring listener on every address, debug logging and world-writable.

Red:
- consul_api_probe: /v1/agent/self and /v1/catalog/services without an ACL
  token; a 2xx JSON answer is unauthenticated access with evidence saved.

Two parser bugs the suite caught: the '=' truncation in the RADIUS scanner hid
'Accept' in 'Auth-Type := Accept', and the NATS http check read the key's own
colon as an empty bind host, flagging 127.0.0.1 as every address.

Tests with FreeRADIUS/containerd/NATS trees and two Consul fixtures (open and
403). 1072 checks, ASan suite green, analyze clean, release-check green
including distcheck 1.51.0.
2026-11-22 11:50:09 +00:00