Directories
¶
| Path | Synopsis |
|---|---|
|
Package catalog hosts the machine-readable checks catalog served at GET /api/v1/checks.
|
Package catalog hosts the machine-readable checks catalog served at GET /api/v1/checks. |
|
cmd
|
|
|
websec0
command
Command websec0 is the HTTP scanner daemon.
|
Command websec0 is the HTTP scanner daemon. |
|
internal
|
|
|
api
Package api hosts the HTTP routing layer: a chi router that exposes /api/v1/scan (POST + GET by id) and /api/v1/checks, wired with request-ID, slog request logger, panic recovery and per-IP rate limiting.
|
Package api hosts the HTTP routing layer: a chi router that exposes /api/v1/scan (POST + GET by id) and /api/v1/checks, wired with request-ID, slog request logger, panic recovery and per-IP rate limiting. |
|
cache
Package cache provides a thread-safe TTL + LRU cache used to retain recently completed scan results.
|
Package cache provides a thread-safe TTL + LRU cache used to retain recently completed scan results. |
|
config
Package config loads, validates and exposes the websec0.yaml runtime configuration.
|
Package config loads, validates and exposes the websec0.yaml runtime configuration. |
|
custom
Package custom hosts the non-scoring "additional findings" checks.
|
Package custom hosts the non-scoring "additional findings" checks. |
|
frontend
Package frontend embeds the Astro static build and exposes it as an http.Handler with SPA fallback.
|
Package frontend embeds the Astro static build and exposes it as an http.Handler with SPA fallback. |
|
headers
Package headers fetches and evaluates the HTTP security headers exposed by a target.
|
Package headers fetches and evaluates the HTTP security headers exposed by a target. |
|
history
Package history maintains the opt-in, in-memory list of recently completed public scans.
|
Package history maintains the opt-in, in-memory list of recently completed public scans. |
|
safehttp
Package safehttp is the security-critical core that gates every outbound connection made by a scan.
|
Package safehttp is the security-critical core that gates every outbound connection made by a scan. |
|
scan
Package scan defines the public payload shapes returned by the scanner API.
|
Package scan defines the public payload shapes returned by the scanner API. |
|
scanner
Package scanner is the scan orchestrator.
|
Package scanner is the scan orchestrator. |
|
scoring
Package scoring contains the threshold tables and computation rules that turn observation reports into a 0–100 score and a scan.Grade letter.
|
Package scoring contains the threshold tables and computation rules that turn observation reports into a 0–100 score and a scan.Grade letter. |
|
sslv2
Package sslv2 detects whether a server speaks the obsolete SSLv2 protocol.
|
Package sslv2 detects whether a server speaks the obsolete SSLv2 protocol. |
|
sslv3
Package sslv3 detects whether a server speaks SSLv3 by sending a TLS-framed ClientHello with version 0x0300 and classifying the response.
|
Package sslv3 detects whether a server speaks SSLv3 by sending a TLS-framed ClientHello with version 0x0300 and classifying the response. |
|
tls
Package tls runs the modern TLS probe — protocol enumeration, cipher enumeration per legacy protocol, certificate-chain extraction with system-root validation, OCSP-stapling presence and presence-based weakness heuristics.
|
Package tls runs the modern TLS probe — protocol enumeration, cipher enumeration per legacy protocol, certificate-chain extraction with system-root validation, OCSP-stapling presence and presence-based weakness heuristics. |
|
version
Package version exposes the build-time identifiers (release tag, git commit, build date) injected via -ldflags.
|
Package version exposes the build-time identifiers (release tag, git commit, build date) injected via -ldflags. |
Click to show internal directories.
Click to hide internal directories.