tomcatpeek — install + WAR posture census: Tomcat bin scripts (catalina.sh) stat-only (never executed), catalina.jar / servlet-api.jar / tomcat-api.jar jar presence, the /etc/tomcat conf tree with XML bodies NEVER parsed (perms only), the webapps tree with every .war counted (WAR_WIDE for world-writable, WAR_IN_PLACE for readable beyond owner) and WAR bodies never read, log dirs (size-only), the tomcat user via /etc/passwd (public file), and tomcat*.service unit census. Findings BARE_TOOL, CONF_PERM, WAR_WIDE, WAR_IN_PLACE, LOG_WIDE.
tomcatconfpeek — server.xml / tomcat-users.xml / web.xml / context.xml grammar + exposure census with stdlib XML ElementTree (no regex XML, no third-party): Connectors counted with bind class (a Connector with no address attribute = all interfaces per Tomcat convention), port band, sslEnabled/scheme https detection, Valves, Realms, tomcat-users.xml user count as CRED-PRESENT with password value never printed, role count, web.xml security-constraint presence with SECURITY_CONSTRAINT_ABSENT fired per-file (no config-target summary double-emission — B134 class defect fixed in build), context.xml WatchedResource count. Findings LISTEN_ANY, NO_CONNECTOR, NO_TLS, SECURITY_CONSTRAINT_ABSENT, CONF_PERM.
Read-only by construction: nothing executed, no socket opened, no log, WAR, or XML body read. rc-law 0/4/6/3. MIT. 182 executed checks, clean-room fired twice from the exact shipping zip.