Commit graph

8 commits

Author SHA1 Message Date
ffa3fbe1f9 checker: validate security.txt is a real RFC 9116 file
The http.security_txt rule reported OK for any 200 response with a
non-empty body, so a soft-404 (status 200 + HTML body) served for
/.well-known/security.txt was misread as "published".

Capture the response Content-Type and count the RFC 9116 required
fields (Contact, Expires) in the body. OK now requires text/plain with
at least one Contact and exactly one Expires; a non-conforming 200
yields a new Warn http.security_txt.invalid explaining the defect.
Redirects are still followed and the final response is validated, per
RFC 9116 §3.
2026-06-14 18:14:00 +09:00
086d3e151d checker: add honeypot-path collector and rules
All checks were successful
continuous-integration/drone/push Build is passing
Probes 20 known-bad paths (/.env, /.git/config, /actuator/env, etc.)
that CT-log scanners hit immediately after a new certificate is issued.
Critical credential/source-leak paths raise StatusCrit; other exposed
paths raise StatusWarn; 401/403 responses raise StatusInfo.

Fixes: #1
2026-06-13 16:25:21 +09:00
77f8ee4024 checker: build host FQDN from subdomain + apex at service scope 2026-04-30 08:57:31 +07:00
603e93355b Deepen CSP, Permissions-Policy and cookie audits
Detect CSP weaknesses individually (unsafe-inline, unsafe-eval, missing
default-src/script-src, permissive sources on script-src or its
default-src fallback) instead of a single catch-all "unsafe" code, and
honour CSP3 fetch-directive fallback via EffectiveSources/WildcardSource
helpers. Validate Permissions-Policy values: warn when a powerful
feature (camera, microphone, geolocation, payment, sensors, …) is
granted to all origins. Add a SameSite aggregate state on cookie audits
so callers get the global ratio alongside per-cookie diagnostics.
2026-04-28 18:43:07 +07:00
27a30638f4 Add redirect-chain rules per RFC 9110 §15.4 2026-04-28 18:42:54 +07:00
2250902a94 Add RFC 6265bis cookie checks: name prefixes and per-cookie size 2026-04-28 18:42:45 +07:00
01bdadd2ab Add modern security header rules 2026-04-28 18:42:26 +07:00
542ebdea34 Initial commit 2026-04-28 18:42:11 +07:00