Fast, modular TLS/SSL security scanner and compliance engine built in Rust
CipherRun is a comprehensive TLS/SSL security scanner written in Rust. It combines protocol and cipher analysis, vulnerability testing, compliance checks, and certificate transparency monitoring in a single high-performance CLI and API-ready engine.
| Feature | Description |
|---|---|
| Protocol Coverage | SSLv2 to TLS 1.3 with full handshake analysis |
| Vulnerability Tests | 18+ major TLS CVEs (Heartbleed, ROBOT, POODLE, LOGJAM, etc.) |
| Compliance Engine | PCI-DSS, NIST, HIPAA, SOC 2, Mozilla, GDPR |
| Fingerprinting | JA3, JA3S, JARM with signature databases |
| Certificate Analysis | Chain validation, revocation, EV detection |
| Monitoring | 24/7 certificate monitoring with alerts |
| CT Logs | Real-time CT log streaming + Bloom deduplication |
| Database Support | PostgreSQL/SQLite analytics and history |
Compliance reports are TLS posture checks mapped to selected technical controls. Passing them does not establish certification or full regulatory compliance.
Requires Rust 1.100 or newer. The Python SDK requires Python 3.12 or newer; CI tests the active minimum (3.12) and newest active release (3.15), using the latest patch release for each. Rust CI uses the stable channel, currently Rust 1.100.1 (eol-cli, 2026-12-02). CI follows GitHub's *-latest runner aliases (currently Ubuntu 26.04, Windows Server 2025 with Visual Studio 2026, and macOS 26); release builds keep explicit OS baselines where compatibility requires them.
git clone https://github.com/seifreed/cipherrun.git
cd cipherrun
cargo build --release
./target/release/cipherrun --helpExport the versioned scan-result contract with cipherrun schema --output scan-results.schema.json; the repository copy is maintained at
docs/scan-results.schema.json.
The workspace also publishes cipherrun-core, a dependency-light crate with
the stable finding status, detection method, vulnerability identifiers, and
structured evidence contracts. It can be used without compiling the CLI, API,
database, or monitoring modules.
It also publishes cipherrun-protocol, which exposes the dependency-light
TLS/SSL protocol version and negotiation-result contracts independently of the
scanner implementation.
The cipherrun-policy crate provides the versioned policy-definition contracts
without pulling in the evaluator, database, or API server.
The cipherrun-data crate provides dependency-light rule-pack metadata
contracts without pulling in the compliance loader or scanner runtime.
The cipherrun-probes crate provides dependency-light probe status contracts
without pulling in the scanner networking runtime.
The cipherrun-cli crate provides stable process exit-code contracts for
integrations without pulling in the command router.
The cipherrun-server crate provides stable permission and job-backend
contracts without pulling in Axum, SQLx, or the scan executor.
The cipherrun-worker crate is a standalone worker binary that reuses the
main package's durable queue and scan executor.
Certificate Transparency streaming is enabled by default and can be removed
from a reduced build with --no-default-features; monitoring depends on
the ct feature because CT discovery feeds the monitor sink.
CT log-list loading is tested with loopback HTTP responses and injected DNS
outcomes, so public/private filtering, empty resolutions, truncated and oversized
responses, transport failures, unknown source IDs, and malformed-list errors need
no external service. IP literals are rejected before DNS resolution, avoiding a
redundant private-IP branch in the resolver.
Streamer initialization is also covered with loopback source lists for both usable
and empty inventories; source delivery covers valid entries, JSON output, sink-error
redaction, and closed output channels without contacting external CT services. The public constructor is tested
to reject invalid polling configuration before it attempts network access, and the
shutdown method is verified to signal active source tasks.
The HTTP API stack is enabled by the api feature (included by default). A
reduced CLI/library build can disable it with --no-default-features; API
server and OpenAPI commands then return an explicit configuration error and
the Axum/Tower/utoipa dependencies are omitted.
The standalone PQC configuration scanners and roadmap are enabled by the
pqc feature; readiness scoring remains part of the core scan-result contract.
The reduced feature matrix is checked in CI with --no-default-features,
monitoring, ct,pqc, both database backends, and --all-features builds.
Linux CI also runs PostgreSQL repository and coverage tests against the latest
PostgreSQL image (postgres:latest; currently 19.0), matching the newest active
release reported by eol-cli and following future major and patch updates.
The PostgreSQL scan-rating comparison tests cover both the configured database
path and the skip path when the optional test URL is absent. An injected fetch-failure
test also verifies errors from the second scan query propagate after the first succeeds.
Database pool tests also cover malformed SQLite connection URIs and directory-path failures,
PostgreSQL zero-pool-size validation, safe reporting for a refused PostgreSQL connection,
and public PostgreSQL pool creation plus health checks against CI's service. SQLite
top-domain reads also reject non-UTF8 names and invalid aggregate timestamps in global
and owner-scoped queries.
Top-domain counts come directly from SQL COUNT(*), whose result is non-negative, so
the repository no longer carries an unreachable negative-aggregate error branch.
The same CI workflow runs weekly so moving Rust, Python, PostgreSQL, and runner
aliases are revalidated even when the repository has no new commits.
main runs share a concurrency group: an active run finishes while newer pushes
replace only the pending run, keeping the latest full coverage report queued
without allowing stale runs to build up. Superseded pull-request and other
branch runs are cancelled.
Database backends are explicit features: db-sqlite and db-postgres are
enabled by default, and a disabled backend is rejected before opening a pool.
TLS provider selection is explicit as well. The default build enables
rustls (the ring provider) and openssl-legacy (the reproducible vendored
OpenSSL build). Reduced builds may omit either feature: rustls then uses its
default aws-lc-rs provider, while OpenSSL resolves against the system library.
cargo install cipherrunPushing a tag matching the package version, such as v0.5.0, runs the release
workflow. It builds platform packages for Linux, Windows, and macOS on x64 and
ARM64, together with SHA-256 checksums, package-manager manifests, and an SBOM.
The x86_64 Linux artifact is built on Ubuntu 24.04 to retain its glibc baseline;
the ARM64 Linux artifact uses the current Ubuntu 26.04 ARM runner.
The workflow requires the repository Actions secret CARGO_REGISTRY_TOKEN for
crates.io publication. The production container and provenance attestations are
separate release outputs and must be verified on the individual GitHub release
before being advertised as published.
The 0.5 migration steps are in docs/migration-0.5.0.md,
the 0.4 migration steps are in docs/migration-0.4.0.md,
the supported platforms and versions are in docs/support-matrix.md,
and automation compatibility rules are in docs/stability-policy.md.
The release job generates cipherrun.rb and cipherrun.json assets from the
checksums for Homebrew and Scoop consumption. The local container signing helper
is scripts/sign-container.sh.
The OpenAPI contract can be exported and used to regenerate the Python client:
cargo run --bin cipherrun-openapi > /tmp/cipherrun-openapi.json
scripts/generate-python-sdk.sh sdk/pythonThe generator also reapplies the SDK's JSON date/time serialization fix to its output.
The default image is the production build: a distroless, non-root runtime containing only CipherRun and the CA bundle.
docker build -t cipherrun:0.5.0 .
docker run --rm cipherrun:0.5.0 example.comTo run the API, generate credentials first. The production Compose binds the API to localhost, mounts the configuration read-only, drops every capability, and uses a read-only root filesystem.
cipherrun --api-config-example ./api.toml
export CIPHERRUN_API_CONFIG="$PWD/api.toml"
docker compose -f compose.production.yml up --buildThe bootstrap command writes only a SHA-256 credential hash to api.toml and
places the one-time plaintext token in api.token; both files are created with
owner-only permissions and existing files are never overwritten. Move the token
to your secret manager and remove the local token file after enrollment.
Administrators can rotate or revoke credentials without restarting the API:
GET /api/v1/credentials, POST /api/v1/credentials,
POST /api/v1/credentials/{key_id}/rotate, and
POST /api/v1/credentials/{key_id}/revoke. Create and rotate responses contain
the new plaintext secret once; list and revoke responses contain metadata only.
Changes are synchronously persisted to the owner-only API TOML file, and the
last active administrator credential cannot be revoked.
CT streaming can feed the existing monitoring scheduler, scanner, and alert channels. Configure an explicit suffix allowlist in the monitor TOML:
[monitor]
ct_discovery_suffixes = ["example.com"]Then run cipherrun --ct-logs --ct-monitor-config monitor.toml. CT names are
deduplicated, normalized, and rejected unless they match an allowlisted suffix;
an empty allowlist performs no discovery.
Set job_storage_dir in api.toml for durable standalone job state. Queued,
running, completed, failed, and cancelled jobs survive restarts; interrupted
running jobs are safely returned to the queue. Omitting it selects the
development-only in-memory backend.
Set job_backend = "database" when the API is started with a configured
SQLite or PostgreSQL pool to use the transactional SQL job table instead of
file storage. Database jobs use conditional claims and recover expired running
leases on startup.
For distributed execution, set local_executor = false in the API config and
run one or more workers against the same SQL database:
cipherrun --worker --api-config api.toml --db-config database.tomlWorkers reuse the scanner, lease heartbeat, retry, dead-letter, webhook, and
CIDR policy code from the API executor; local_executor = false is rejected
unless job_backend = "database" is selected.
Running jobs renew their database lease while scanning. Transient scan failures
are retried up to three attempts; exhausted jobs remain queryable as failed
dead-letter records instead of being silently discarded.
job_retention_seconds controls terminal job TTL (seven days by default);
queued and running work is never removed by retention cleanup.
Browser WebSocket clients obtain a 60-second, one-use URL from
POST /api/v1/scan/{id}/stream-ticket using the X-API-Key or
Authorization: Bearer header. Raw API credentials in query parameters are
rejected.
Per-scan progress streams forward only matching scan IDs and close after
completion, failure, cancellation, or a lag notice; reconnect or poll scan
status after a lag notice. After a terminal or lag frame, the server waits up to
one second for the peer to finish the WebSocket close handshake, then logs a
structured timeout and closes the connection.
To enable scan-completion webhooks, point webhook_signing_secret_file at an
owner-only file containing at least 32 random bytes. Deliveries include
X-CipherRun-Event, X-CipherRun-Delivery, X-CipherRun-Timestamp, and an
X-CipherRun-Signature: v1=<hex HMAC-SHA256> over <timestamp>.<body>; transient
failures are retried up to three times.
Authenticated operators can scrape /api/v1/metrics in Prometheus text format.
Every API response also carries an X-Request-ID value for correlating logs
and client reports. Requests are recorded in a bounded audit ring and emitted
through the structured audit tracing target; query strings and bodies are
intentionally excluded.
Credentials assigned to the same tenant_id share the configured request quota;
unscoped credentials remain isolated per key.
Set worker_allowed_cidrs in the API config to constrain worker DNS results to
administrator-owned network scopes. The client cannot widen this list; every
resolved private address must match an allowlisted CIDR.
Set trusted_proxy_cidrs before deploying behind a reverse proxy. X-Forwarded-For
is ignored unless the immediate TCP peer belongs to one of these CIDRs.
Historical scans, certificate inventory, and /api/v1/stats are scoped to the
authenticated principal and tenant for non-admin credentials. Administrator
credentials retain global visibility; process-wide counters are never exposed to
non-admin callers.
Build with --features otel to export tracing spans through the standard OTLP
HTTP exporter. The exporter follows OTEL_EXPORTER_OTLP_* environment variables;
without that feature, no telemetry backend is contacted. The application only
installs the global OpenTelemetry provider after its tracing subscriber starts
successfully; constructing the telemetry layer alone has no global side effect.
CipherRun uses Rust tracing. Logs go to stderr; pass --logfile FILE to also
write them to daily-rotated files in a dedicated .<FILE>.d directory beside
the requested path. Up to seven daily files are retained. The default level is
info; -v enables debug and -vv enables trace. RUST_LOG takes
precedence and supports standard module directives, for example
RUST_LOG=warn,cipherrun::api=debug. Invalid
filters fall back to the selected verbosity. The same filter limits events sent
to OTLP. The standalone worker uses the same RUST_LOG filter and defaults to
info.
Concurrent initialization calls are serialized; later callers reuse the
already installed global subscriber.
SQLx query statement events are suppressed from CipherRun's built-in text, JSON,
and OTLP destinations because SQL text can contain sensitive literals. Pools
created by CipherRun also disable SQLx statement logging at the connection
level. Keep variable data bound instead of embedding it in SQL text. If an
application installs its own subscriber or supplies its own SQLx pool, that
owner controls statement logging and must keep it disabled or redact it.
Database lifecycle events remain available: successful pool creation emits
database.pool.connected with the backend, connection duration, and outcome;
the event omits database paths and connection strings. Successful migration
setup emits database.migrations.completed with backend, duration, and
readiness outcome. Scan persistence, repository reads/writes, scan history,
certificate inventory, analytics, and database job-queue operations create
opt-in DEBUG spans with static operation names; they inherit request
correlation and omit SQL, identifiers, and input records. With the otel
feature enabled, set a matching RUST_LOG directive (for example
cipherrun=debug) to export their duration and parent trace context.
DNS cache hit/miss events are TRACE-level and omit the hostname, avoiding
per-target debug noise during bulk scans.
HTTP/3 ALPN probes emit one http3.request.inconclusive event with aggregate
timeout, connection, and request failure counts; they omit the target and raw
HTTP client errors. Host-bearing hyper_util::client::legacy diagnostics stay
disabled even when RUST_LOG enables TRACE; CipherRun emits its own sanitized
request outcome instead.
CRL revocation checks emit certificate.revocation.crl.completed with good or
revoked outcome and duration; CRL failures include a stable error code and
duration without logging the distribution-point URL.
OpenSSL certificate-fetch and BEAST probe events retain the active scan-phase
span while their blocking work runs on Tokio's worker pool.
Set CIPHERRUN_LOG_FORMAT=json to emit newline-delimited JSON; text is the
default. This setting applies to both the CLI and standalone worker.
Text output escapes control characters in event fields and messages so
untrusted CR, LF, and terminal escape sequences cannot inject log lines or
terminal control sequences; JSON output uses JSON escaping. Tests cover both
record-ending newlines and escaped interior newlines.
Log writes use a bounded background writer and flush on process shutdown. If its
queue fills, low-priority log events may be dropped rather than blocking scans;
the writer guard remains alive for the full command/worker lifetime.
If the drop-monitor thread cannot start, initialization emits a warning and
the accumulated drop count is still reported during shutdown.
The CLI and standalone worker install a panic hook before argument parsing; it
emits a sanitized process.panic event (or fixed stderr fallback before logger
initialization) with the source line, never the panic payload. Applications
embedding the library can opt in with logging::install_safe_panic_hook().
The API emits api_server.background_tasks.shutdown with duration, task count,
failure count, and completion outcome after joining its background tasks;
individual failed tasks retain their own categorized error events. If the task
owner is dropped before graceful shutdown, api_server.background_tasks.drop_cleanup
records whether a shutdown signal was sent and whether the executor cleanup could
be scheduled in the active Tokio runtime. Background tasks spawned through the
shared Tokio helper retain both the active tracing subscriber and span across
worker threads. The executor, job-retention, and rate-limit cleanup tasks inherit
the server's current tracing context.
Queued scan jobs propagate W3C traceparent into the worker's scan.job span;
tests verify trace ID continuity and a structured warning when the tracing layer
cannot accept the parent context.
scan_job.task.join_failed classifies unexpected task panics and cancellations
with stable error codes and an outcome; its structured event omits the panic
payload. Parallel mass-scan tasks inherit the command span; join failures use
the same safe categorization and return a fixed error message without exposing
panic payloads or target names in the diagnostic event.
Monitoring logs inventory loads, manual additions, allowlisted CT discovery
counts, scan outcomes, and per-channel alert delivery outcomes without logging
the monitored hostnames. Its monitor.started event follows inventory and
configuration readiness. Signal-handler setup/runtime failures emit categorized
events, and a setup failure resets the daemon's running state.
Target-validation and certificate-fetch failure events include elapsed scan
duration and categorized errors without logging the monitored target.
When idle, a shutdown request wakes the scheduler immediately instead of waiting
for the next poll tick; an active scan cycle finishes before monitor.stopped.
The scheduler marks due domains in progress before dispatch and excludes them
from overlapping cycles, then schedules their next scan only after completion.
Scheduler tests also cover the Default constructor and windows whose duration is
representable but whose resulting UTC timestamp overflows the calendar range.
Scan comparison lookup tests cover SQLite query failures and exercise PostgreSQL
lookups plus missing-table error mapping in the CI PostgreSQL service.
Early Data fixtures also exercise TLS 1.2-only servers, empty probe-address lists,
and connection-refusal outcomes without external network access.
GREASE merge tests cover rejection precedence and preservation of the first
inconclusive outcome; the baseline probe reports only success or an actionable error.
Anycast diagnosis records DNS resolution timing/failure and per-address scan
outcomes by index, without logging hostnames or IP addresses.
JARM emits one DEBUG completion summary with probe count, inconclusive count,
duration and outcome; it omits the target and raw handshake data.
The explicit --probe-status option emits one connectivity event with duration,
outcome and error category, without the target address.
Optional pre-handshake capture failures emit a DEBUG
scan.preflight.capture.failed event with operation, duration, error category,
and outcome, without the target name or address.
MX lookup failures emit a terminal dns.mx.lookup.failed event with duration
and a stable error code; resolver output and domain names stay out of that event.
Successful custom-resolver lookups emit structured started/completed events with
the outcome and record count.
Empty MX answers emit a terminal failure event with a stable error code.
MX server scan summaries emit the same dns.mx.scan.completed event for full
success and partial failure, with counts and duration but no hostnames.
Serial and parallel fan-out tests use a loopback DNS responder to preserve a
host-level resolution error and verify partial-failure summaries without external DNS.
MX aggregation tests also cover duplicate vulnerability merging, preservation of existing
incomplete-coverage context, certificate-derived ratings, and a valid loopback scan request.
CT stream shutdown events include elapsed time and a terminal outcome, both for
the overall stream and each source. Signal, output, and stats tasks inherit the
current command span; each source task has its own ct_log.source span. Dropping
the stream future aborts its owned tasks, and source-health validation happens
before any background task starts.
Completed CLI commands and standalone worker runs emit one terminal event with
operation, duration, outcome and exit/error type; they do not log scan targets
or raw error text.
Successful scan completion webhook events include the attempt count, duration
and outcome; terminal failures include duration and a stable error code without
exposing webhook URLs or response details.
The --local OpenSSL inventory emits one terminal outcome for the combined
version and cipher-list operation, while its result stays on stdout.
If an OpenSSL subprocess remains active after a timeout but the operating
system refuses the termination request, a separate sanitized warning records
that process-control failure.
The API TLS listener reports accept failures with a retry delay and outcome; its
backoff grows from 100 ms to a 5 s cap to limit CPU and warning volume during
persistent listener errors.
API middleware creates a http.request span with the generated request_id,
HTTP method, and matched route template around downstream request handling.
The span is carried through scan WebSocket upgrades and their send/receive tasks,
and queued scan jobs retain their scan.job span through the spawned scan task,
so asynchronous diagnostics retain their operation context. The response's
X-Request-ID can be used to find that request's structured audit event and
related spans. Unmatched paths use a fixed marker; client IPs, query strings,
request bodies and authorization headers are not written to logs. Do not add credentials,
webhook URLs, certificate contents, or alert message bodies to tracing fields.
Production blocking probes and email alert sends use the same current-span
propagation helper, so their diagnostics remain attached to the active scan or
monitor operation. The standalone worker's executor and monitor's per-domain
scans and signal handlers also retain the invoking command span.
With the otel feature enabled, tracing spans are exported through OTLP over
HTTP. Export failures produce sanitized SDK error events through tracing; the
collector's response body is not included. Transient HTTP failures are retried
up to three times with exponential backoff and jitter; after the initial attempt
and retries are exhausted, the batch is reported as failed and may be lost.
OTEL_EXPORTER_OTLP_TIMEOUT (or OTEL_EXPORTER_OTLP_TRACES_TIMEOUT) limits
each HTTP request attempt. This uses the Rust OTLP SDK's opt-in
experimental-http-retry feature. Without otel, logs and spans remain local
and no telemetry service is required.
Native HTTPS is available by setting tls_cert_file and tls_key_file to a
certificate chain and private-key PEM file. The two paths must be configured
together; otherwise the API remains HTTP for local development. TLS handshakes
are completed before Axum receives a connection.
Set tls_client_ca_file to a PEM CA bundle to require client certificates for
every HTTPS connection (mTLS). Keep the CA file owner-readable and distribute
client certificates separately from API credentials.
Dockerfile.lab and compose.lab.yml are an explicit packet-capture laboratory with pinned sslscan/testssl.sh sources and digest-pinned SSLyze/TLS-Scanner services. It grants NET_ADMIN and NET_RAW; use it only on systems and targets you are authorized to test.
mkdir -p captures results
docker compose -f compose.lab.yml run --rm cipherrun-lab
make lab-validatemake lab-validate starts isolated weak and modern TLS fixtures, records CipherRun,
sslscan, SSLyze, testssl.sh, TLS-Scanner, and OpenSSL results, and fails when the expected TLS 1.2/1.3
negotiation boundary changes. See the public validation coverage matrix.
# Scan a host
cipherrun example.com
# Scan a URL
cipherrun https://example.com
# Run full vulnerability scan
cipherrun -U example.com# Protocol testing
cipherrun -p example.com
# Explicit QUIC/UDP and HTTP/3 probe
cipherrun --quic example.com:443
# Offer Encrypted ClientHello from the target's HTTPS/SVCB record
cipherrun --ech example.com:443
# Cipher enumeration
cipherrun -e example.com
# JSON output
cipherrun --json results.json example.com
# HTML report
cipherrun --html report.html example.com
# CI artifacts
cipherrun --sarif results.sarif --junit results.junit.xml example.com
# CI failure thresholds
cipherrun --fail-on high example.com
cipherrun --policy policy.yaml --fail-on-policy example.com
# Compare versioned scan results (exit 4 on drift)
cipherrun diff baseline.json current.json
cipherrun --baseline baseline.json example.com
# Generate reviewable hardening snippets from a scan result
cipherrun remediate results.json --format nginx
cipherrun remediate results.json --format envoy --output envoy-tls.yaml
# Explicitly authorized internal-network scans (local CLI only)
cipherrun --allow-private intranet.example.internal
cipherrun --allow-cidr 10.20.0.0/16 host.internal
# Scan intensity presets
cipherrun --profile safe example.com
cipherrun --profile standard example.com
cipherrun --profile aggressive example.com# SMTP with STARTTLS
cipherrun -t smtp mail.example.com:587
# IMAP with STARTTLS
cipherrun -t imap mail.example.com:143
# Telnet with STARTTLS
cipherrun -t telnet legacy.example.com:23JSON output is versioned independently from the CLI. The canonical schema, compatibility policy, changelog, and fixtures are published in schemas/.
Bundled compliance mappings carry an independent rule-pack version, primary publication reference, review date, and runtime SHA-256 of the exact YAML. Trust-store and fingerprint refreshes are traceable through the generated data provenance manifest, which records their source, revision, counts, and SHA-256 values.
Remote timing probes follow the published timing methodology, including sample counts, descriptive statistics, confidence intervals, thresholds, and the conditions that produce an inconclusive verdict.
Client simulations expose a versioned compatibility contract with explicit
rustls and metadata-only limitations; see
client compatibility profiles.
Delegated-credential checks parse OpenSSL's decrypted TLS 1.3 Certificate
handshake and verify RFC 9345 extension 34 when present; TLS 1.2 uses the
X.509 prerequisite fallback and certificate-only backends conservatively report
not_observed. Full positive/negative
interoperability validation still requires dedicated RFC 9345 server fixtures.
See delegated credentials.
remediate generates configuration snippets for nginx, Apache, HAProxy, Envoy,
or Caddy. It never changes a running service, and it deliberately leaves
inconclusive or potential findings visible for operator review. Existing output
files are protected unless --overwrite is supplied.
External audit status and the exact pre-audit evidence commands are tracked in
docs/security-audit.md; the checklist is not a
substitute for an independent audit.
cargo fmt --all --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test
cargo audit
cargo deny check
cargo +nightly udeps
cargo +nightly llvm-cov --workspace --all-features --all-targets --locked --fail-under-lines 91.02 --summary-only
cargo bench
cargo fuzz list
cargo fuzz build parsed_input
cargo outdatedLinux CI installs cargo-audit, cargo-deny, and cargo-semver-checks from checksummed release binaries through a SHA-pinned action, avoiding repeated source builds. Shared contract checks compare the source content while allowing the core crate's crate-root-only nightly coverage feature attribute.
CI measures line coverage across every Rust workspace crate, feature, and target using cargo-llvm-cov 0.9.2. The 14-day artifact includes workspace JSON/LCOV reports, uncovered-line locations, and separate JSON plus annotated text reports per package. CI checks that the package line totals sum to the workspace total.
Coverage runs with nightly Rust and excludes inline test-harness code from the denominator. Linux CI run 47449942614 measured 91.0263109% production-source line coverage (54,005/59,329), so the CI floor is 91.02%. The current local macOS run measures 91.07%; historical per-file progress below records earlier runs and is not comparable to the current workspace denominator.
Linux CI run 46870821725 measured 92.902523% workspace line coverage (119,468/128,595), providing evidence for raising the gate to 92.90%; that run itself enforced the prior 92.83% threshold. A local full-workspace run with the PostgreSQL fixture and Winshock loopback handshake test measured 92.928060% (119,525/128,621).
At commit 18ab1b45, a full-workspace run with all features, targets, PostgreSQL fixtures, and serialized Rust tests passed and measured 93.059214% line coverage (119,770/128,703). The 4,242 main-crate unit tests and enabled workspace tests passed; network-dependent integration suites remain ignored by their existing test annotations.
Commit e94ca065 passed the same local all-workspace LLVM run with 4,254 main-crate tests and measured 93.080179% line coverage (119,864/128,775). Linux CI run 46886108622 measured 93.073328% (119,871/128,792), so the workspace coverage gate is raised to 93.00%; that run itself enforced the prior 92.90% gate.
Linux CI run 46911320552 measured 93.116447% workspace line coverage (120,299/129,192), and the local full-workspace run measured 93.127254% (120,326/129,206). The CI floor was raised to 93.10% based on that successful Linux measurement; it was a minimum gate, not a claim of complete coverage.
A subsequent local all-workspace/all-features/all-targets LLVM run passes and measures 93.131005% line coverage (120,383/129,262). Executor coverage rises from 93.066575% to 93.197970% after adding a dequeue-failure test that verifies the safe structured error event and prompt shutdown during retry backoff.
The next all-workspace/all-features/all-targets LLVM run passes at 93.148534% (120,401/129,257). src/monitor/scheduler.rs now measures 100% line coverage (370/370): scheduling reuses the already validated chrono::Duration, removing duplicate overflow conversions that could not fail after interval validation.
The latest all-workspace/all-features/all-targets run passes all enabled tests and measures 93.138764% line coverage (120,407/129,277). src/db/analytics/scan_comparator/vulnerabilities.rs now measures 100% (112/112): SQLite query failures are tested, and candidate indexes derived from enumerating the source vectors are used directly instead of through unreachable optional-index branches. The scheduler remains at 100% (370/370).
A subsequent full run passes and measures 93.142729% workspace line coverage (120,441/129,308). Webhook DNS resolution now has an injected resolver seam and a deterministic failure test proving unavailable DNS fails closed; src/security/webhook.rs measures 97.784810% (309/316).
A local all-workspace/all-features/all-targets LLVM run with the PostgreSQL fixture passed at commit 1ccea588 and measured 93.111438% line coverage (120,151/129,040). A lease-renewal failure test verifies the structured warning and safe queue error code while a scan continues; a WebSocket backpressure test verifies the structured lag warning and terminal close outcome. The 4,772-test full run after these additions passed with 63 ignored tests and measured 93.117625% line coverage (120,267/129,156). Additional TLS Certificate parser cases cover a truncated request context and an incomplete extension header; the 4,772-test workspace run still passes with 63 ignored tests and measures 93.121148% line coverage (120,279/129,164). A new delegated-credential signature-scheme test covers all supported digest mappings and rejects unknown schemes; the 4,773-test workspace run passes with 63 ignored tests and measures 93.120960% line coverage (120,289/129,175). Target validation now tests zero-port rejection and repeated trailing-dot rejection; the 4,774-test workspace run passes with 63 ignored tests and measures 93.121279% line coverage (120,295/129,181). The PostgreSQL comparator error assertion now uses expect_err without an unexecutable success-path panic arm; the 4,774-test workspace run passes with 63 ignored tests and measures 93.122107% line coverage (120,297/129,182). The default scan factory now has a test for propagating invalid scan requests; the 4,775-test workspace run passes with 63 ignored tests and measures 93.122320% line coverage (120,301/129,186). Scan presenter tests cover stored-result notices, post-export spacing, and the no-target export path; the 4,777-test workspace run passes with 63 ignored tests and measures 93.127254% line coverage (120,326/129,206). Coverage artifacts are retained locally under /tmp/cipherrun-post-presenter.*.
Cipher probe tests exercise clean peer closure, truncated TLS record headers, oversized record rejection, and the public single-cipher success path using local TCP fixtures.
The certificate formatter tests exercise certificate transparency and expiry output, per-certificate trust, empty and complete chains, trusted and untrusted platform states, OCSP stapling details, and OCSP/CRL/none revocation methods across all revocation statuses. The 35-test formatter suite measures src/output/scanner_formatter/certificates.rs at 282/282 lines (100%) with LLVM.
Mass-scan command tests also exercise serial and parallel error reporting and verify that failed per-target results are written to compact and pretty JSON exports.
The latest local all-workspace/all-features/all-targets LLVM run passed with 4,724 main-crate tests and 11 ignored, measuring 93.12% line coverage (55,261/59,344). Package reports from the same run measured cipherrun at 54,986/59,066 lines, cipherrun-core at 88/88, cipherrun-cli at 21/21, cipherrun-probes at 51/51, cipherrun-worker at 36/39, cipherrun-policy at 6/6, and cipherrun-protocol at 73/73; cipherrun-data and cipherrun-server contain no executable lines in the report. These package totals sum to the workspace measurement. src/utils/mx.rs remains at 100% (458/458), and src/utils/adaptive.rs now has 100% line coverage (161/161) after simplifying poisoned-mutex recovery without changing its behavior. The workspace still has 4,083 uncovered lines and is not fully covered. Earlier workspace measurements in this document use a different coverage denominator and are not directly comparable. Coverage artifacts are retained locally under /tmp/cipherrun-coverage-adaptive.log.
At commit 093f7684, the local all-workspace/all-features/all-targets LLVM run passed at 93.476378% line coverage (121,939/130,449). A raw TCP WebSocket integration test sends an invalid compressed-frame flag to both global and scan-specific streams, verifies clean closure, and checks their structured receive-failure events. The next local full run passed at 93.476994% (121,937/130,446) after removing a redundant pre-wait monitor state check; Notify::notify_one stores a permit when shutdown is requested before a waiter exists. The following full run passed at 93.489456% (122,000/130,496): a loopback test now exercises both bulk client simulation APIs and their failure results using the embedded current-client profiles. CI runs these tests in its workspace job and enforces the 93.47% floor.
Certificate monitor tests verify CT discovery from allowlisted SANs when the certificate has no common name, including normalization of suffix and DNS-name casing and rejection of an IP SAN.
Scan comparison tests exercise vulnerability fetch success and safe database error mapping through the PostgreSQL backend using an isolated temporary schema.
Windows TCP tests drain complete TLS request records before fixture shutdown, and the Winshock malformed-handshake fixture keeps its socket open until the client consumes the TLS alert. This avoids reset timing hiding the expected classification.
Linux CI run 46862339198 for commit 5571eaec measured 92.83767578763764% workspace line coverage (119,224/128,422) and passed the 92.81% gate. A focused LLVM run measured src/error.rs at 100% (308/308) with its 24 focused tests; the workspace gate is raised to 92.83% based on that CI artifact.
Compliance argument validation tests set a supported compliance output format before asserting invalid policy formats and severities, so each validation path is reached directly.
Authentication middleware integration tests also send malformed percent-encoded API-key and stream-ticket queries through the protected route and verify that both fail with 400 Bad Request.
Vulnerability CSV generation writes to an in-memory byte vector, so its writer invariant is explicit instead of carrying an unreachable I/O error return path.
API server command tests load a temporary SQLite configuration, run migrations, assert that configured persistence returns a SQLite pool, and verify the structured api_server.persistence.enabled event.
Stats route test fixtures insert rows through the database pool abstraction and its backend-aware bind values, avoiding SQLite-only pool downcasts. The focused stats route suite passes all 7 tests with all features enabled; focused LLVM coverage measures 273/277 lines (98.56%), with the four missed source locations belonging to the executed tracing span field macro.
Anycast detection tests cover successful but incomplete scan evidence: missing certificate fingerprints, cipher preferences, and supported protocols remain an uncertain result instead of a false anycast classification.
The focused error test suite passes 24 tests, and src/error.rs measures 100% line coverage (308/308) with LLVM. The TlsError::observability_code() test exercises all 28 error variants and verifies their stable, non-sensitive telemetry codes.
Error conversion tests also verify CSV, template, and TOML conversion prefixes, OpenSSL handshake failures, cancelled task joins, and failed CSV finalization retain actionable context and map to stable telemetry codes.
Scan presenter export coverage now also uses a stored scan ID, exercising the user notice and spacing shown after a successful JSON export.
Scan presenter tests also exercise both passing and failing compliance reports through the public presentation path, including the policy failure exit code.
ServerHello parser tests reject malformed record/handshake types, oversized declared lengths, and truncated fields; they also verify TLS 1.1 parsing and secure renegotiation. A shared checked-offset helper preserves overflow errors and has a direct overflow test. The focused all-features LLVM run passes all 25 ServerHello-related tests.
Monitor daemon tests also verify certificate retrieval failures do not send scan-failure alerts when every alert threshold is disabled, while the enabled-threshold path continues to emit its alert.
PostgreSQL scan-lookup tests launch a filtered child test without the optional database URL, verifying that local runs skip the integration path cleanly while CI runs it against PostgreSQL.
Rating-change tests insert fixture scans and ratings through the database pool abstraction, avoiding an unreachable SQLite-only downcast while exercising the same insert path used by the storage layer.
Certificate inventory routes collect presenter results through one helper; a malformed stored SAN now has a route-level collection test that verifies the page fails with a safe internal-server error.
Teams webhook tests run the loopback Axum server through a named async task and stop it with graceful shutdown, covering request serving and task completion alongside successful and failed delivery outcomes.
Scanner summary tests cover response-only target fallback for malformed host/port input and emit CDN/load-balancer summary rows through the full summary formatter.
Ticketbleed ServerHello parser tests cover non-handshake and unrelated handshake records, marker-length classification, truncated record/handshake headers, and incomplete session IDs. Its fixed-width length reads now rely on the enclosing header bounds, removing impossible "length truncated" errors while malformed and truncated input still returns parse errors.
Ticketbleed session-ticket parsing keeps the wire and containing-slice bounds checks while using the bounded record lengths for offset arithmetic. All 9 parser tests pass for truncated records, malformed handshakes, empty tickets, and concatenated records.
Target URL parsing treats a successfully parsed HTTP(S) URL's hostname as a URL-parser invariant; the existing target parsing test exercises that access without retaining an unreachable missing-host error branch.
Linux CI run 46836937617 for commit 0bc4ad81 measured 92.80184792108878% line coverage (118,920/128,144 lines) and passed the 92.79% gate. The current Linux CI run 46839641568 for commit 7201d810 measured 92.804812396133% (118,947/128,169 lines), supporting the updated 92.80% gate. It confirms src/monitor/alerts/teams.rs, src/api/routes/certificates.rs, src/commands/api_server.rs, src/db/analytics/change_tracker/ratings.rs, src/db/analytics/scan_comparator/mod.rs, src/api/middleware/auth.rs, src/cli/compliance_args.rs, src/output/csv.rs, src/utils/network/target_names.rs, src/certificates/validator/expiration.rs, and src/vulnerabilities/ticketbleed/server_hello.rs at 100% line coverage. The previous report, run 46834718497 for commit 1d149d81, measured 92.80000000000001% (118,900/128,125 lines). Earlier, run 46806461967 for commit eedae1c8 measured 92.7846161783559% (118,681/127,924 lines). Run 46813356108 reports src/logging.rs at 90.98% line coverage (1,130/1,242); the text-sanitizer tests exercise record-ending and interior newlines. Linux CI run 46769352417 measured 92.209914942237% (116,214/126,032 lines), passing the 92.20% workspace gate; adaptive-controller tests exercise the bounded-duration selection and test-writer flush; scanner initialization tests cover explicit-port precedence, STARTTLS fallback for IP literals without DNS, and custom DNS resolution through a loopback UDP fixture; the prior run 46102271507 measured 92.206184585353% (116,201/126,023 lines); the prior run 46100672630 measured 92.185614480788% (116,117/125,960 lines); CI now enforces a 92.80% minimum while the project continues to close the remaining uncovered lines. Local GREASE TCP fixtures exercise all four production probe variants against a server rejection and cover a connection-refused outcome; src/vulnerabilities/grease/client_hello.rs has 94.91% line coverage (559/589); its tests also cover oversized ClientHello encoding, excessive SNI length, silent peers, partial responses followed by EOF, complete ServerHello acceptance, and bounded unexpected-response previews. JARM unit tests exercise signature database loading from valid, malformed, and missing files, plus production probe outcomes for connection refusal and a TLS alert. Paused-time loopback fixtures verify that JARM response reads time out cleanly both before receiving data and after preserving a partial TLS record. Per-scan WebSocket tests verify terminal failure and cancellation messages are delivered before the stream closes; a live upgrade test also asserts that connection-established and connection-closed events are emitted as structured JSON. src/api/ws/progress.rs measured 81.30% line coverage (652/802) in Linux CI run 46052036758. Mass scanning now has network-free serial and parallel tests proving invalid targets remain individual per-target errors rather than aborting the whole batch. src/scanner/mass.rs now has 93.80% line coverage (635/677), and src/fingerprint/jarm.rs has 85.05% (552/649). DROWN SSLv2 probe tests verify both ClientHello encodings byte by byte, including record/cipher/session/challenge lengths and distinct challenge patterns; src/vulnerabilities/drown/sslv2.rs now has 78.50% line coverage (157/200). Anycast result aggregation now has an injectable resolved-address seam, with tests for empty DNS results and multiple address failures that must remain visible in a partial scan report; src/utils/anycast/mod.rs has 87.47% line coverage (775/886). A local TLS fixture drives all three production BREACH probes and verifies compressed responses, reflected markers, sensitive-pattern detection, and the potential-exposure verdict; src/vulnerabilities/breach.rs now has 90.49% line coverage (352/389). Loopback tests also exercise successful TCP connection checks and both successful and rejected socket-timeout configuration. Transport error classification tests distinguish resets, EOFs, refusals, and timeouts from TLS alerts and protocol rejections; src/utils/network.rs now has 83.72% line coverage (437/522); tests also cover the legacy-probe configuration builders and boolean wrappers for closed ports. An isolated PostgreSQL fixture also verifies empty and populated leaf-certificate lookups, including SAN and key-usage decoding; src/db/analytics/change_tracker/mod.rs now has 77.34% line coverage (447/578). Linux CI run 46052036758 for commit 0bf816bb measured 91.927773% (114,599/124,662 lines); Linux CI now enforces a 91.92% floor and publishes its measured workspace percentage in the GitHub Actions step summary and archives the detailed LLVM JSON and LCOV reports as a 14-day run artifact (rust-coverage-<run-id>). Download that artifact to inspect file-level and region-level coverage gaps. The README local coverage command and Linux CI use the same 92.68% floor. The CI step writes its measured percentage before applying the threshold and archives JSON/LCOV reports even when the gate fails. CLI validation tests cover every safe-profile vulnerability and compliance conflict, each multi-IP output and target restriction, incompatible baselines, invalid delays and fingerprint formats, API network-option constraints, warning modes, color overrides, and mass-report formats. SQLite migration rollback tests cover missing down files, failed rollback SQL with preserved migration state, and missing migration ledgers. New SSLv2 record-reader tests exercise empty, partial, three-byte-header, TLS-shaped, timeout, complete, and oversized responses using a loopback peer, and ClientHello length encoding and overflow; src/protocols/tester/sslv2.rs now has 100% line coverage (198/198). A focused CLI test also covers STARTTLS IP override resolution, operational failure reporting, and JSON file output without external network access. API server command tests cover optional persistence, SQLite pool initialization with migrations, and malformed database configuration. The API server command also verifies missing credentials fail before listener startup. Webhook retry tests cover transient HTTP status codes and ensure permanent client errors are not retried. Cipher phase tests inject per-protocol results to verify unsupported/QUIC filtering, isolated failures, non-empty result storage, and a structured WARN event with stable fields. The Winshock record reader now has paused-time tests for empty timeouts and for preserving partial bytes when a follow-up read times out. src/cli/starttls_args.rs now has 100% line coverage (338/338), including every protocol alias, flag, port default, and unknown input. src/compliance/loader.rs now has 100% line coverage (122/122), including invalid YAML, invalid expressions in every regex field, and custom file loading failures. Anycast summary writer tests now inject failures through per-IP results and unique-certificate output, verifying propagation at every rendered step. Worker logging tests also verify durations beyond the JSON integer range saturate to u64::MAX. The scan executor now has a network-free running-job test that verifies lease-renewal diagnostics while scan execution remains pending. CRIME TLS record reading also has a deterministic paused-time test for returning partial bytes when the follow-up read times out. DROWN SSLv2 record reading tests now cover all recoverable read errors after partial data. Monitoring daemon tests inject a certificate client to verify target validation, scan inventory updates, certificate-change alerts, and safe fetch/expiry failure handling without network access. Scan executor tests inject a network-free scan session and verify its lifecycle order, progress milestones, initialization failure handling, scanner construction/run failures, and production scanner construction. CVSS tests also capture the negative-score warning as JSON and assert its severity, stable event name, score, and fallback fields. TLS rating tests cover QUIC neutrality, key-exchange and weak-cipher penalty thresholds, certificate grade overrides, and confirmed vulnerability penalties across all severities. src/rating/scoring.rs now has 100% line coverage, including the no-weak-cipher penalty path. The compliance route success response is tested through an injected runner and src/api/routes/compliance.rs now has 100% line coverage (264/264). Stream-ticket tests cover malformed and oversized tokens, invalid signatures and claims, expired or scan-mismatched tickets, single-use enforcement, issued-claim mismatch, expired-entry cleanup, capacity limits, and secure-random/serialization failures. A signing failure during ticket issuance also verifies no ticket is persisted. API error response tests also verify the not-found builder and explicitly flush the captured structured error writer. Scan executor logging tests call the captured writer flush implementation directly. Executor finalization tests cover successful result persistence and completion metrics, a redacted result-store failure outcome, a cancellation racing with final status persistence without publishing a false completion, and a final-status persistence failure that suppresses terminal progress and webhooks. Scan WebSocket tests also verify periodic ping frames on per-scan streams and processing of client Ping, Pong, text, binary, and Close frames. CT streamer tests also verify an HTTP 503 batch failure is retried, logged with a safe structured event, and does not expose the endpoint URL. Analytics command test fixtures serialize SQLite paths as TOML values so Windows backslashes remain valid. PostgreSQL protocol-comparison integration coverage now checks added, removed, unchanged, and preferred-protocol changes against an isolated schema. The same fixture drops its isolated table to verify query errors retain comparison context. PostgreSQL rating-comparison tests exercise added, removed, and changed components plus query-error propagation against an isolated ratings schema; the SQLite error path is also covered. PostgreSQL change-tracker tests also execute every change-source query against isolated tables. Reverse PTR tests use an isolated loopback DNS server to verify IPv4 and IPv6 forward confirmation, invalid PTR hostnames, empty PTR answers, and mismatched forward records. Scan executor coverage now verifies retry scheduling failures produce a failed outcome and a redacted structured event. Job storage construction tests exercise successful owned and borrowed PathBuf inputs as well as a filesystem creation failure. Adaptive-controller tests cover retry-limit getters and poisoned-mutex recovery with a structured warning event. src/constants.rs now has 100% line coverage, including every handshake-name mapping and both SSL 2.0 version encodings. Curve database tests cover its empty fallback, ignored blank/comment lines, and malformed embedded-data error wrapping; src/data/curves.rs now has 100% line coverage. Heartbleed classification tests cover short valid responses below the suspicious-size threshold, small valid leak warnings, and malformed responses. DROWN read tests also cover an SSLv2 header whose declared body is truncated by peer EOF. Its timeout fixture signals the peer after the read deadline instead of leaving a fixed long-running sleep in test code. src/vulnerabilities/heartbleed/heartbeat_probe.rs now has 100% line coverage. src/api/jobs/storage.rs now has 100% line coverage; its tests verify successful persistence and reload of completed jobs, error paths, and that a failed atomic persist leaves an existing destination directory intact. src/utils/dns_cache.rs also has 100% line coverage, including both cleanup-threshold outcomes. src/protocols/intolerance/orchestration.rs now has 100% line coverage: detection, clean and inconclusive outcomes are verified for all checks, with SNI alert and common DH prime classification tested independently. A loopback TLS 1.2 DHE test now covers successful weak-prime extraction and verifies the client reads the peer ephemeral key. Intolerance network tests cover partial replies, EOF, timeout handling, and the bounded response buffer. A direct stats-route test also verifies that the captured log writer flushes successfully. Target parsing tests cover malformed URLs, bracketed IPv6 addresses with and without ports, invalid IPv6 ports, and warnings for malformed IPv6 input. The malformed IPv6 warning test explicitly flushes its captured event writer before parsing the structured event. The security input validator also has a direct rejection test for malformed unbracketed IPv6. STARTTLS port mapping tests cover POP3, NNTP, XMPP, XMPP-server, and PostgreSQL defaults. Webhook SSRF tests verify public DNS results are accepted and ordered with IPv4 first. NPN probe tests verify a valid ServerHello without the NPN extension is reported as not supported. Compliance framework-source tests cover valid on-disk YAML and missing, oversized, invalid UTF-8, malformed YAML, invalid metadata, and unknown-ID outcomes. Analytics CLI tests exercise compare, changes, trends, and dashboard behavior against an empty SQLite history in terminal and JSON modes; Windows paths in its TOML fixture are serialized safely. Scan comparison also verifies a missing second scan is reported after the first scan has been fetched. CVSS tests verify all metric enums, severity boundaries, score labels, and predefined TLS vulnerability vectors, including the low-severity, low-privilege, and changed-scope string mappings. The API request middleware test captures the structured completion event and verifies request-ID correlation, route-template normalization, status, duration, and omission of dynamic path values. Scan result route tests also verify failed and cancelled jobs return distinct safe diagnostics without exposing private failure details. Idempotency-Key validation tests cover missing, valid, duplicate, empty, oversized, and invalid-byte header values. Scan creation logging tests capture the structured queued event and verify outcome, duration, and hostname minimization. Scan route tests also cover successful results retrieval and the successful cancellation of a queued job. They also verify missing completed results map to an internal error without exposing the scan target; the queued-event test exercises a valid idempotency key and confirms it is not logged. The WebSocket route test confirms a client without either an API key or one-use ticket receives HTTP 401. Stream-ticket route coverage now verifies owner-scoped ticket issuance, single-use consumption, and replay rejection. Ownership tests also confirm a different principal receives 404 for ticket creation and WebSocket access. Panic-hook event tests verify structured diagnostics retain a static error code and source line without exposing panic payloads. Subscriber lifecycle event tests also verify stable structured fields for initialization and reuse. Scan cancellation tests cover a lost queue race, safe cancellation logging, and the administrator authorization path. GitHub Actions exposed a small Linux-versus-local coverage difference at the 90.67% gate, so CI now uses a 91.24% floor. GREASE outcome tests verify connection errors and missing test evidence remain inconclusive. Additional CA loading falls back to DER when OpenSSL returns an empty PEM bundle; local tests cover PEM, DER, ignored invalid files, and empty directories. SQLite change-tracker tests cover added, removed, increased, decreased, and same-score rating changes plus overall rating changes. They also verify a missing ratings table returns a contextual query error. src/scanner/multi_ip/progress.rs now has 100% line coverage, including default construction and singular/plural consistency summaries. src/fingerprint/server_hello.rs, src/output/probe_status.rs, src/protocols/renegotiation/client_hello.rs, src/starttls/sieve.rs, src/scanner/orchestration/multi_ip.rs, src/vulnerabilities/ticketbleed/read_io.rs, and src/scanner/aggregation/mod.rs now have 100% line coverage; Ticketbleed record reads cover full buffers, timeouts, EOF, partial records, and oversized-record rejection; session-ticket extraction also scans across TLS records and handshake messages and handles empty and non-handshake responses; ServerHello tests verify detection requires bytes beyond the client session marker; DROWN SSLv2 reader tests cover oversized responses, immediate EOF, empty or partial read timeouts, and injected read errors; received session tickets larger than the TLS u16 extension limit are rejected during ClientHello construction; protocol model tests also exercise writer flush behavior in both the root crate and standalone protocol crate; the tests cover malformed record and handshake framing, truncated ClientHello capture fields, extension blocks and headers, and invalid SNI/vector lengths, complete/truncated/oversized renegotiation records, truncated fields and extensions, serialized ClientHello record/handshake/extension lengths, maximum u16 CCS record length rejection, Sieve negotiator constructors, serialization bounds, extension ordering, every alert description, CR/LF/ESC injection including a trailing LF in text logs, empty-queue executor startup and shutdown events including a closed shutdown signal channel, immediate shutdown before startup with structured started/draining/shutdown event assertions, and requeueing a job when shutdown interrupts slot acquisition, containing and logging a panicked scan task while the executor continues dispatching, both short-input and UTF-8-boundary paths in terminal error formatting, and BEAST SSL 3.0 CBC and non-CBC classification. A SQLite certificate-comparison test also verifies typed errors for invalid stored values in 14 certificate columns. SQLite child-row persistence tests also verify that failed vulnerability and rating inserts preserve their operation context. Empty child collections are verified as no-op persistence operations. Certificate parser tests also exercise mTLS configuration retention and STARTTLS host, protocol, and server-mode options. Certificate chain, leaf, and SHA-256 pin tests use a local TLS peer, so those API paths no longer require external network access. A loopback SMTP peer also verifies certificate retrieval after STARTTLS and the safe error path when the server rejects negotiation. OpenSSL certificate-phase tests use executable local stubs to verify PEM parsing despite a nonzero exit, stderr diagnostics on failure, and rejection of malformed PEM. Parser fixtures cover RSA, EC, DSA, Ed25519, Ed448, and fallback handling for unsupported public-key algorithms. The run also covered HTTPS CRL distribution-point extraction, missing distribution-point handling, and rejection of unsupported LDAP URLs, DROWN SSLv2 buffer/error classification, including loopback reads of TLS replies, incomplete headers, and complete records, OpenSSL STARTTLS protocol mappings, IRC CAP LS continuation-limit rejection, fragmentation, truncated records, invalid feature-detection responses, Winshock TLS EOF/timeout handling, including direct EOF, partial-record, empty-buffer, and read-error propagation tests for the async record reader, MySQL banner versions and declared-length validation, SQLite scan-repository error mapping, PostgreSQL scan-repository and certificate-comparison success/error paths, PostgreSQL history pagination, ordering, principal/tenant filters including null tenants, valid and malformed history-row fields, PostgreSQL connection-pool health, insert/upsert and optional-ID queries, owner-filtered top domains, and every typed bind value, PostgreSQL certificate inventory expiry/hostname/owner filters and ordering, tenantless access, normalized fingerprint lookups, and owner denial, CRIME ServerHello compression classification and malformed NPN extension handling, SQLite migration ordering, idempotence, rollback, and malformed migration diagnostics, Heartbleed response framing, worker startup configuration/database and logging-initialization failures, plus structured worker completion and redacted failure events, GREASE ClientHello generation, SNI behavior, alert outcomes and oversized-record rejection, renegotiation ServerHello extension parsing, missing-scan comparator failures, safe OCSP AIA URL extraction across non-OCSP methods, unsupported schemes, and credential-bearing URLs, TLS Feature must-staple parsing, OCSP Stapling ServerHello and CertificateStatus framing, trust-chain issuer and CA-subject mismatch rejection, CLI help, pre-logger parse-error, and STARTTLS-only argument-validation paths, default JA3/JA3S/JARM database loading, continuation of the fingerprint phase when JA3/JA3S/JARM connections fail, certificate signature fallbacks for DER bytes, serialized metadata, and empty chains, non-UTF-8 W3C trace header rejection, and global plus owner-scoped API statistics recording. Health readiness tests also cover partial active/queued counter failures, assert that degraded status identifies the failed counter, and verify backend error text stays redacted. Prometheus scrape tests capture WARN events for active and queued scan gauge failures, validate their stable operation/error fields, and ensure backend messages are omitted. Rate-limit tests cover every health and documentation bypass path and prove those requests do not consume the authenticated caller quota. A clone regression test verifies limiter copies share quota state and retain the configured limits. Cipher preference discovery also verifies a remote server that rejects every offered suite returns an inconclusive empty preference. Logger initialization is exercised in isolated child processes for JSON and text output, idempotent subscriber reuse when a different file destination is requested, and stderr fallback after file-destination failure. A same-process guard-drop test verifies that the structured shutdown flush event is emitted. Scanner initialization log capture explicitly propagates its dispatcher through the async future and is verified under parallel test execution. The structured unknown protocol-version warning is tested in both the application and standalone protocol crate. Both tests also exercise the captured writer flush path. ECH coverage exercises a valid HTTPS record from an isolated UDP DNS resolver and rejection of a provider without TLS 1.3 suites. Linux CI verifies rejection of persisted job files whose filename is not valid UTF-8 and runs the PostgreSQL paths against 19.0, the newest active release reported by eol-cli. FileJobStorage tests cover corrupt individual reads, mismatched path/payload IDs during discovery, and filesystem failures on delete and save. A focused middleware test also verifies that a valid W3C traceparent rejected because no OpenTelemetry layer is installed produces a redacted warning while the request succeeds. A monitor initialization test verifies structured error outcome, stage, duration, and redaction when alert-manager construction fails. A closed scan semaphore test verifies the monitor emits a structured skipped outcome and still completes the scan cycle. The invalid-domain scan-cycle test also asserts a structured target-validation failure with duration and outcome while keeping the target out of logs. Repeating a cycle before its next scheduled time is verified not to start another scan. A monitor test also verifies the alert-test API preserves each channel result independently. The CT sink path verifies discovery remains a no-op until a suffix allowlist is configured. Loading the domain list also asserts the structured inventory event and count. The two 30-second rolling-file load tests run under cargo llvm-cov; regular cargo test continues to skip them. Multi-IP orchestration tests cover probe-only report retention and the all-failed aggregation error. Executor clone tests verify that worker copies share shutdown and progress channels. The production scan-session adapter also exercises initialization failure and probe-only scan results against a loopback DNS fixture. A deterministic blocking scan session also verifies cancellation requested after startup aborts the active scan and publishes the cancelled terminal state. Another blocking-session fixture verifies transient queue failures during status polling emit one redacted warning per failure streak while the scan continues. The PQC code scanner rejects unsupported file types with a typed input error, reports invalid static regex patterns with their names, and propagates pattern-table errors. src/pqc/scanners/code_scanner.rs now has 100% line coverage. Directory scans recurse into source folders and exclude vendored code. A regression test verifies the scanner stops when its 10,000-file limit is exceeded. Scanner tests also verify missing-root and unreadable file/directory errors propagate. JSON output tests verify serialization failures propagate in both compact and pretty formats. Multi-IP JSON tests also verify safe handling of malformed serialized shapes; src/output/json.rs and src/db/repositories/scan_repository.rs now have 100% line coverage. The floor must rise as uncovered paths receive tests; the target is 100%. API-state tests also verify that hourly request buckets, timestamp histories, and audit events discard only their oldest entries at configured memory limits, and that legacy unscoped metric helpers stay isolated from tenant-scoped counters. Webhook-secret loader tests also verify missing-file errors, the 4 KiB size cap, and rejection of group/world-readable files on Unix. API-state coverage also verifies the configured secret and file-backed job storage are wired into the executor/queue, and that per-principal metrics stop allocating entries at their 10,000-principal limit. Histogram tests also preserve total latency/count values for scans and responses beyond the largest configured bucket without writing out-of-range samples. Additional tests fill the per-principal request and scan histories to their limits and confirm expired global timestamps are pruned on the next update. Malformed IPv6 target validation is tested for a structured warning without reflecting the supplied target. src/vulnerabilities/robot.rs now exercises a complete local RSA ClientKeyExchange probe and connection-failure path, reaching 91.73% line coverage (388/423). Ticketbleed parsing tests cover record-length overruns and partial headers following valid records; src/vulnerabilities/ticketbleed/session_ticket. Client CA parsing accepts the valid 9-byte empty authority list and reassembles handshakes split across TLS records; src/protocols/client_cas/parser.rsnow has 80.62% line coverage (208/258). Protocol feature detection now has loopback coverage for a valid ServerHello, alert response, and connection failure;src/protocols/tester/feature_detection.rs has 80.88% line coverage (368/455).rs has 76.00% line coverage (209/275). Fallback SCSV tests cover malformed and mismatched alert records, short/failed/timed-out reads, and peer EOF during a TLS record; src/protocols/fallback_scsv/network.rs now has 79.39% line coverage (339/427). NPN ServerHello parser tests now cover complete protocol lists, empty extension blocks, malformed record/handshake/extension bounds, invalid protocol UTF-8, zero-length names, and the 100-protocol cap; src/protocols/npn/server_hello.rs has 88.35% line coverage (235/266). CA store tests now verify every platform alias, empty-store shape, malformed PEM, and invalid certificate DER; src/data/ca_stores.rs has 94.57% line coverage (209/221). Trust-chain tests now accept an exact stored self-signed CA and reject mismatched or unparsable intermediate signatures; Generated local certificate chains also verify successful additional-CA trust and rejection of a validly signed but untrusted root; src/certificates/validator/trust_chain.rs has 87.82% line coverage (548/624).
POODLE detection now routes SSLv3 negotiation, CBC connectivity, malformed-record probes, and timing measurements through a production network backend; deterministic probe tests exercise all six variant decisions without external network access.
JARM malformed probe-count tests capture and assert the structured WARN event, stable event name, and expected/actual probe counts. Remediation command tests cover the production file-output execution path, format normalization, confirmed-finding annotations, output-size limits, safe overwrite behavior, and filesystem failures. src/commands/remediation.rs now has 100% line coverage. Opossum tests also exercise both TLS probe paths against a local self-signed server. CT client tests cover reversed entry ranges and retry exhaustion after repeated server failures. They also verify client errors are not retried and oversized STH bodies are rejected. CT statistics tests verify bounded source tracking, overflow behavior, counter creation, and zero-rate snapshots. Compliance checker tests cover cipher allow/deny combinations, key and signature constraints, certificate validation, and expiration warnings. LDAP STARTTLS tests cover BER short/long lengths, truncated and overflowing encodings, malformed responses, and rejected server responses. Network tests cover plain-TCP passthrough when STARTTLS is disabled and typed SMTP negotiation failures. Winshock TLS record-reader tests cover complete and fragmented record bodies and reject payload lengths that exceed the fixed buffer. STARTTLS response tests cover connection closure, unterminated and oversized lines, invalid UTF-8, malformed status codes/separators, multiline status changes, and missing final lines; src/starttls/response.rs now has 100% line coverage after removing unreachable overflow and slice-validation branches while preserving the line-length cap. ClientHello builder tests exercise record, handshake, and extension length encoding; src/protocols/handshake/client_hello/encoding.rs now has 100% line coverage, with private placeholder offsets treated as builder invariants. Debian weak-key tests cover blacklist parsing of comments, blank lines, surrounding whitespace, and uppercase hashes even while the embedded production blacklist is intentionally empty; src/vulnerabilities/debian_keys.rs now has 100% line coverage (190/190), including safe OpenSSL error-context mapping. DROWN and Winshock record-reader tests cover full buffers ending in partial headers, while DROWN also uses Tokio virtual time to cover an idle-peer timeout without a real-time delay. Scripted complete-record reads verify both readers return without waiting for another frame. The DROWN timeout fixture synchronizes peer acceptance and closes through an explicit post-timeout signal. Cipher phase tests verify unsupported protocols and QUIC are filtered before network probing. A closed-port case confirms failed cipher probing leaves the phase successful with no false cipher summary. Cipher aggregation tests cover matching server-order consensus, preferred-cipher agreement, disagreement handling, and deduplication across successful backends. src/scanner/aggregation/ciphers.rs now has 100% line coverage, including NULL, export, and low-strength counts plus empty preference handling. Cipher formatter tests cover strength colors, optional details, summary rows, and ordered protocol comparison output. Cipher preference tests parse ServerHello selections and verify malformed, truncated, or invalid cipher inputs fail safely. Scan diff tests cover findings added or removed between scans, absent/present rating fallback, and the corresponding terminal output. The Linux CI line-coverage floor is now 92.90% and will rise as uncovered paths are tested.
JARM probe tests cover empty middle-out cipher ordering, disabled ALPN, and supported-version lists without TLS 1.3.
Winshock's end-to-end test also completes a successful TLS handshake against a local self-signed fixture and checks the non-Schannel classification. A scripted TCP fixture also sends the intentionally malformed ClientKeyExchange and verifies that a TLS alert is classified as handled.
CI runs Rust test harnesses with RUST_TEST_THREADS=1 because tests create scoped tracing subscribers. The quality-gates script applies this default itself, including when the release workflow invokes it; dedicated logger stress tests still exercise concurrent writes and queue backpressure.
PQC scanner tests also verify the recursive walker safely ignores non-directory paths.
Ticketbleed parser tests verify that a declared handshake body cannot cross its
containing TLS record when extracting or checking a session ticket.
Scanner summary tests cover response-only targets, probe status, batched warnings,
certificate validity, JA3 threat levels, ratings, and absent or negative CDN/LB results.
Certificate expiration tests cover independently invalid dates, near-expiry warnings,
warning suppression, invalid or not-yet-valid intermediates, and a valid
intermediate with an expired self-signed root.
The focused Rust coverage run passed all 6 prior expiration tests and measured
src/certificates/validator/expiration.rs at 99.60% (246/247 LCOV lines); one
closing-brace source-mapping line remains uncovered.
ClientHello capture tests exercise the public fingerprint path and oversized
supported-group, signature-algorithm, ALPN-name, and ALPN-list inputs;
src/fingerprint/capture.rs measured 100% (157/157 LCOV lines).
Padding-oracle tests cover the full CBC-support status merge table, transport
error classification, and the explicitly inconclusive timing-analysis result.
Recent coverage cases also verify signed webhook retries through the production URL validator and HTTP client, prove completed scan finalization delivers its signed webhook only after persisting the completed state, and verify failed finalizer webhook attempts are logged without exposing the URL; they also cover big-endian renegotiation write bounds including usize to u32 overflow, direct rejection of unknown compliance severities, Default implementations for client CA and HTTP header scan phases, non-handshake records ignored while locating ServerHelloDone, empty IRC replies and final CAP LS parsing, no-data analytics ranges, zero-sample protocol trend summaries, the structured warning emitted for an unknown TLS version fallback, and early-data result analysis across confirmed, unknown-size, protected, and inconclusive replay outcomes. A local TLS 1.3 fixture also verifies that support for TLS 1.3 does not imply early-data acceptance or an estimated early-data size. The full public result remains non-vulnerable when the extension is absent, and malformed DNS names are rejected before opening a probe connection. Vulnerability-trend tests also reject invalid time windows before querying storage. Certificate key-strength tests cover EC rejection below 224 bits, advisory suppression at 224 bits, and missing public-key size; src/certificates/validator/key_strength.rs now has 100% line coverage. DNS cache tests verify lookup- and capacity-triggered cleanup of expired entries. ASN/CIDR tests cover valid and empty RIPEstat prefix results, mixed local input expansion, ASN prefix casing, and lazy iteration of large networks, IPv6 single-address networks, and invalid CIDR-like hostname input. Parsed host/port/day inputs also cover valid URL forms; src/application/parsed_input.rs now has 100% line coverage. Hostname validation tests cover CN and SAN wildcard boundaries, malformed subjects, and missing CN values; src/certificates/validator/hostname_match.rs now has 100% line coverage. Trend analyses now reject persisted history rows without scan IDs instead of silently omitting samples. The ChangeTracker history API now has integration coverage for scan-pair comparison, the single-scan empty outcome, and missing scan IDs. Rating-change tests verify component and overall score direction, rationale changes, and added or removed categories. Internal rating tests verify missing scan IDs return errors and empty rating queries produce no events. The default policy adapter is fully covered, including invalid-input mapping before any network call. Vulnerability change tracking uses enumerated in-range candidate indexes directly; src/db/analytics/change_tracker/vulnerabilities.rs now has 100% line coverage. DNS cache tests verify lookup- and capacity-triggered cleanup of expired entries. ASN/CIDR tests cover valid and empty RIPEstat prefix results, mixed local input expansion, ASN prefix casing, and lazy iteration of large networks, IPv6 single-address networks, and invalid CIDR-like hostname input. Parsed host/port/day inputs also cover valid URL forms; src/application/parsed_input.rs now has 100% line coverage. IPv6 target display formatting is tested alongside DNS hostname display. JSON file writers are tested for destination-write failures and error propagation; scan-diff tests reject schema-invalid result files and verify the command name. Report formatting tests also cover all severity labels, optional old/new values, empty reports, and deterministic ordering. The scan repository test fixtures use direct SQLx pools to avoid impossible enum-unwrapping branches; a subprocess test verifies the PostgreSQL integration test skips cleanly without its URL, and SQLite and PostgreSQL repository paths pass. The scan.phase test runs its orchestrator future under an explicit parent span with propagated dispatch and verifies structured error outcome, duration, and secret redaction. The OTLP integration test pins OTEL_RESOURCE_ATTRIBUTES and asserts the exported service.name fallback. Scan command tests cover baseline absence, unchanged output, missing files, target mismatches, and rejection before scanning when no target is supplied; threshold tests verify confirmed findings change only successful exits. src/commands/scan.rs, src/commands/scan_diff.rs, src/db/analytics/cipher_trend.rs, src/db/analytics/protocol_trend.rs, src/db/analytics/vulnerability_trend.rs, and src/protocols/renegotiation/record.rs now have 100% line coverage. The CI line-coverage floor is 89.62%. Vulnerability change-event integration tests verify that previous and current values preserve description, CVE, and component metadata. Anycast invalid-hostname failures are tested through the public scan entry point. MX terminal summaries are tested for certificate validity and confirmed-only vulnerability counts. A loopback DNS fixture verifies that custom MX resolver answers are sorted by priority without external network access. API TLS configuration tests cover explicit provider selection, mTLS CA parsing, missing and malformed CA files, certificate/key mismatch rejection, and filesystem errors for non-UTF-8 configuration paths. IMAP and POP3 STARTTLS probe tests exercise missing and invalid greetings, missing or unsupported capability responses, truncated POP3 capability replies, missing upgrade responses, and successful negotiation without the injected login command. src/vulnerabilities/starttls_injection/imap_probe.rs and src/vulnerabilities/starttls_injection/pop3_probe.rs now have 100% line coverage. The vulnerability scan phase is also covered end to end for the no-network outcome where selected checks are explicitly disabled. PQC readiness tests also cover full and hybrid scores, PQC certificate signatures, and the legacy TLS recommendation; src/pqc/readiness.rs now has 100% line coverage. STARTTLS response tests also reject invalid UTF-8 input before protocol parsing. Certificate-phase tests also parse a generated PEM chain through the production certificate parser. X.509 signature tests cover valid self-signatures, mismatched issuers, malformed DER, and trailing bytes; src/certificates/signature_verify.rs now has 100% line coverage. Target parser tests cover missing IPv6 brackets, invalid bracket suffixes and ports, ambiguous unbracketed IPv6, malformed IPv6, bracketed IPv6 without a port, and invalid suffixes after a bracketed address. A raw TCP WebSocket test verifies that the server waits one second before closing when a peer does not complete the close handshake. A Ticketbleed integration test uses a loopback server to exercise initial and resumed ClientHello handling through the public library build. A local TLS 1.3 server exercises successful client simulation and verifies negotiated protocol, cipher, forward secrecy, duration, and certificate metadata. Lucky13 builder tests verify SMTP STARTTLS configuration, hostname/server mode, and selection of all target IP addresses; task-cancellation coverage verifies blocking-task join failures map to scanner errors, and src/vulnerabilities/lucky13.rs now has 100% line coverage. The closed-handshake fixture now awaits an accepted probe connection and fails on listener errors. A target with no resolved IP addresses also exercises the Lucky13 missing-probe-address error. Anycast summary tests assert rendered failed and successful IP outcomes, certificate status, protocol counts, confidence, reasons, and unique-certificate details. A fail-on-write fixture verifies errors propagate from every summary output step. WebSocket coverage also verifies periodic server pings when no progress events arrive. A global progress subscriber also recovers from a lagged broadcast and delivers the latest event. A loopback TLS 1.2 server also verifies that a successful AES128-SHA CBC handshake is classified as supported. A local TLS handshake-failure alert is classified as definitive CBC non-support. Change-tracker tests cover empty and one-scan history results and pair identical vulnerability records deterministically across scans without emitting false changes. Scan comparison tests assert unchanged, new, and resolved vulnerability categories, including duplicate records without false diffs. Scan-drift tests also verify target mismatch rejection and protocol, cipher, finding, certificate, rating, and terminal summary changes. Job storage extracts filename-stem validation so Unix tests can verify non-UTF-8 rejection on macOS as well as Linux. IDS-friendly limiter tests cover expired-window reset, rate-limit waits, fixed zero delay, and all delay bounds; src/utils/ids_friendly.rs now has 100% line coverage. Debian weak-key tests also assert the typed diagnostic returned for a certificate without a public key. Credential route tests exercise identifiers over the 128-byte limit, internal store-error mapping, audit-event flushing, actor/resource permissions, tenant scope, and ensure filesystem details stay out of API errors. Rotation tests also cover missing-credential errors with and without a new expiry. Stats route tests also verify tenant-scoped database failures map to an internal API error. Failed API example cleanup is asserted as structured JSON with a stable event name, error code, outcome, and no local path. Fallback SCSV ClientHello tests verify explicit SNI encoding and its omission for IP-literal targets; src/protocols/fallback_scsv/client_hello.rs now has 100% line coverage; impossible range-update branches were removed after proving the offsets are reserved before writing and hostname lengths are bounded. Vulnerability terminal-output tests now exercise all five severity counts, confirmed and potential findings, inline and hidden inconclusive results, empty summaries, and both hint-selection paths. src/output/scanner_formatter/vulnerabilities.rs now has 100% line coverage, including the potential-only summary path. JA3 tests cover empty fingerprint components, all known TLS versions and named groups, unknown group fallback, and the common-signature database. src/fingerprint/ja3.rs now has 100% line coverage, including file loading, JSON type errors, and both database defaults. CRL URL tests reject credentials and non-HTTP schemes and cover empty certificate DER without network access. Revocation HTTP URL validation tests cover malformed inputs, local/private hosts, empty and private DNS answers, safe client construction for public IPv4/IPv6 results, and raw authority parsing; src/certificates/revocation/http.rs now has 95.18% line coverage (237/249). OCSP loopback responder tests cover timeout, connection failure, unsuccessful HTTP status, oversized body, and malformed DER handling without contacting external hosts. CRL loopback tests cover rejected HTTP status, malformed and oversized bodies, valid DER reaching issuer validation, and invalid signature rejection. Compliance CSV responses now use an infallible internal string builder while retaining the public fallible Reporter::to_csv API, removing an unreachable route error mapping. Anycast command tests cover missing targets, absent JSON destinations, compact and pretty exports, and confirmed-finding --fail-on thresholds; src/commands/anycast_scan.rs now has 100% line coverage (179/179). Vulnerability policy tests cover exact and underscore-boundary prohibited-name matching, empty values, partial-name rejection, and structured DEBUG events for non-gating Info/Low findings. Compliance CSV responses now use an infallible internal string builder while retaining the public fallible Reporter::to_csv API, removing an unreachable route error mapping. src/scanner/diff.rs now has 100% line coverage (414/414), including rendering a security drift report when the rating is unchanged. NPN ServerHello tests verify record/handshake bounds and the 100-protocol parser limit. Loopback NPN tests also cover peer EOF before a record header, oversized record lengths, and malformed ServerHello responses as inconclusive outcomes; src/protocols/npn.rs now has 100% line coverage (463/463). Its ClientHello builder patches reserved length fields directly, and local fixtures fail explicitly when accepting or writing fails.
Cipher strength trend analysis reports a database error for persisted scan history rows without an ID instead of silently omitting them.
Scan-history SQLite tests verify that failures in both count queries and page queries retain diagnostic context for owner-scoped and unscoped requests.
Additional SQLite boundary fixtures verify malformed stored types are reported against the correct scan-history field before invalid rows reach API consumers.
The PostgreSQL scan-history fixture also covers oversized limits and both count/page query failures with and without owner scope; these paths require the PostgreSQL-backed CI job.
Scan-history numeric normalization now uses validated casts after range checks; boundary tests cover the largest accepted scan ID and duration and both score limits without retaining unreachable conversion-error branches.
Change-tracker integration coverage now exercises empty and single-scan history, multi-scan protocol additions/removals and preference transitions, plus missing-scan errors through the public history comparison path.
Cipher-change classification tests cover strength upgrades and regressions, key-size increases, decreases and unknown transitions, forward-secrecy changes, metadata changes, normalized protocol identity, and optional detail formatting; an impossible empty-set match arm was removed from the comparison loop.
The latest local macOS all-workspace/all-target LLVM run used an isolated PostgreSQL 19.0 database, passed 4,714 tests (63 ignored), and measured 92.656920811% line coverage (118,271/127,644). The Python SDK coverage command passed 110 tests on Python 3.15.2 with 100% statement coverage (3,574/3,574). src/db/analytics/change_tracker/ciphers.rs now has 100% line coverage (258/258).
Certificate inventory tests also run the list and detail queries against SQLite, covering hostname, expiry, principal and tenant filters, ordering, pagination, normalized fingerprints, aggregated hostnames, missing records, and owner isolation. They also assert count, list, detail, row-decoding, and out-of-range pagination failures retain their database error context. Query-builder unit tests exercise all four inventory sort orders, both database dialects for tenantless owner scope, and ignore tenant filters when no principal is supplied. The service facade tests execute all three repository delegations and preserve their database errors.
ALPN result aggregation tests cover negotiated HTTP/2, HTTP/1.1 and HTTP/3, unsupported protocols, inconclusive probes, and partial success. src/protocols/alpn.rs measured 87.42% local line coverage (528/604).
ASN expansion tests use a loopback RIPEstat fixture to cover valid IPv4/IPv6 prefixes, HTTP errors, transport errors, malformed JSON, missing fields, and invalid prefixes; src/input/asn_cidr.rs now has 93.01% line coverage (479/515).
HSTS preload checks use a loopback API fixture to cover validation, successful status conversion, caching, HTTP failures, malformed JSON, request errors, the unknown-status fallback, cache expiration and pruning, rate limiting, and structured success/cache/failure events; src/http/hsts_preload.rs now has 95.66% line coverage (595/622).
Linux CI run 46845537563 (commit ce582e71) measured src/policy/evaluator.rs at 99.86% (703/704). Follow-up tests cover a present rating without a grade threshold, propagate invalid framework-rule errors through the existing ComplianceFrameworkSource interface, and accept a passing framework with require_all; focused local LLVM coverage now reports 100% (722/722) for this file.
Rating formatting tests also cover an absent grade, a present rationale, and an absent overall score; the focused Rust 1.100.1 LLVM run measured src/db/analytics/change_tracker/ratings.rs at 98.43% (250/254).
SQLite scan-repository tests cover latest and time-bounded reads, rating updates, single-scan deletion, and retention deletion of expired history.
Additional change-tracker tests preserve contextual SQLite failures for scan, leaf-certificate, and every scan data-source query; they also verify deterministic ordering when event descriptions and severities tie.
Protocol diff sets are derived from the same identity maps used to resolve display names, so their lookups now use direct map access instead of untestable filter_map fallbacks; existing tests cover added, removed, unchanged, normalized, and preferred protocol outcomes.
The protocol comparator uses the database-pool abstraction for its SQLite error fixture, and a subprocess test verifies that the optional PostgreSQL integration test skips cleanly when its URL is absent.
Both public protocol parsers now test the documented separator normalization with mixed whitespace, hyphens, and underscores, keeping the duplicate crate and application parser behavior aligned.
Adaptive-controller tests also cover the non-retryable error transition and the minimum concurrency clamp when configured with zero workers.
Scan comparison integration tests cover the zero/one/two-scan compare_latest boundary, selection and ordering of the latest pair, empty comparison results, missing scan records, and out-of-range stored ports using in-memory SQLite.
Comparator fixtures also verify missing scan IDs on both history rows are rejected before either record reaches the comparison query.
The monitor's default certificate client is exercised against a loopback peer that closes during TLS setup, covering its production fetch adapter without external network access.
The webhook retry integration test exercises the production URL validation and pinned HTTP client before verifying signed delivery, retry count, and redacted structured success logging against a local loopback server. Dedicated policy tests also reject empty, private, and mixed loopback/public DNS answers. Additional URL tests reject malformed URLs and hostnames before DNS lookup.
Microsoft Teams alert tests cover adaptive-card variants, severity colors, optional certificate details, and successful or failed delivery through a local HTTP webhook.
src/monitor/alerts/teams.rs measured 99.69% (321/322 focused LCOV lines); one helper-block closing line remains unmapped as covered.
CI artifact upload and release download use the Node 24-compatible, SHA-pinned upload-artifact 7.0.2 and download-artifact 8.0.2 actions.
The differential TLS lab pins each OpenSSL probe to the fixture's expected protocol; TLS 1.0/1.1 probes lower the client cipher security level because current OpenSSL defaults no longer negotiate those legacy protocols.
Scheduled CI uses the latest Kani release (0.68.0) and fuzzes parsed_input and framework_loader for 120 seconds each. Kani 0.68.0 currently hits an upstream codegen ICE in this crate. Kani 0.67.0 is not a workaround: its bundled Rust 1.93 compiler is below the project's Rust 1.100 MSRV. The formal-verification job remains an open upstream compatibility issue; retry the latest Kani release after the ICE is fixed.
cargo deny temporarily ignores the maintenance-only RUSTSEC-2026-0543
advisory for chrono, which has no safe upgrade and remains required by SQLx
and the date/time API models. Reassess the exception by 2027-06-30; it does not
ignore vulnerability advisories, and cargo audit still reports the maintenance
warning.
SQLx is pinned to 0.9.1, which removes vulnerable rsa 0.9 from the dependency
lockfile; its optional MySQL driver uses patched rsa 0.10. SQLx 0.9.1 accepts
the current libsqlite3-sys 0.39 dependency directly, so the former vendored
SQLite driver and RSA advisory exception are no longer needed.
Criterion benchmarks live in benches/, and cargo-fuzz targets plus seed corpora live in fuzz/.
Run the manual API and logging soak with:
cargo test --test api_rate_limit_tests api_logging_load_soak_accounts_for_requests_and_events -- --ignored --nocaptureIt exercises the local authenticated /health route, request metrics and JSON
logging for 30 seconds with eight concurrent producers, and fails if any log
events are dropped. This synthetic local-file test checks capture under its
fixed workload; its throughput and latency do not establish a production SLO.
Terminal, JSON, CSV, HTML, XML, SARIF 2.1.0, JUnit XML
Exit codes are stable for automation: 0 success, 1 operational/partial-scan
failure, 2 confirmed finding at the --fail-on threshold, and 3 failed
policy or mapped compliance checks. 4 reports drift from diff or a baseline.
- Scanner Engine: Async Tokio-based probes
- Protocols: SSLv2 → TLS 1.3
- Vuln Suite: 18+ checks
- Fingerprinting: JA3/JA3S/JARM
- Compliance: 7 frameworks
- Database: SQL migrations + analytics
Layer boundaries are enforced by tests/architecture_guards.rs.
Contributions are welcome:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
If you find CipherRun useful, consider supporting its development:
This project is licensed under GPL-3.0-or-later - see the LICENSE file for details.
Attribution Required:
- Author: Marc Rivero | @seifreed
- Repository: github.com/seifreed/cipherrun
Made with dedication for the security community
Adaptive-controller unit tests also verify extreme duration arithmetic saturates safely instead of overflowing.
CT streamer tests also verify a caught-up log source waits for its configured polling interval and does not request entries beyond the tree size.
The CT source streaming fixture also verifies start_from_beginning selects index zero, emits the matching structured event, and delivers the entry.
Database job cancellation now persists its status through the shared ScanStatus mapping, and the SQLite queue test verifies the stored value. This covers the previously missed cancellation mapping while preserving the conditional queued/running update.
At 3941f25c, Linux CI with PostgreSQL measured 93.141620% workspace line coverage (120,488/129,360) and passed the prior 93.10% gate. The coverage gate is now 93.13%. The subsequent local macOS all-workspace run passes and measures 93.147275% (120,486/129,350); the database cancellation test exercises the persisted cancelled status mapping.
API TLS configuration tests also reject a PEM client CA whose DER bytes are invalid before starting the listener.
The API TLS listener has a loopback test proving it logs and rejects a malformed handshake, then accepts a trusted TLS client.
Rating-change coverage now verifies that an improved overall score produces a low-severity change. The latest local macOS LLVM run passed the all-workspace/all-target suite and measured 93.144668677% line coverage (120,464/129,330); src/db/analytics/change_tracker/ratings.rs measured 99.275362319% (274/276).
Runtime API configuration persistence now tests that a non-UTF-8 path fails TOML serialization before creating the destination file. The latest local macOS LLVM run passed 4,271 library tests and the workspace integration targets, measuring 93.146745013% line coverage (120,476/129,340); src/api/config.rs measured 97.2% (972/1,000).
Webhook tests now verify the signed event names for completed, failed, and cancelled scan outcomes. The full local workspace run passes and measures 93.151341% line coverage (120,522/129,383); executor coverage rises to 93.34% (2,789/2,988 lines).
Webhook URL validation now rejects parser-normalized non-authority and Unicode IP spellings before DNS resolution, closing an SSRF validation bypass. Regression tests also cover private IP literals. The full local macOS all-workspace/all-features/all-targets LLVM run passes at 93.154792% (120,560/129,419); src/security/webhook.rs measures 97.89% line coverage. CI now enforces a 93.14% workspace floor, above the 93.141620% Linux result recorded at commit 3941f25c.
A direct presenter test exercises rendering the summary path when quiet mode is disabled. The latest full local macOS all-workspace/all-features/all-targets LLVM run passes at 93.155935% (120,568/129,426), including 4,275 main-crate unit tests (11 ignored).
POODLE response and timing probes now accumulate successful samples directly from Result, preserving the existing behavior of ignoring individual probe failures; a scripted backend test verifies failures produce an inconclusive verdict. The full local workspace LLVM run passes at 93.157935% (120,565/129,420), and src/vulnerabilities/poodle/mod.rs measures 100% line coverage (424/424).
Heartbleed TLS-record reads now use the already-bounded buffer offset directly and compute the maximum TLS record size without an unreachable overflow branch. The full local all-workspace/all-features/all-targets LLVM run passes at 93.167188% (120,563/129,405); src/vulnerabilities/heartbleed/read_io.rs measures 100% line coverage (116/116).
Revocation HTTP validation now uses a deterministic resolver seam for tests while production continues to use Tokio DNS lookup. Tests cover resolved public addresses and DNS failures without external network access. The full local workspace LLVM run passes at 93.175604% (120,627/129,462); src/certificates/revocation/http.rs measures 97.71% line coverage (299/306).
Path sanitization regression coverage now explicitly rejects backslash-prefixed absolute paths in addition to slash-prefixed paths. All five focused path validation tests pass.
SSL grade contract tests now cover display labels, serialization, ordering, ranks, colors, descriptions, and score caps for every grade. The full local workspace LLVM run passes at 93.191854% (120,717/129,536); src/rating/grader.rs measures 100% line coverage (219/219).
Cipher preference analyzer tests now cover client/server classification, incomplete probe results, mixed choices, and preference-order deduplication. The full local all-workspace/all-features/all-targets LLVM run passes at 93.214850% (120,895/129,695); src/ciphers/tester/preference.rs measures 99.26% line coverage (268/270). Its two uncovered source lines are static tracing event metadata/message fields and do not represent unexecuted behavior. The Linux CI workspace coverage gate is raised to 93.20%.
Certificate-phase STARTTLS flag mapping now has table-driven coverage for SMTP, POP3, IMAP, FTP, XMPP, LDAP, IRC, PostgreSQL, MySQL, NNTP, Sieve, and LMTP, plus no-protocol behavior. The full local all-workspace/all-features/all-targets LLVM run passes at 93.228609% (120,952/129,737); src/scanner/phases/certificate_phase.rs measures 82.83% line coverage (415/501).
Scan-request validation now exercises 14 additional invalid combinations, including conflicting IP modes, malformed proxy/resolver inputs, invalid timeouts, conflicting vulnerability modes, and unsupported STARTTLS settings, with assertions on diagnostic reasons. The full local all-workspace/all-features/all-targets LLVM run passes at 93.259440% (120,992/129,737); src/application/scan_request/validation.rs measures 98.79% line coverage (244/247).
PagerDuty event formatting now covers certificate changes, expiry warnings, validation failures, and optional serial/issuer/expiry details without contacting the external API. The full local all-workspace/all-features/all-targets LLVM run passes at 93.270668% (121,056/129,790); src/monitor/alerts/pagerduty.rs measures 96.32% line coverage (157/163). The remaining uncovered lines are the fixed-endpoint HTTP send/test-connection methods and defensive builder/object branches; they are not exercised with external credentials or network access.
Runtime API credential persistence now has a Linux CI test for write and sync failures through /dev/full and /dev/null. Linux CI run 46964851509 measured 93.290053% workspace line coverage (121,139/129,852), so the workspace gate is raised to 93.29%; the Linux coverage job exercises the device-specific failures.
Certificate inventory list serialization now has an explicit JSON encoding test. The fallback error path was removed because serde_json::to_string cannot fail for String values; the full all-workspace/all-features/all-targets run passes with 4,288 main-crate tests at 93.276780% line coverage (121,063/129,789).
Certificate persistence now also has a deterministic SQLite race fixture: a BEFORE INSERT trigger inserts the same fingerprint and ignores the outer insert, exercising the conflict-recovery lookup. The focused test passes, and the full all-workspace/all-features/all-targets run passes with 4,289 main-crate tests at 93.281576% line coverage (121,114/129,837). Linux CI for commit 4971343c measured 93.276534% and passed the 93.27% floor.
WebSocket progress serialization no longer catches a serialization error that cannot occur for ProgressMessage's String, integer, and DateTime fields. Existing progress-stream tests pass (10 unit tests and 5 integration tests); the full workspace run passes at 93.289531% (121,115/129,827).
Scan CLI tests cover the stored-results notice when no export is produced, --starttls-only target parsing without an IP override, and successful and failing schema subcommand routing with structured completion/error events. The failure test proves a command error produces one cli.command.failed event. The presenter passes the optional stored scan ID directly to the notice renderer after its presence gate, removing a redundant branch. A SQLite-backed worker test now verifies config loading, migrations, executor startup, and shutdown using an injected shutdown future, without PostgreSQL or external signals. The full local all-workspace/all-features/all-targets run passes with 4,291 main-crate tests and 18 main_cli integration tests at 93.330767% line coverage (121,246/129,910); src/commands/worker.rs measures 93.36% (239/256). Network-dependent integration suites remain ignored by their existing annotations. CI for the latest source is pending.
Worker retention validation now has a SQLite-backed test for values outside Chrono's supported range, including confirmation that migrations ran before queue setup failed. The full local all-workspace/all-features/all-targets LLVM run passes with 4,292 main-crate tests and 18 main_cli integration tests at 93.335539% line coverage (121,297/129,958); src/commands/worker.rs measures 95.39% (290/304). Network-dependent integration suites remain ignored by their existing annotations.
ScanPresenter no longer checks a render predicate that is defined as the union of detailed results and summary-only results; non-quiet presentation always renders one of those views. Its eight focused tests pass, and the full local workspace run passes at 93.335437% (121,295/129,956); src/commands/scan_presenter.rs now measures 100% line coverage (204/204).
Finding evidence tests now cover configuration-inference, timing-analysis, heuristic, protocol-negotiation, and not-applicable results, including their confidence, limitations, intrusion flag, and CVE/CWE references. The full local workspace run passes with 4,293 main-crate tests and 18 main_cli integration tests at 93.343384% (121,352/130,006); network-dependent integration suites remain ignored by their existing annotations.
Linux CI run 46975770940 measured 93.336052% line coverage (121,321/129,983), and its quality-gates step passed the previous 93.29% floor. The CI minimum is raised to 93.33%; the latest local full-workspace run remains at 93.343384% (121,352/130,006).
Revocation URL validation now relies on url::Url's guarantees for host and default port after restricting schemes to HTTP(S), removing unreachable fallback errors. Its 13 focused tests pass; the full local workspace run passes at 93.347846% (121,355/130,003). The revocation HTTP module remains at 99.67% because the production system-DNS adapter's resolver-error branch is not exercised by deterministic tests.
Scan-request validation now also covers valid DNS SNI, ECH without mutual TLS, and XMPP-server STARTTLS host combinations. The full local cargo llvm-cov --workspace --all-features --all-targets --locked run passes with 4,294 main-crate unit tests and 18 CLI integration tests at 93.350153% line coverage (121,358/130,003); src/application/scan_request/validation.rs measures 100% (247/247). Network-dependent integration suites remain ignored by their existing annotations.
Path validation now treats a missing parent or filename after a failed canonicalization as impossible: the base has already canonicalized, and validated relative input cannot turn the joined path into a root or empty path. The redundant error branches were removed while canonicalization failures for real missing parents and symlink escapes remain covered. All five focused path tests pass; the full all-workspace/all-features/all-targets LLVM run passes with 4,294 main-crate tests at 93.360412% line coverage (121,362/129,993), and src/security/input_validation/path.rs measures 100% (100/100).
Linux CI run 46981771228 measured 93.349125% workspace line coverage (121,380/130,028) and its Ubuntu/PostgreSQL job completed successfully. The CI minimum is raised to 93.34%; the latest local full-workspace run measures 93.360412% (121,362/129,993).
API example configuration cleanup now closes both output handles before removing partial files after a write failure, which makes the cleanup work on platforms that do not allow unlinking open files. The focused failure-injection test verifies both config-write and token-write failures remove both partial files. The full local all-workspace/all-features/all-targets run passes with 4,295 main-crate unit tests at 93.367013% line coverage (121,421/130,047); Linux CI remains the source of evidence for any subsequent coverage-gate increase.
A regression test now covers failure to open the config destination after the bootstrap token has been created, verifying the token is removed and the pre-existing directory is preserved. The full local all-workspace/all-features/all-targets run passes with 4,296 main-crate tests (4,285 passed, 11 ignored) at 93.367574% line coverage (121,432/130,058); src/api/config.rs measures 97.85% (1,045/1,068). The Linux CI run for the preceding commit is still queued and has not produced a new coverage artifact.
HTML report tests now cover all modeled grade-formatting branches, optional certificate and OCSP stapling values, empty CDN/load-balancer indicators, and both supported and unsupported optional protocol statuses. The impossible B+/B- grade mappings were removed because Grade has no such variants. The full all-workspace/all-features/all-targets run passes with 4,297 main-crate tests (4,286 passed, 11 ignored) and 18 CLI integration tests at 93.383031% line coverage (121,510/130,120); src/output/html.rs measures 100% (473/473). The Linux CI run for the preceding commit remains queued without assigned jobs.
Certificate insert race tests now cover both recovery of a concurrently created row and the error path when a conflict has no surviving row; the latter is injected deterministically with a SQLite trigger and asserts the diagnostic retains the fingerprint. The full all-workspace/all-features/all-targets run passes with 4,298 main-crate tests (4,287 passed, 11 ignored) and 18 CLI integration tests at 93.389681% line coverage (121,542/130,145); src/db/storage/certificates/insert.rs measures 98.68% (150/152). CI for the preceding commit is still running its Linux/PostgreSQL and quality-gates jobs.
XML report coverage now includes OCSP stapling details when the response is absent and when its validity is known, including the optional validity element. The full all-workspace/all-features/all-targets run passes with 4,298 main-crate tests (4,287 passed, 11 ignored) and 18 CLI integration tests at 93.405395% line coverage (121,583/130,167); src/output/xml.rs measures 96.49% (549/569). Its remaining reported lines are branch-closing source locations even though the corresponding branch bodies are exercised; the line-level report therefore does not justify a full-coverage claim for that file. Linux CI coverage for this source is pending.
Policy result coverage now verifies that warning and informational findings are counted and rendered without making the policy fail. The full all-workspace/all-features/all-targets run passes with 4,299 main-crate tests (4,288 passed, 11 ignored) and 18 CLI integration tests at 93.409986% line coverage (121,617/130,197); src/policy/mod.rs measures 98.12% (313/319). cargo clippy --workspace --all-features --all-targets --locked -- -D warnings and cargo fmt --all --check pass. At this commit the Rust CI floor was 93.34%, pending the next Linux coverage artifact.
Cipher probe tests now exercise aggregation of supported, rejected, and inconclusive suite results, plus the no-address path that must remain inconclusive. The full all-workspace/all-features/all-targets run passes with 4,301 main-crate tests (4,290 passed, 11 ignored) and 18 CLI integration tests at 93.413891% line coverage (121,680/130,259); src/vulnerabilities/cipher_probe.rs measures 97.34% (402/413). Clippy and formatting checks pass. The Linux coverage run for this commit was cancelled before it produced an artifact; the 93.40% floor is based on the verified Linux artifact documented below.
Linux CI run 46993800848 measured 93.405893% Rust workspace line coverage (121,607/130,192) for commit 3004e813, and its Ubuntu/PostgreSQL build, tests, and coverage job passed. Based on that artifact, the CI minimum is now 93.40%; that run enforced the prior 93.34% gate. The coverage run for commit 08e1c2bb was cancelled before producing an artifact.
The CLI scan view now has direct assertions for post-processing failure state, stored-scan notices, and artifact-aware notice rendering; src/application/scan_execution/cli_view.rs measures 100% line coverage (415/415). The full locked all-workspace/all-features/all-targets LLVM run passes and measures 93.426365% overall (121,714/130,278); the Linux CI gate remains at 93.40% pending a successful artifact for this revision.
Scanner formatter tests now cover the empty CDN/load-balancer early return and the critical JARM signature warning. The full locked all-workspace/all-features/all-targets run passes with 4,303 main-crate tests (4,292 passed, 11 ignored) and 18 CLI integration tests at 93.429436% line coverage (121,718/130,278); src/application/scan_execution/cli_view.rs remains at 100% (415/415). The Linux CI gate remains at 93.40% until this revision produces a successful coverage artifact.
Fingerprint rendering tests now exercise absent optional JA3/JA3S fields, negative CDN and load-balancer states, and a CDN result without load-balancer data. src/output/scanner_formatter/fingerprints.rs now measures 100% line coverage (165/165). The full locked all-workspace/all-features/all-targets run passes with 4,304 main-crate tests (4,293 passed, 11 ignored) and 18 CLI integration tests at 93.441717% workspace line coverage (121,734/130,278); Clippy and formatting checks pass.
Cipher comparison coverage now checks sorted output across SSLv2, SSLv3, TLS 1.0–1.3, and QUIC in both plain and colored formats. The full locked all-workspace/all-features/all-targets run passes with 4,304 main-crate tests (4,293 passed, 11 ignored) and 18 CLI integration tests at 93.449379% workspace line coverage (121,758/130,293); src/ciphers/parser.rs measures 98.04% (401/409).
Cipher formatter tests now cover colorized cipher-list and detailed output, including FS and AEAD markers. The full locked all-workspace/all-features/all-targets run passes with 4,304 main-crate tests (4,293 passed, 11 ignored) and 18 CLI integration tests at 93.451317% workspace line coverage (121,768/130,301); src/ciphers/parser.rs measures 98.80% (412/417).
Cipher summary formatting now has regression coverage for failures writing its Forward Secrecy and AEAD fields. The full locked all-workspace/all-features/all-targets run passes with 4,305 main-crate tests (4,294 passed, 11 ignored) and 18 CLI integration tests at 93.453756% workspace line coverage (121,788/130,319); src/ciphers/parser.rs measures 99.31% (432/435), with its three missed line locations limited to closing braces.
Linux CI run 47008737985 measured 93.471576% Rust workspace line coverage (121,886/130,399) for commit b41ffaaf; its Ubuntu/PostgreSQL build, tests, and coverage steps passed. Based on this artifact, the CI minimum is raised to 93.47%. The current local full-workspace run measures 93.471491% (121,870/130,382); its coverage report passes the updated floor.
Advanced HTTP-header formatting now exercises disabled HSTS, unflagged session cookies, unsynchronized server time, hidden version details, and reverse-proxy X-Real-IP output. The full locked all-workspace/all-features/all-targets run passes with 4,306 main-crate tests (4,295 passed, 11 ignored) and 18 CLI integration tests at 93.465266% workspace line coverage (121,803/130,319); src/output/scanner_formatter/http_headers/advanced.rs measures 97.69% (127/130), with its remaining locations limited to closing braces.
PagerDuty alert delivery and connection validation now test success and API error responses against a local HTTP fixture, with no external network dependency. The full locked all-workspace/all-features/all-targets run passes with 4,308 main-crate tests (4,297 passed, 11 ignored) and 18 CLI integration tests at 93.471091% workspace line coverage (121,862/130,374); src/monitor/alerts/pagerduty.rs measures 98.62% (215/218), with only non-executable closing locations uncovered. Formatting and Clippy pass.
DROWN response tests now cover truncated records and the largest representable SSLv2 record. The parser drops a redundant upper-bound check already guaranteed by its 15-bit header and an unreachable optional read after validating the complete record. The full locked all-workspace/all-features/all-targets run passes with 4,308 main-crate tests (4,297 passed, 11 ignored) and 18 CLI integration tests at 93.471491% workspace line coverage (121,870/130,382); src/vulnerabilities/drown/sslv2.rs measures 79.81% (166/208).
STARTTLS client simulation now has a loopback regression test for server rejection during SMTP negotiation; the returned per-client result preserves the operation-specific failure. The locked all-workspace/all-features/all-targets LLVM run passes with 4,311 main-crate tests and 18 CLI integration tests at 93.502792% line coverage (122,052/130,533). The configured CI floor remains 93.47% until a successful Linux artifact validates a higher threshold.
OCSP stapling coverage now checks truncated ServerHello fields at seven parsing boundaries and asserts each structural error. Its file coverage rises from 78.65% to 83.70% (462/552); the full locked all-workspace/all-features/all-targets LLVM run passes at 93.519703% (122,104/130,565). cargo fmt --all --check, Clippy with warnings denied, and git diff --check pass. The 93.47% CI floor remains pending a successful Linux artifact for a revision above the current floor.
OCSP stapling tests now also cover malformed handshake headers and body lengths, successful support advertisement without a response, and short/empty CertificateStatus bodies. The full locked all-workspace/all-features/all-targets LLVM run passes at 93.529790% (122,163/130,614); src/certificates/revocation/stapling.rs measures 86.52% (520/601). Formatting, Clippy with warnings denied, and whitespace checks pass. The coverage gate remains 93.47% until Linux CI reports a successful artifact for these changes.
Additional OCSP parser tests verify that complete non-handshake records are skipped, partial TLS record headers are rejected, and unknown extension payload lengths stay within the declared block. The all-workspace LLVM run passes at 93.537004% (122,193/130,636); src/certificates/revocation/stapling.rs is now 88.44% covered (551/623). Formatting, Clippy with warnings denied, and diff checks pass. Linux CI evidence is still pending before raising the 93.47% floor.
Linux CI run 47017340024 measured 93.503271% workspace line coverage (122,076/130,558) for commit 7b774866; its Ubuntu/PostgreSQL test and coverage job passed. The minimum CI threshold is raised to 93.50% based on that artifact. The latest local full-workspace run measures 93.537004% (122,193/130,636).
Must-Staple validation now has regression cases for a truncated DER sequence and a TLS Feature entry with the wrong ASN.1 type. The full locked all-workspace/all-features/all-targets LLVM run passes at 93.540511% (122,206/130,645); stapling coverage rises to 89.08% (563/632). Formatting, Clippy with warnings denied, and diff checks pass. The 93.50% CI floor remains supported by Linux run 47017340024 while CI for the latest source is queued.
Must-Staple checks now reject both a truncated ASN.1 sequence and non-integer feature entries. The full locked Rust workspace run passes at 93.540511% (122,206/130,645); src/certificates/revocation/stapling.rs measures 89.08% (563/632). The Python SDK already has a separate CI gate requiring 100% coverage across cipherrun and cipherrun_client; project coverage work remains focused on the Rust workspace.
Local Python SDK verification on Python 3.15.2 passes all 110 pytest cases with 100.00% statement coverage (3,574 statements) across cipherrun and cipherrun_client, matching the CI command and its 100% floor. The current Rust workspace measurement is 93.540511%; Rust remains the uncovered part of the project-wide goal.
The stapling parser now relies on its slice-bound and fixed-width wire-length invariants instead of redundant checked-add error branches, while retaining explicit truncation and declared-range checks. A test also confirms that certificates without the TLS Feature extension are not marked Must-Staple. All 23 stapling unit tests and the full locked workspace run pass at 93.577314% (122,197/130,584); stapling reaches 97.02% (554/571). Formatting, Clippy with warnings denied, and diff checks pass. The remaining uncovered Rust lines include an invalid-constant-OID branch, duplicate-extension parsing, a guaranteed sequence cast, and trace macro source locations.
Linux CI run 47022208146 measured 93.540981% workspace line coverage (122,230/130,670) for commit 84fbc11f; its Ubuntu/PostgreSQL tests and coverage job passed with the previous 93.50% gate. Based on that artifact, the CI minimum is raised to 93.54%. The latest local run measures 93.577314%; the subsequent bounded-offset refactor is pending its own Linux artifact.
The revocation certificate fixture now supports several raw extensions, allowing a deterministic duplicate TLS Feature test to verify get_extension_unique rejects ambiguous Must-Staple data. All 24 stapling tests pass; the full Rust workspace measures 93.580349% (122,215/130,599), and stapling measures 97.59% (568/582). cargo fmt --all --check, Clippy with warnings denied, and git diff --check pass. The configured CI floor remains 93.54% pending Linux validation of this revision.
SQLite change-tracker tests now verify field-specific decode errors for malformed certificate columns and invalid JSON arrays through the production lookup path. The locked all-workspace/all-features/all-targets LLVM run passes with 4,320 main-crate tests at 93.645365% line coverage (122,387/130,692); the change-tracker module measures 95.52% (788/825). The CI floor remains 93.54% until a Linux artifact validates a higher threshold.
Additional SQLite cases cover non-text storage classes in SAN, key-usage, and extended-key-usage columns before JSON parsing. The full locked LLVM workspace run passes at 93.657995% (122,411/130,700), and change_tracker/mod.rs measures 97.36% (811/833). Formatting, Clippy with warnings denied, and diff checks pass; Linux CI evidence is pending before raising the 93.54% gate.
The SQLite change-tracker fixture now also exercises malformed certificate IDs through the join, invalid DER storage, and the PostgreSQL test's no-URL skip path; a fixed test-table list removes an unreachable fallback. All 4,321 main-crate tests pass in the locked all-workspace LLVM run at 93.672620% (122,417/130,686); change_tracker/mod.rs measures 99.88% (818/819). Linux CI evidence is pending before raising its 93.54% floor.
The change-tracker query-failure test now uses explicit fixture cases, and its PostgreSQL integration test separately verifies the no-database skip branch. The full locked LLVM run passes all 4,321 main-crate tests at 93.672620% (122,417/130,686); change_tracker/mod.rs measures 99.88% (818/819), with one source region still uncovered. Four zero-count locations remain in the protocol module's tracing macro expansion even though the WARN event output is verified. Linux CI coverage evidence is pending.
Key-exchange group tests now cover targets without resolved addresses and OpenSSL builds that cannot offer a requested group. The full locked Rust workspace run passes 4,323 main-crate tests at 93.693728% (122,483/130,727); src/protocols/groups.rs measures 89.08% (310/348). Linux CI run 47025197436 uploaded 93.580812% (122,239/130,624), so the Rust coverage floor is raised from 93.54% to 93.58%.
A loopback TLS-alert fixture now verifies the group enumerator reports protocol-level rejections as conclusive measurements. The full locked LLVM workspace run passes 4,324 main-crate tests at 93.705262% (122,529/130,760); src/protocols/groups.rs reaches 93.44% (356/381). The Linux-validated CI floor remains 93.58% pending an artifact for a higher gate.
A local TLS server with a generated test certificate now exercises successful P-256 negotiation through the group enumerator. All 4,325 main-crate tests pass in the locked all-workspace LLVM run at 93.713504% (122,611/130,836); src/protocols/groups.rs measures 95.62% (437/457). The Linux-validated CI gate remains 93.58% until a newer Linux artifact supports raising it.
Key-exchange group probing now verifies that test_all_ips attempts every resolved address using a deterministic loopback TLS-alert fixture. The focused test passes, and the full locked all-workspace/all-features/all-targets LLVM run passes all 4,326 main-crate tests at 93.715185% (122,646/130,871); group coverage reaches 96.14% (473/492). The CI floor remains 93.58% pending a newer successful Linux coverage artifact.
DROWN response reading now has a virtual-time regression test for a partial record whose peer stalls: the buffered byte is returned at the timeout boundary. The full locked all-workspace/all-features/all-targets LLVM run passes all 4,327 main-crate tests at 93.716242% (122,668/130,893); src/vulnerabilities/drown/read_io.rs reaches 99.71% (338/339), with one LLVM line region still uncovered. The Linux CI floor remains 93.58% pending a successful artifact for the current source.
Session resumption tests now cover failed timestamp conversions, zero-length session validity boundaries, stored retry configuration, and a reachable quick probe against a loopback TLS server. The full locked all-workspace/all-features/all-targets LLVM run passes all 4,330 main-crate tests at 93.725466% (122,726/130,942); src/protocols/session_resumption.rs reaches 84.62% (473/559). The CI floor remains 93.58% pending a successful Linux artifact for the current source.
Pre-handshake parsing tests now cover ServerHello version and cipher extraction, non-handshake records, unknown handshake types, parsing only the leaf of a multi-certificate list, truncated handshake and certificate-entry headers, and malformed ServerHello session IDs. The full locked all-workspace/all-features/all-targets LLVM run passes all 4,335 main-crate tests at 93.735405% (122,829/131,038); src/protocols/pre_handshake/parser.rs reaches 85.30% (412/483). The CI floor remains 93.58% pending a successful Linux artifact for the current source.
A valid SAN certificate test now verifies DNS names are retained and IP SANs are omitted. The full locked all-workspace/all-features/all-targets LLVM run passes all 4,336 main-crate tests at 93.736694% (122,841/131,049); src/protocols/pre_handshake/parser.rs reaches 85.83% (424/494). CI continues to enforce its Linux-validated 93.58% floor; the workflow archives the detailed JSON, LCOV, and uncovered-line reports for each run.
Pre-handshake parsing now also tests short Certificate messages and confirms later Certificate handshake messages cannot replace the first leaf certificate. All 4,338 main-crate tests pass in the locked all-workspace LLVM run at 93.738508% (122,864/131,071); parser coverage reaches 86.63% (447/516). The Linux-validated CI floor remains 93.58% until this revision produces a successful coverage artifact.
Stream-ticket retention now has a mixed-state test proving issuance removes expired entries while preserving an active one. The locked all-workspace/all-features/all-targets LLVM run passes all 4,338 main-crate tests at 93.738651% (122,867/131,074); src/api/ws/tickets.rs measures 99.63% (271/272). At that revision, CI still enforced the previously Linux-validated 93.58% floor.
Linux CI run 47038561684 passed every job and its archived Rust coverage artifact measured 93.726664% (122,751/130,967) at commit 6de5e1b2. The Rust workspace gate is raised to 93.72%; the current local measurement remains 93.738651%, and 100% coverage is still the project goal.
Executor finalization now has a regression test for a scan failure racing with cancellation: cancellation remains authoritative and does not increment failed-scan stats. All 4,339 main-crate tests pass in the locked all-workspace LLVM run at 93.743374% (122,906/131,109); src/api/jobs/executor.rs measures 93.55% (2,828/3,023). The Linux-validated CI gate is 93.72% pending validation of this newer revision.
PagerDuty event construction now uses its known JSON object directly, removing defensive object-conversion branches that cannot occur for the locally built value while preserving the existing event schema. All seven PagerDuty tests pass; the full locked workspace run measures 93.744089% (122,906/131,108), with src/monitor/alerts/pagerduty.rs at 99.54% (216/217). The Linux CI gate remains 93.72%.
The global WebSocket lag-recovery test now also asserts the structured websocket.progress.lagged event, its continuing outcome, and a positive skipped-message count. The focused test passes, and the full locked workspace LLVM run passes all 4,339 main-crate tests at 93.747474% (122,932/131,131); the CI gate remains 93.72%.
Executor shutdown now has a gated regression test for draining an active scan task that panics, including the structured join-failure event and stable diagnostic code. The focused test and full locked workspace LLVM run pass; all 4,340 main-crate tests pass at 93.749714% line coverage (122,994/131,194), and src/api/jobs/executor.rs measures 93.71% (2,892/3,086). CI remains at its Linux-validated 93.72% floor pending a successful artifact for this revision.
The in-memory job queue now directly tests its expired-job maintenance operation: it reports the exact removal count while preserving recent terminal and active jobs. The focused test and full locked workspace LLVM run pass; all 4,341 main-crate tests pass at 93.752858% line coverage (123,030/131,228), and src/api/jobs/queue.rs measures 92.23% (783/849). CI remains at its Linux-validated 93.72% floor pending a successful artifact for this revision.
The queue options constructor now has coverage for in-memory-only initialization, its structured readiness event, and a complete enqueue/dequeue cycle. The focused test and full locked workspace LLVM run pass; all 4,342 main-crate tests pass at 93.754333% line coverage (123,061/131,259), with src/api/jobs/queue.rs at 92.50% (814/880). CI remains at its Linux-validated 93.72% floor pending a successful artifact for this revision.
If persisting a queue claim fails, the in-memory queue now restores the job to its original position so the executor can retry it. The regression test verifies the error, queued state, and successful subsequent claim. The full locked all-workspace/all-features/all-targets LLVM run passes at 93.752332% (123,094/131,297); src/api/jobs/queue.rs measures 92.05% (845/918). Some network-dependent and manual soak tests remain intentionally ignored; the 93.72% Linux CI floor is still below the 100% project goal.
Queue progress also has a deterministic assertion for the successful ETA calculation from a known elapsed time, alongside existing clock-skew and out-of-range cases. The full locked all-workspace/all-features/all-targets LLVM run passes all 4,344 main-crate tests at 93.751285% line coverage (123,102/131,307); src/api/jobs/queue.rs measures 92.13% (855/928). Network-dependent and manual soak tests remain intentionally ignored, and CI's 93.72% floor remains pending an artifact for this revision.
The Python SDK coverage gate also passes locally on Python 3.15.2: 110 tests cover all 3,574 measured statements at 100%. Rust workspace coverage remains a separate 93.768467% measurement; both gates are enforced independently in CI.
Trend analyzer detail lookups now have SQLite-backed tests for reading vulnerability, protocol, and cipher rows and for reporting missing-table query failures through each helper's error mapping. Empty and single-point statistics inputs and a date-range overflow case are covered too. The full locked all-workspace/all-features/all-targets LLVM run passes at 93.764948% (123,104/131,290); src/db/analytics/trend_analyzer.rs measures 89.85% (239/266). Eleven network-dependent or manual tests remain ignored by their annotations.
Trend statistics now use the proven input-length and bounded-value invariants directly: non-empty median indexes are in range, regression denominators are finite and non-zero for two or more indexed points, and the clamped forecast fits in u8. This removes defensive branches that valid inputs cannot reach; the trend analyzer's 17 focused tests and full workspace run pass.
Linux CI run 47051384801 completed successfully and its archived Rust coverage artifact measured 93.752475% (123,127/131,332). The Rust workspace coverage gate is raised to 93.75%; the latest local measurement is 93.764948% (123,104/131,290). Python SDK coverage remains at 100%, and 100% Rust coverage remains the project goal.
In-memory queue pruning tests now cover aggregated storage failures both when expired jobs are removed by retention and when terminal history exceeds its cap. They assert stable event counts and confirm job IDs are absent from diagnostics; the focused test passes, with a full coverage refresh pending.
The full locked all-workspace/all-features/all-targets LLVM run now measures 93.768467% (123,133/131,316); src/api/jobs/queue.rs measures 92.56% (883/954). The new pruning failure paths pass, and the 93.75% CI gate is awaiting its first run on the updated workflow.
Certificate Transparency SCT parsing now tests empty and truncated list headers, inconsistent declared lengths, SCT entries extending beyond the list, trailing entry bytes, and invalid certificate DER. The locked full workspace/all-features/all-targets run passes 4,348 main-crate unit tests and measures 93.777697% Rust line coverage (123,162/131,334); src/certificates/ct.rs measures 84.32% (371/440). Eleven network/manual tests remain ignored by their annotations.
CT verification tests also build certificates containing one and two embedded SCTs and assert the resulting count, source, and compliance state. The latest locked full workspace/all-features/all-targets run passes 4,349 main-crate unit tests and measures 93.792285% Rust line coverage (123,244/131,401); src/certificates/ct.rs measures 89.35% (453/507). Eleven network/manual tests remain ignored by their annotations.
CT log lookup now accepts a private endpoint parameter so its production behavior remains on crt.sh while tests use a loopback HTTP server. Tests cover found, empty, non-array, and non-success responses without external network access. The latest locked full workspace/all-features/all-targets run passes 4,350 main-crate unit tests and measures 93.810042% Rust line coverage (123,333/131,471); src/certificates/ct.rs measures 93.93% (542/577). Eleven network/manual tests remain ignored by their annotations.
The public CT verification flow is now tested against loopback responses for found, not-found, malformed JSON, and HTTP failure outcomes, including the inconclusive result behavior. The latest locked full workspace/all-features/all-targets run passes 4,351 main-crate unit tests and measures 93.823078% Rust line coverage (123,413/131,538); src/certificates/ct.rs measures 96.58% (622/644). Eleven network/manual tests remain ignored by their annotations.
CT tests also cover an unwrapped SCT-list value and run lookup outcomes with DEBUG logging enabled, exercising both completion and failure diagnostics. The latest locked full workspace/all-features/all-targets run passes 4,352 main-crate unit tests and measures 93.823650% Rust line coverage (123,410/131,534); src/certificates/ct.rs measures 96.72% (619/640). Eleven network/manual tests remain ignored by their annotations.
CT parser validation now reads fixed-width u16 fields directly after proving their enclosing ranges are present; unreachable conversion and overflow error paths were removed. Tests cover disabled phone-out, connection failure, and malformed JSON responses. The latest locked full workspace/all-features/all-targets run passes 4,353 main-crate unit tests and measures 93.837231% Rust line coverage (123,441/131,548); src/certificates/ct.rs measures 99.24% (649/654). Eleven network/manual tests remain ignored by their annotations.
CT error-path tests now verify verify propagates invalid certificate/SCT errors and reports a response over the 16 MiB cap as inconclusive. The latest locked full workspace/all-features/all-targets run passes 4,355 main-crate unit tests and measures 93.838708% Rust line coverage (123,503/131,612); src/certificates/ct.rs measures 99.30% (713/718). Its remaining uncovered regions are static tracing macro fields and the uninjectable default reqwest::ClientBuilder::build error branch. Eleven network/manual tests remain ignored by their annotations.
Vulnerability evidence generation now appends CWE references directly because the configured hint references contain no CWE URLs; this removes an unreachable duplicate-check branch. A regression test verifies the generated CWE link. The locked full workspace/all-features/all-targets LLVM run passes 4,356 main-crate unit tests and measures 93.841642% Rust line coverage (123,520/131,626); src/vulnerabilities/mod.rs reaches 100% (223/223). Eleven network/manual tests remain ignored by their annotations.
The Rust workspace CI coverage floor is raised from 93.75% to 93.80%; the latest full local run clears it at 93.841642%. Linux CI must confirm this new floor on the pushed revision before it is treated as platform-validated.
Webhook SSRF tests now exercise the full URL-validation flow with an injected resolver that returns a private address for a public hostname; validation rejects it without external DNS. The locked full workspace/all-features/all-targets LLVM run passes 4,357 main-crate unit tests and measures 93.841865% Rust line coverage (123,540/131,647); src/security/webhook.rs measures 98.93% (369/373). Remaining webhook gaps include the default DNS transport error branch, the unrepresentable Url::host_str() == None path after scheme validation, and an uninjectable reqwest client-builder error; these are not reported as covered. Eleven network/manual tests remain ignored by their annotations.
Certificate persistence now tests the normal insert path and verifies a repeated fingerprint returns the same database ID. The locked full workspace/all-features/all-targets LLVM run passes 4,358 main-crate unit tests and measures 93.844132% Rust line coverage (123,558/131,663); src/db/storage/certificates/insert.rs reaches 100% (168/168). The local 93.80% coverage gate passes. Eleven network/manual tests remain ignored by their annotations.
Credential route tests now exercise create, both rotation expiry modes, revoke, invalid identifiers and expiry, duplicate IDs, and missing credential errors. The locked full workspace/all-features/all-targets LLVM run passes 4,360 main-crate tests and measures 93.850590% Rust line coverage (123,681/131,785); src/api/routes/credentials.rs measures 98.87% (351/355). Four remaining uncovered regions in that file are static tracing macro fields; the audit event output itself is asserted. The local 93.80% gate passes; the Linux CI result for the current floor remains pending. Eleven network/manual tests remain ignored by their annotations.
Cipher formatter tests cover the no-marker list and a server-ordered summary without a preferred cipher. Comparison formatting now iterates sorted protocol-summary pairs directly, removing a redundant map lookup whose missing-key case could not occur. The locked full workspace/all-features/all-targets LLVM run passes 4,361 main-crate tests at 93.852807% line coverage (123,698/131,800); src/ciphers/parser.rs reaches 100% (450/450). The local 93.80% gate passes; Linux CI validation is pending. Eleven network/manual tests remain ignored by their annotations.
The PostgreSQL job-queue test now verifies idempotent enqueue and replay rejection, claiming and renewing a lease, recovering an expired lease, persisting the recovered JSON state, and preserving cancellation. It uses a temporary schema and is enabled in the PostgreSQL CI job. The locked full workspace/all-features/all-targets LLVM run passes 4,362 main-crate tests at 93.867399% line coverage (123,782/131,869); src/api/jobs/database.rs measures 96.05% (438/456). The local 93.80% gate passes; Linux CI validation remains pending. Eleven network/manual tests remain ignored by their annotations.
XML report tests now cover absent certificate leaves, revocation data with and without OCSP stapling details, CVE references, and optional CDN/load-balancer fields. The locked all-workspace/all-features/all-targets LLVM run passes 4,363 main-crate tests (4,352 passed, 11 ignored) and measures 93.877659% line coverage (123,865/131,943); src/output/xml.rs measures 98.13% (631/643). The Rust coverage gate is raised to 93.85% in CI. Linux CI validation for this revision is pending.
Compliance model tests now cover every requirement status and severity label and both populated and empty severity filters. The locked full workspace/all-features/all-targets LLVM run passes 4,364 main-crate tests (4,353 passed, 11 ignored) and measures 93.889659% line coverage (123,909/131,973); src/compliance/mod.rs measures 99.45% (180/181). The local 93.85% gate passes; Linux CI validation remains pending. Eleven network/manual tests remain ignored by their annotations.
Client compatibility-data tests now exercise the empty-database query contract, escaped quoted fields, trailing comments, and QUIC metadata-only classification. The locked full workspace/all-features/all-targets LLVM run passes 4,366 main-crate tests (4,355 passed, 11 ignored) and measures 93.903123% line coverage (123,954/132,002); src/data/client_data.rs measures 97.64% (537/550). The local 93.85% gate passes; Linux CI validation remains pending. Eleven network/manual tests remain ignored by their annotations.
HTTP security-header tests now cover HSTS grade boundaries, HPKP report-only and backup pins, cookie security grades, HTTP date handling, server banner disclosure, and reverse-proxy identification. The locked full workspace/all-features/all-targets LLVM run passes 4,372 main-crate tests (4,361 passed, 11 ignored) and measures 93.959625% Rust line coverage (124,131/132,111). The CI workspace line-coverage gate is raised to 93.90%, below the local result. Linux CI validation for this revision is pending.
Follow-up HTTP header cases exercise HSTS preload, HPKP with no pins, cookie Domain/Path/Expires fields, and both forwarded proxy headers. The locked all-workspace/all-features/all-targets run passes all 4,372 main-crate tests (4,361 passed, 11 ignored) and measures 93.964460% workspace line coverage (124,159/132,134). The workspace coverage gate is raised to 93.95%; Linux CI validation for this revision is pending. The 100% project-wide goal remains open.
PagerDuty test servers now shut down through Axum's graceful-shutdown signal and their tasks are joined after each request. The seven focused PagerDuty tests pass, and the full locked workspace/all-features/all-targets run passes 4,372 main-crate tests (4,361 passed, 11 ignored) at 93.965191% line coverage (124,175/132,150); src/monitor/alerts/pagerduty.rs reaches 100% (233/233). The 93.95% CI gate remains pending validation on this revision.
Cookie parsing now reads the first split segment directly because str::split(';') always yields at least one segment; a regression test covers an empty cookie string. The focused header tests and full locked workspace/all-features/all-targets run pass (4,361 passed, 11 ignored) at 93.965674% workspace line coverage (124,170/132,144), and src/http/headers_advanced.rs reaches 99.26% (538/542). The project-wide 100% goal remains open.
HTTP parser tests now also cover unknown HSTS/HPKP directives and invalid HPKP max-age values; the missing-HSTS case asserts both default flags are false. The locked full workspace/all-features/all-targets run passes 4,372 main-crate tests (4,361 passed, 11 ignored) at 93.968309% (124,181/132,152); src/http/headers_advanced.rs is 99.82% (549/550). LLVM still reports one line in the missing-HSTS result initializer despite assertions for both values, so it remains counted uncovered.
Client profile parser tests now cover multiline array values and empty optional fields; invalid-input assertions no longer include unreachable panic branches. The locked full workspace/all-features/all-targets run passes 4,373 main-crate tests (4,362 passed, 11 ignored) at 93.975758% line coverage (124,204/132,166); src/data/client_data.rs measures 99.29% (560/564). The CI line-coverage gate is raised to 93.96%, below this measurement. The project-wide 100% coverage goal remains open.
Embedded client database initialization now has a directly tested malformed-data path, including conversion of the cached load error to the application error type. The locked full workspace/all-features/all-targets run passes 4,374 main-crate tests (4,363 passed, 11 ignored) at 93.978273% line coverage (124,228/132,188); src/data/client_data.rs measures 99.66% (584/586). LLVM still marks the parser's empty opening-parenthesis match arm and a loop-closing source region uncovered. The 93.96% CI gate passes locally; the project-wide 100% goal remains open.
Coverage now measures production Rust source separately from inline #[cfg(test)] modules: tests still run, while their own test-harness lines are excluded from the denominator using Rust nightly's coverage attribute. This corrects the earlier mixed measurement, which counted ignored test bodies as uncovered product lines. The latest full workspace/all-features/all-targets nightly LLVM run passes 4,374 main-crate tests (4,363 passed, 11 ignored) and measures production-source coverage at 87.886438% (52,564/59,809 lines), 90.406076% of functions, and 85.550997% of regions. These numbers are not directly comparable to earlier mixed-coverage entries. CI now enforces an 87.80% production-source line floor; the Rust stable build, Clippy, and test jobs remain unchanged.
Anycast now has a local localhost integration test that exercises system DNS resolution and verifies loopback answers are rejected before scanning. The full nightly workspace/all-features/all-targets run passes 4,375 main-crate tests (4,364 passed, 11 ignored) and measures production-source coverage at 87.929910% (52,590/59,809); src/utils/anycast/mod.rs rises from 48.61% to 60.65% (131/216 lines). The 87.80% CI floor is cleared locally; 100% remains the goal.
Anycast scan argument construction is now isolated from network execution and covered for IPv4/IPv6 target formatting, default SNI, and caller-supplied SNI. The full nightly workspace/all-features/all-targets run passes 4,377 main-crate tests (4,366 passed, 11 ignored) at 87.939077% production-source line coverage (52,599/59,813); src/utils/anycast/mod.rs reaches 63.64% (140/220 lines). The 87.80% CI floor is cleared locally; 100% remains the goal.
Anycast success outcomes now have structured-log assertions, and resolved public IPv4/IPv6 addresses are tested as accepted inputs alongside the existing private-address rejection case. The full nightly workspace/all-features/all-targets run passes 4,379 main-crate tests (4,368 passed, 11 ignored) at 87.939077% production-source line coverage (52,599/59,813); src/utils/anycast/mod.rs reaches 64.09% (141/220 lines). The 87.80% CI floor is cleared locally; 100% remains the goal.
Per-IP scan result conversion is now a tested helper: success retains scan results and emits the completion event, while failure retains the error and emits a partial-failure event without logging the IP address. The full nightly workspace/all-features/all-targets run passes 4,380 main-crate tests (4,369 passed, 11 ignored) at 87.964093% production-source line coverage (52,621/59,821); src/utils/anycast/mod.rs reaches 71.49% (163/228 lines). The 87.80% CI floor is cleared locally; 100% remains the goal.
Anycast now also exercises its resolved-address scan loop against a local loopback listener that accepts and closes connections. This verifies scan completion and the single-address non-Anycast report path without external network access. The full nightly workspace/all-features/all-targets run passes 4,381 main-crate tests (4,370 passed, 11 ignored) at 87.965765% production-source line coverage (52,622/59,821); src/utils/anycast/mod.rs reaches 71.93% (164/228 lines). The 87.80% CI floor is cleared locally; 100% remains the goal.
OCSP parsing now has checked-in signed good and revoked responses, a response for an unlisted certificate, and a deliberately corrupted signature with issuer/leaf certificates. Tests verify fresh trusted Good and Revoked outcomes, Unknown when the queried certificate is absent, and Error for an invalid signature. A loopback HTTP test also delivers the signed DER through the validated-responder path. src/certificates/revocation/ocsp.rs measures 69.35% (172/248). Protocol feature detection tests all-address traversal after a failed loopback address, failed session-resumption probes in both single-IP and all-IP modes, and SSLv2 probing verifies a failed SMTP STARTTLS negotiation stays inconclusive; probing.rs measures 77.29% (337/436). The latest locked full workspace/all-features/all-targets run, using the same PostgreSQL test URL and single-threaded setting as CI, passes 4,430 main-crate tests (11 ignored) at 88.808622% production-source line coverage (52,985/59,662); src/protocols/tester/feature_detection.rs measures 96.30% (208/216) and src/protocols/tester/probing.rs measures 85.32% (372/436); src/protocols/fallback_scsv/network.rs measures 63.72% (137/215). Loopback tests cover failed RDP preamble and invalid SMTP greeting paths, both of which leave feature detection inconclusive; local UDP exchanges verify QUIC version-negotiation support and the inconclusive timeout result, and TLS 1.2/1.3 probes both remain inconclusive after STARTTLS negotiation failure. QUIC classification also covers nonzero versions, unsupported advertised versions, and truncated connection IDs. Local SCSV servers verify both reconnect failure and peer closure after the SCSV probe remain inconclusive. A TLS 1.2 protocol probe now traverses feature detection and completes against a local Rustls server, including rejected raw ClientHello attempts before its successful handshake. A signed OCSP response verifies that response parsing refuses to proceed without the issuer certificate. The TLS pre-handshake parser now checks record and handshake lengths against remaining slice bytes, removing overflow-only branches while retaining truncated-input errors; it measures 97.06% (198/204). The CI coverage floor is raised to 88.79%; the project-wide 100% goal remains open.
Client CertificateRequest parsing now reads TLS record types from the record header before advancing the cursor, preserving handshake reassembly and malformed/truncated-input errors while using remaining-slice bounds for length checks. A DER long-form length overflow regression test was added. The 28 focused client_cas tests pass, and the locked workspace/all-features/all-targets LLVM run passes 4,431 main-crate tests (11 ignored) at 88.857210% production-source line coverage (52,982/59,626). CI now gates at 88.84%; the project-wide 100% goal remains open.
Database queue row-count conversions now share a tested checked conversion; the negative-count boundary and both error descriptions are asserted while valid SQL COUNT(*) results remain unchanged. src/api/jobs/database.rs reaches 100% (106/106). The locked workspace/all-features/all-targets LLVM run passes 4,432 main-crate tests (11 ignored) at 88.860938% production-source line coverage (52,986/59,628). CI now gates at 88.85%; the project-wide 100% goal remains open.
Cipher preference classification now exercises its DEBUG event path under an enabled subscriber; the event name remains cipher.preference.classified and the message is unchanged. src/ciphers/tester/preference.rs reaches 100% (103/103). The locked workspace/all-features/all-targets LLVM run passes 4,433 main-crate tests (11 ignored) at 88.864292% production-source line coverage (52,988/59,628). CI now gates at 88.86%; the project-wide 100% goal remains open.
PostgreSQL scan history now rejects an out-of-range score and negative duration through the real row mapper; shared checked conversion also covers invalid scan counts while preserving the database error. src/db/scan_history.rs reaches 100% (308/308). The locked workspace/all-features/all-targets LLVM run passes 4,434 main-crate tests (11 ignored) at 88.871747% production-source line coverage (52,996/59,632). CI now gates at 88.87%; the project-wide 100% goal remains open.
The TLS pre-handshake parser now tests a ServerHello that ends before its compression method and verifies the specific parse error. src/protocols/pre_handshake/parser.rs measures 98.53% (201/204); three remaining uncovered lines belong to the unknown-handshake trace event. The locked workspace/all-features/all-targets LLVM run passes 4,435 main-crate tests (11 ignored) at 88.878455% production-source line coverage (53,000/59,632). CI continues to gate this workspace measurement at 88.87%; the project-wide 100% goal remains open.
Unknown pre-handshake messages now exercise and assert the emitted TRACE event, including its event name, handshake type, reason, and message. src/protocols/pre_handshake/parser.rs reaches 100% (204/204). The locked workspace/all-features/all-targets LLVM run passes 4,435 main-crate tests (11 ignored) at 88.883485% production-source line coverage (53,003/59,632). CI now gates at 88.88%; the project-wide 100% goal remains open.
Pre-handshake response slicing now has a directly tested bounds-error path, and ClientHello write failures retain their I/O cause through a test writer. Both src/protocols/pre_handshake.rs and src/protocols/pre_handshake/parser.rs reach 100% line coverage. The locked workspace/all-features/all-targets LLVM run passes 4,437 main-crate tests (11 ignored) at 88.893360% production-source line coverage (53,016/59,640). CI now gates at 88.89%; the project-wide 100% goal remains open.
Certificate Transparency lookup tests now capture and assert the structured completion and failure events for local HTTP responses. src/certificates/ct.rs reaches 100% line coverage (226/226). The locked workspace/all-features/all-targets LLVM run passes 4,437 main-crate tests (11 ignored) at 88.900067% production-source line coverage (53,020/59,640). CI now gates at 88.90%; the project-wide 100% goal remains open.
Generic webhook connection checks now have loopback tests for successful and non-success HTTP responses. The locked workspace/all-features/all-targets LLVM run passes 4,439 main-crate tests (11 ignored) at 88.905097% production-source line coverage (53,023/59,640); src/monitor/alerts/webhook.rs measures 78.05% (64/82). The 88.90% CI gate remains below the measured result; the project-wide 100% goal remains open.
Generic webhook payload formatting now covers all four alert types, and URL/header validation tests cover malformed URLs, unsupported schemes, port zero, invalid hostnames, and invalid header values. src/monitor/alerts/webhook.rs reaches 100% (82/82). The locked workspace/all-features/all-targets LLVM run passes 4,441 main-crate tests (11 ignored) at 88.935278% production-source line coverage (53,041/59,640). CI now gates at 88.93%; the project-wide 100% goal remains open.
Structured event fields in CVSS severity, vulnerability policy, protocol fallback, and credential audit paths now use named field values while preserving the emitted event data. src/rating/cvss.rs, src/policy/rules/vulnerability.rs, src/protocols/model.rs, and src/api/routes/credentials.rs reach 100% line coverage. The locked workspace/all-features/all-targets LLVM run passes 4,441 main-crate tests (11 ignored) at 88.965089% production-source line coverage (53,057/59,638). CI now gates at 88.96%; src/utils/adaptive.rs remains at 99.38% (159/160), and the project-wide 100% goal remains open.
XMPP STARTTLS readers now use the byte count guaranteed by AsyncReadExt::read directly instead of retaining impossible out-of-range error branches. All 17 focused XMPP tests and the locked workspace/all-features/all-targets run pass; the full run measures 88.973671% production-source line coverage (53,055/59,630). CI now gates at 88.97%; src/starttls/xmpp.rs has one LLVM-reported line remaining, and the project-wide 100% goal remains open.
XMPP stream parsing now also tests a start tag arriving one byte at a time, including iterations before the complete tag matches. The locked workspace/all-features/all-targets run passes 4,442 main-crate tests (11 ignored) at 88.975348% production-source line coverage (53,056/59,630); src/starttls/xmpp.rs measures 94.31% (116/123). CI continues to gate at 88.97%; the project-wide 100% goal remains open.
Advanced HTTP header formatting now exercises both disabled/absent and enabled/present details for HSTS, cookie flags, time skew, banners, and reverse-proxy headers. src/output/scanner_formatter/http_headers/advanced.rs improves to 97.69% line coverage (127/130). The locked workspace/all-features/all-targets run passes 4,442 main-crate tests (11 ignored) at 88.973671% production-source line coverage (53,055/59,630); CI remains at 88.97% and the project-wide 100% goal remains open.
Unknown numeric protocol versions now emit their structured fallback fields through named values while retaining the existing WARN event. crates/cipherrun-protocol/src/model.rs reaches 100% (73/73). The locked workspace/all-features/all-targets run passes 4,442 main-crate tests (11 ignored) at 88.980194% production-source line coverage (53,058/59,629); CI remains at 88.97% to leave measurement headroom, and the project-wide 100% goal remains open.
Worker startup coverage now asserts the structured WARN for local execution and the INFO startup event fields. The locked workspace/all-features/all-targets run passes 4,442 main-crate tests (11 ignored) at 88.986902% production-source line coverage (53,062/59,629); src/commands/worker.rs measures 91.46% (75/82). CI now gates at 88.98%; the worker task-completion path remains uncovered, so the project-wide 100% goal remains open.
IPv6 target validation now tests malformed inputs with numeric and non-numeric tails, asserts warning event fields without echoing untrusted targets, and covers the helper's missing-colon fallback. src/security/input_validation/target.rs reaches 100% (122/122). The locked workspace/all-features/all-targets run passes 4,443 main-crate tests (11 ignored) at 88.998273% production-source line coverage (53,067/59,627); CI remains at 88.98% and the project-wide 100% goal remains open.
CA store initialization failures now log named structured fields before the existing fatal panic, with a test that verifies event metadata and confirms the underlying error text is not logged. src/data/ca_stores.rs reaches 100% (120/120). The locked workspace/all-features/all-targets run passes 4,443 main-crate tests (11 ignored) at 89.010012% production-source line coverage (53,074/59,627); CI remains at 88.98% for headroom, and the project-wide 100% goal remains open.
Policy results now also verify the empty PASS terminal rendering and exception summary. src/policy/mod.rs improves to 98.94% (186/188); only JSON serialization error mapping remains uncovered. The locked workspace/all-features/all-targets run passes 4,443 main-crate tests (11 ignored) at 89.016721% production-source line coverage (53,078/59,627). CI now gates at 89.01%; project-wide 100% remains open.
Cipher tester coverage now exercises both STARTTLS hostname selection paths and invokes test_all_protocols through its trait interface; src/ciphers/tester.rs reaches 100% (83/83). The locked workspace/all-features/all-targets LLVM run passes at 89.026783% production-source line coverage (53,084/59,627). CI now gates at 89.02%; project-wide 100% remains open.
Worker supervision now has isolated completion and shutdown-join handling, with tests for normal task completion and task panics during either path. The locked workspace/all-features/all-targets LLVM run passes 4,456 main-crate tests (11 ignored) at 89.034919% production-source line coverage (53,112/59,653); src/commands/worker.rs reaches 95.37% (103/108), with one remaining LLVM-reported closing-brace line. CI remains gated at 89.02%; the project-wide 100% goal remains open.
Protocol tester coverage now exercises empty targets, connection timeouts, preferred-protocol selection through a local SSLv2 fixture, and both ProtocolTestable delegation methods. src/protocols/tester.rs reaches 100% (142/142). The locked workspace/all-features/all-targets LLVM run passes 4,458 main-crate tests (11 ignored) at 89.048330% production-source line coverage (53,120/59,653); CI now gates at 89.04%, and the project-wide 100% goal remains open.
API configuration tests now capture the generated temporary-key warning, assert its stable structured fields, and verify that the generated key is not logged. The cleanup-failure event also uses named structured fields while preserving its existing output contract. src/api/config.rs measures 97.35% (477/490); the locked workspace/all-features/all-targets LLVM run passes 4,447 main-crate tests (11 ignored) at 89.058388% production-source line coverage (53,126/59,653). CI now gates at 89.05%; the project-wide 100% goal remains open.
Health-check warning fields now use explicit structured values while preserving the existing queue and database failure events. Existing tests assert the degraded outcomes and confirm raw backend error content is omitted; src/api/routes/health.rs reaches 100% (55/55). The locked workspace/all-features/all-targets LLVM run passes 4,447 main-crate tests (11 ignored) at 89.086886% production-source line coverage (53,143/59,653). CI now gates at 89.08%; the project-wide 100% goal remains open.
Heartbleed TLS-record rejection logs now expose stable reason and length fields without serializing received payload bytes. Tests assert all five rejection reasons and confirm a distinctive payload marker is absent; src/vulnerabilities/heartbleed/heartbeat_response.rs reaches 100% (55/55). The locked workspace/all-features/all-targets LLVM run passes 4,447 main-crate tests (11 ignored) at 89.125442% production-source line coverage (53,166/59,653). CI now gates at 89.12%; the project-wide 100% goal remains open.
Prometheus queue collection warnings now use stable named fields and retain their existing redacted JSON shape. The route tests verify each queue failure and metrics omission; src/api/routes/prometheus.rs reaches 100% (94/94). The locked workspace/all-features/all-targets LLVM run passes 4,447 main-crate tests (11 ignored) at 89.143882% production-source line coverage (53,177/59,653). CI now gates at 89.13%; the project-wide 100% goal remains open.
HTTP middleware audit and trace-rejection events now use structured shorthand fields, preserving request ID, route-template, status, duration, and W3C trace-parent behavior. Its eight all-features tests pass, and src/api/middleware/metrics.rs measures 92.77% (77/83). The locked workspace/all-features/all-targets LLVM run passes 4,447 main-crate tests (11 ignored) at 89.150042% production-source line coverage (53,178/59,650). CI now gates at 89.14%; the project-wide 100% goal remains open.
Rate-limit diagnostics now use consistent named fields for allowed, exceeded, cleanup, eviction, admin, stream-ticket, and missing-auth outcomes; existing tests cover those paths and verify scopes and secrets stay out of logs. src/api/middleware/rate_limit.rs measures 95.58% (238/249). The locked workspace/all-features/all-targets LLVM run passes 4,447 main-crate tests (11 ignored) at 89.190277% production-source line coverage (53,202/59,650). CI now gates at 89.18%; the project-wide 100% goal remains open.
Advanced HTTP header rendering now also exercises enabled HSTS without max-age, an empty cookie list, and a detected proxy with no forwarding headers; src/output/scanner_formatter/http_headers/advanced.rs reaches 100% line coverage (130/130). The locked workspace/all-features/all-targets LLVM run passes 4,447 main-crate tests (11 ignored) at 89.195306% production-source line coverage (53,205/59,650). CI now gates at 89.19%; the project-wide 100% goal remains open.
Webhook validation now tests the default resolver with an IP literal without external DNS and exercises reqwest client-builder failure propagation. src/security/webhook.rs measures 99.32% line coverage (147/148). With the CI PostgreSQL fixture configured and Rust tests serialized, the locked workspace/all-features/all-targets LLVM run passes 4,449 main-crate tests (11 ignored) at 89.197888% production-source line coverage (53,211/59,655). The CI floor remains 89.19%; project-wide 100% coverage remains open.
Compliance report compatibility tests now deserialize older reports with the optional disclaimer omitted and verify the configured default. The locked workspace coverage remains 89.197888% (53,211/59,655); LLVM still reports src/compliance/mod.rs at 79/80 lines, so this test adds a regression check without changing the measured line total.
HTTP response request IDs now pass through a small header helper, with a test confirming CR/LF values are omitted; src/api/middleware/metrics.rs measures 94.19% line coverage (81/86). Stream-ticket tests also cover issuance and consumption for principals without a tenant scope. With the CI PostgreSQL fixture configured and Rust tests serialized, the locked workspace/all-features/all-targets LLVM run passes 4,452 main-crate tests (11 ignored) at 89.200107% production-source line coverage (53,215/59,658). CI remains gated at 89.19% pending a Linux measurement for this commit.
Worker lifecycle coverage now runs with local_executor both enabled and disabled, using the required database job backend for external-worker mode, and asserts the local-executor warning is absent there. src/commands/worker.rs improves from 103/108 to 104/108 lines. The aggregate workspace measurement remained 89.200107% (53,215/59,658); full coverage remains open.
Partial-scan vulnerability aggregation now verifies that an error marks the merged result inconclusive, adds diagnostic context once, and preserves existing details. src/vulnerabilities/aggregation.rs reaches 100% (58/58). The locked workspace/all-features/all-targets LLVM run passes 4,454 main-crate tests (11 ignored) at 89.225251% line coverage (53,230/59,658). Linux CI run 47265942844 measured the same 89.225251% and passed the 89.22% coverage floor.
Compliance rule tests now cover fail-closed empty allow/deny lists, the empty-pattern defaults, and whitespace/case normalization. src/compliance/rule.rs improves from 49/66 to 51/66 lines. The locked workspace/all-features/all-targets LLVM run passes 4,456 main-crate tests (11 ignored) at 89.230279% production-source line coverage (53,233/59,658). The 89.22% CI floor is confirmed by Linux run 47265942844; the latest main commit's CI is pending, and the project-wide 100% goal remains open.
Padding-oracle coverage now drives a loopback TLS 1.2 CBC handshake through the documented inconclusive timing-analysis result and checks setup-error classification. src/vulnerabilities/padding_oracle_2016.rs measures 130/136 lines. The locked workspace/all-features/all-targets LLVM run passes 4,457 main-crate tests (11 ignored) at 89.238660% production-source line coverage (53,238/59,658). CI's 89.22% floor is confirmed by Linux run 47265942844; the latest main commit's CI is pending, and the project-wide 100% goal remains open.
Key-exchange group tests now cover both failed SMTP STARTTLS negotiation and TLS probing after successful STARTTLS negotiation; src/protocols/groups.rs improves from 164/181 to 176/181 lines. The locked workspace/all-features/all-targets LLVM run passes 4,459 main-crate tests (11 ignored) at 89.260451% production-source line coverage (53,251/59,658). Linux CI run 47265942844 validated the 89.22% floor on its base commit; the latest main commit's CI is pending, and the project-wide 100% goal remains open.
mTLS tests now cover valid connector construction, malformed and unreadable PEM files, encrypted keys with missing or incorrect passwords, RSA/EC key types, and the structured warning for unsupported PEM items. src/utils/mtls.rs measures 130/133 executable source lines; LLVM does not attribute the three tracing::warn! macro body lines to the test even though the test captures the warning event. The locked workspace/all-features/all-targets run passes 4,464 main-crate tests (11 ignored) at 89.299004% production-source line coverage (53,274/59,658). Linux CI run 47270066678 measured 89.253746% (53,247/59,658) on its base commit; the CI floor has been raised to 89.25%, and validation for the latest main commit is pending. The project-wide 100% goal remains open.
Certificate-phase tests now cover the default TLS hostname, empty OpenSSL PEM output, an OCSP request without a leaf certificate, and a complete local OpenSSL certificate-analysis flow with validation disabled. src/scanner/phases/certificate_phase.rs improves from 61.40% to 73.95% (159/215 lines). The locked workspace/all-features/all-targets LLVM run passes 4,468 main-crate tests (11 ignored) at 89.344262% production-source line coverage (53,301/59,658). The 89.25% CI floor is based on Linux CI run 47270066678; validation of the latest main commit is pending, and the project-wide 100% goal remains open.
Strict revocation tests now cover hard-fail wrapping of parser errors, rejection of unknown status without network access, empty and multi-certificate chains, builder defaults, and result accessors. src/certificates/revocation_strict.rs improves to 87.69% (114/130 lines). The locked workspace/all-features/all-targets LLVM run passes at 89.404606% production-source line coverage (53,337/59,658); the 89.25% CI floor remains, and the project-wide 100% goal remains open.
Compliance terminal-report tests now exercise warning and not-applicable output, every failure severity, and the truncated passed-requirements summary. src/compliance/reporter.rs improves from 87.77% to 97.84% (272/278 lines). The locked workspace/all-features/all-targets LLVM run passes at 89.449864% production-source line coverage (53,364/59,658). The CI floor is now 89.34%, based on Linux run 47274122470 measuring 89.342586% (53,300/59,658); validation of the latest commit is pending, and the project-wide 100% goal remains open.
Cipher phase tests now exercise its Default implementation through the phase interface. src/scanner/phases/cipher_phase.rs improves to 91.76% (78/85 lines). The locked workspace/all-features/all-targets LLVM run passes at 89.456569% production-source line coverage (53,368/59,658); the CI floor remains 89.34% pending a Linux measurement for the latest commit, and the project-wide 100% goal remains open.
Analytics command coverage now seeds two SQLite scan records and runs a successful comparison through both terminal and JSON output paths. The locked workspace/all-features/all-targets LLVM run passes at 89.464950% production-source line coverage (53,373/59,658); the CI floor remains 89.34% pending a Linux measurement for the latest commit, and the project-wide 100% goal remains open.
The analytics fixture now also exercises JSON trends and dashboard generation with existing scan history. src/commands/analytics.rs improves to 98.18% (108/110 lines). The locked workspace/all-features/all-targets LLVM run passes at 89.490094% production-source line coverage (53,388/59,658); the CI floor remains 89.34% pending a Linux measurement for the latest commit, and the project-wide 100% goal remains open.
Scan executor cancellation-race handling is isolated and tested for a scan that completes, fails, or is aborted as cancellation arrives. Successful late results remain persisted and counted; failures and aborts publish their respective terminal progress. src/api/jobs/executor.rs improves to 577/711 lines. The locked workspace/all-features/all-targets LLVM run passes 4,488 main-crate tests at 89.547336% production-source line coverage (53,432/59,669); Clippy and formatting checks pass. The CI floor remains 89.34% pending Linux measurement for this advancement, and the project-wide 100% goal remains open.
Reverse PTR tests now verify that an IPv6 forward lookup rejects an address that differs from the original target using a local DNS fixture. src/utils/reverse_ptr.rs improves to 96/148 lines. The locked workspace/all-features/all-targets LLVM run passes at 89.493446% production-source line coverage (53,390/59,658); the CI floor remains 89.34% pending a Linux measurement for this commit, and the project-wide 100% goal remains open.
Linux CI run 47277632489 measured 89.454892% (53,367/59,658) on commit 1846efdf; the CI coverage floor is raised to 89.45%. The latest main commit's CI is still queued, and project-wide 100% coverage remains open.
An executor-level cancellation-race test now drives a real execute_scan_with_factory run with a controlled queue and scan session. It verifies that a cancellation observed after scan completion preserves the completed job, progress event, and metric. The locked workspace/all-features/all-targets LLVM run passes 4,489 main-crate tests at 89.549012% production-source line coverage (53,433/59,669); src/api/jobs/executor.rs measures 578/711 lines. Formatting and Clippy pass. The 89.45% CI gate awaits Linux validation for this commit; project-wide 100% coverage remains open.
Removed a duplicate empty-resolution check from Target construction because both hostname resolver paths already reject empty results. All 78 network unit tests pass; src/utils/network.rs measures 435/517 lines. The locked workspace/all-features/all-targets LLVM coverage run passes at 89.553164% (53,431/59,664), and formatting and Clippy pass. The 89.45% CI gate remains in place; project-wide 100% coverage remains open.
Retry error-classification tests now cover each documented transient/permanent message pattern and confirm permanent DNS/refusal indicators take precedence over timeout text. The locked workspace/all-features/all-targets LLVM run passes all tests and benchmarks at 89.553164% production-source line coverage (53,431/59,664); the CI gate remains 89.45%, and the 100% project-wide goal remains open.
Stream-ticket signing now separates random-byte acquisition from the non-generic key-result validation, allowing the system-random failure path to be tested deterministically. src/api/ws/tickets.rs reaches 130/130 covered lines. The locked workspace/all-features/all-targets LLVM run passes 4,478 main-crate tests (11 ignored) plus integration tests and benchmarks at 89.557567% production-source line coverage (53,439/59,670); formatting and Clippy pass. The 89.45% CI gate remains, and project-wide 100% coverage remains open.
Analytics now has a direct test for compact JSON serialization when pretty output is disabled. src/commands/analytics.rs improves to 109/110 lines. The locked workspace/all-features/all-targets LLVM run passes 4,478 main-crate tests (11 ignored), integration tests, and benchmarks at 89.559243% production-source line coverage (53,440/59,670); the project-wide 100% goal remains open.
Revocation HTTP host resolution is factored into a system-resolver helper and tested with a numeric address, avoiding external DNS. src/certificates/revocation/http.rs measures 117/118 lines. The locked workspace/all-features/all-targets LLVM run passes 4,478 main-crate tests (11 ignored), integration tests, and benchmarks at 89.559068% production-source line coverage (53,439/59,669); the CI gate remains 89.45%, and the 100% goal remains open.
API server-error log macros now keep each structured event on one executable source line; existing response tests verify the emitted severity, code, classification, request context, and secret redaction. src/api/models/error.rs reaches 110/110 covered lines. The locked workspace/all-features/all-targets LLVM run passes 4,480 main-crate tests (11 ignored), integration tests, and benchmarks at 89.571776% production-source line coverage (53,443/59,665); formatting and Clippy pass. The 89.45% CI gate remains, and project-wide 100% coverage remains open.
Ticketbleed ticket-extraction errors now pass through a non-generic result handler, so the existing error-propagation test exercises the production error path in LLVM coverage. src/vulnerabilities/ticketbleed/client_hello.rs reaches 21/21 covered lines. The locked workspace/all-features/all-targets LLVM run passes 4,480 main-crate tests (11 ignored), integration tests, and benchmarks at 89.582356% production-source line coverage (53,452/59,668); formatting and Clippy pass. The CI gate remains 89.45%, and project-wide 100% coverage remains open.
Analytics config selection is isolated from database opening so the implicit database.toml fallback can be tested without filesystem or database side effects. src/commands/analytics.rs reaches 112/112 covered lines. Two identical locked workspace/all-features/all-targets LLVM runs passed 4,481 main-crate tests (11 ignored), integration tests, and benchmarks at 89.576001% production-source line coverage (53,450/59,670); formatting and Clippy pass. The 89.45% CI gate remains, and project-wide 100% coverage remains open.
The Linux CI coverage report for commit 82521de6 measured 89.572300% (53,446/59,668). The line-coverage gate is raised to 89.56%; the subsequent local run for b5eb9d63 measured 89.576001% (53,450/59,670). Its CI run was canceled when the coverage-gate update was pushed; the latest main run is queued for validation. The project-wide 100% coverage goal remains open.
The unsupported-PEM mTLS test now asserts the structured warning fields and places the event macro on one source line so LLVM attributes it; src/utils/mtls.rs improves from 130/133 to 130/130 lines. The focused test and the locked all-workspace/all-features/all-targets LLVM run pass; the full run passes 4,492 main-crate tests (11 ignored), integration tests, and benchmarks at 89.578829% production-source line coverage (53,449/59,667). Formatting and Clippy pass. The 89.56% CI floor remains pending Linux validation for the latest commit; the 100% goal remains open.
The API request-metrics audit test now provides a peer address and asserts that it is recorded in the audit event, covering the client-IP extraction path without trusting forwarding headers. src/api/middleware/metrics.rs improves from 81/86 to 82/86 lines. The locked all-workspace/all-features/all-targets LLVM run passes 4,481 main-crate tests (11 ignored), integration tests, and benchmarks at 89.580505% (53,450/59,667); formatting and workspace Clippy pass. The 89.56% CI floor remains pending Linux validation for the latest commit; the 100% goal remains open.
Certificate policy tests now cover an unexpired certificate inside its expiry threshold and empty prohibited-signature entries. src/policy/rules/certificate.rs improves from 177/218 to 193/218 lines. The locked all-workspace/all-features/all-targets LLVM run passes 4,483 main-crate tests (11 ignored), integration tests, and benchmarks at 89.608997% (53,467/59,667); formatting and workspace Clippy pass. The CI floor remains 89.56%, and project-wide 100% coverage remains open.
Cipher policy tests now exercise the MEDIUM and LOW strength thresholds and the no-violation path when all ciphers satisfy forward-secrecy and AEAD requirements. src/policy/rules/cipher.rs improves from 183/202 to 189/202 lines. The locked all-workspace/all-features/all-targets LLVM run passes 4,485 main-crate tests (11 ignored), integration tests, and benchmarks at 89.619052% (53,473/59,667); formatting and workspace Clippy pass. The CI floor remains 89.56%, and project-wide 100% coverage remains open.
Retry logging now uses single-line structured events, and the existing retry log test verifies attempt, recovery, skip, and exhaustion events without exposing raw errors. src/utils/retry.rs measures 150/165 lines (90.91%). The locked all-workspace/all-features/all-targets LLVM run passes 4,485 main-crate tests (11 ignored), integration tests, and benchmarks at 89.656618% (53,473/59,642); formatting and workspace Clippy pass. The CI floor remains 89.56%, and project-wide 100% coverage remains open.
Monitor command tests now verify the successful alert message and propagate missing-domain-file and invalid-domain errors without adding a domain. src/commands/monitor.rs improves from 56/79 to 57/79 covered lines. The locked all-workspace/all-features/all-targets LLVM run passes 4,487 main-crate tests (11 ignored), integration tests, and benchmarks at 89.656618% (53,473/59,642); formatting and workspace Clippy pass. The 89.56% CI floor remains pending validation for the latest commit, and the 100% goal remains open.
Monitor setup is extracted into prepare_monitor, which production startup and tests now share; tests cover both configured domain sources and their failure paths without entering the daemon loop. src/commands/monitor.rs measures 68/87 lines. The locked all-workspace/all-features/all-targets LLVM run passes 4,487 main-crate tests (11 ignored), integration tests, and benchmarks at 89.663034% (53,484/59,650); formatting and workspace Clippy pass. The 89.56% CI floor remains, and project-wide 100% coverage remains open.
Global and per-scan WebSocket tests now assert structured events for ping, pong, text, binary, and close frames, including the scan identifier. The corresponding tracing macros keep event fields on one source line so LLVM attributes the executed macro locations. The focused WebSocket suite passes all 11 tests; the locked workspace/all-features/all-targets LLVM run passes 4,487 main-crate tests (11 ignored), integration tests, and benchmarks at 89.72% line coverage (53,484/59,614). The 89.56% CI floor remains; its latest Linux validation is still queued, and project-wide 100% coverage remains open.
DROWN SSLv2 classification tests now verify the structured event name, message type, outcome, and malformed-response reason across the response types already exercised. The response logger's macro locations are attributed by LLVM, and src/vulnerabilities/drown/sslv2.rs reaches 100% line coverage (68/68). The locked workspace/all-features/all-targets LLVM run passes 4,487 main-crate tests (11 ignored), integration tests, and benchmarks at 89.78% line coverage (53,484/59,572); the 89.56% CI floor awaits Linux validation, and project-wide 100% coverage remains open.
STARTTLS injection's test_all path now exercises SMTP, IMAP, and POP3 port selection with a no-network missing-address fixture. Shared probe-result recording removes duplicated outcome/error handling and has direct tests for vulnerable, safe, inconclusive, and error results. src/vulnerabilities/starttls_injection.rs reaches 100% line coverage (87/87). The locked workspace/all-features/all-targets LLVM run passes 4,489 main-crate tests (11 ignored), integration tests, and benchmarks at 89.84% line coverage (53,509/59,560); the 89.56% CI floor remains pending Linux validation, and project-wide 100% coverage remains open.
CAA checking now has deterministic injected command results for the dig-to-host fallback, command failures, and nonzero exits; high-level result handling is tested with both empty and authorized record sets. src/certificates/caa.rs improves from 63.13% to 79.05% line coverage (166/210). The locked workspace/all-features/all-targets LLVM run passes 4,491 main-crate tests (11 ignored), integration tests, and benchmarks at 89.89% line coverage (53,550/59,572); the 89.56% CI floor remains pending Linux validation, and project-wide 100% coverage remains open.
Scan WebSocket tests now verify the structured terminal-stream completion event and the close-handshake timeout event, alongside existing frame and lag assertions. The executed lag and timeout macros are placed on a single source line for LLVM attribution. src/api/ws/progress.rs improves from 62.07% to 66.06% line coverage (144/218). The locked workspace/all-features/all-targets LLVM run passes 4,491 main-crate tests (11 ignored), integration tests, and benchmarks at 89.91% line coverage (53,550/59,558); the 89.56% CI floor awaits Linux validation, and project-wide 100% coverage remains open.
DROWN's record reader now slices the already-bounds-checked buffer directly instead of retaining an unreachable empty-slice fallback. Its integration test now exercises both TimedOut and WouldBlock for an empty read. The full locked workspace run passes 4,491 tests (11 ignored) at 89.91% (53,550/59,558); src/vulnerabilities/drown/read_io.rs remains 42/43 covered lines, so no file-level 100% claim is made. Linux CI run 47323528796 produced a coverage artifact measuring 89.891224% (53,550/59,572) and passed the former 89.56% floor; the Rust CI floor is raised to 89.89%. Project-wide 100% coverage remains open.
Reverse PTR batch lookups now reuse one DNS resolver for the whole input and return an empty result without initializing DNS for an empty batch. A deterministic local DNS test covers both IPv4 and IPv6 records. The locked workspace/all-features/all-targets LLVM run passes 4,492 tests (11 ignored) at 89.91% (53,560/59,571); src/utils/reverse_ptr.rs measures 66.46% (107/161), so its remaining DNS and fallback paths still need coverage. Formatting passes, and project-wide 100% coverage remains open.
Cipher database tests now cover the empty fallback, filtering by forward secrecy/export/NULL, incomplete mapping fields, unknown encryption warnings, and embedded/cache error context. The two production error mappings are extracted into small functions so their diagnostics can be tested without corrupting the embedded dataset. src/data/cipher_mapping.rs now measures 100% (182/182). The locked workspace/all-features/all-targets LLVM run passes 4,496 main-crate tests (11 ignored), integration tests, and benchmarks at 89.97% (53,600/59,577); formatting, Clippy, and workflow linting pass. Project-wide 100% coverage remains open.
Linux PostgreSQL CI run 47332008735 measured 89.911198% production-source line coverage (53,561/59,571), so the enforced CI floor is raised from 89.89% to 89.91%. CI for the latest source commit is pending; the project-wide 100% coverage goal remains open.
Padding-oracle integration coverage now exercises a local TLS 1.2 peer offering only AES-GCM and verifies a conclusive “AES-CBC unsupported” result; the existing CBC peer still verifies the documented inconclusive timing limitation. The locked workspace/all-features/all-targets LLVM run passes 4,497 main-crate tests (11 ignored), integration tests, and benchmarks at 89.970962% production-source line coverage (53,602/59,577). src/vulnerabilities/padding_oracle_2016.rs improves to 132/136 lines (97.06%); its remaining uncovered lines are OpenSSL protocol-version setter failures and a blocking-task join failure.
A revocation URL resolver now rejects an empty hostname with InvalidInput before platform DNS lookup. This is deterministic across operating systems; Windows had treated an empty resolver query as local interface addresses. The regression test asserts the stable error kind without depending on OS resolver behavior.
cargo llvm-cov enables the project's nightly coverage(off) annotations automatically; setting RUSTFLAGS in CI would override required dependency flags, so no extra coverage cfg is needed. An earlier Linux artifact reported 93.75%, which could not be reproduced and remains unexplained. Linux CI run 47374713237 measured 90.013930% (53,633/59,583), matching the exact workspace/all-features/all-targets report format. The CI floor is now 90.00%; the project-wide 100% goal remains open.
A local JARM server test now returns a valid ServerHello for all ten probes and verifies successful fingerprint generation. Additional parser tests cover incomplete/non-handshake responses, empty and truncated extension lists, and malformed markers; the existing fixture now encodes ServerHello fields at protocol-defined offsets. JARM improves to 253/323 (78.33%). Full CI run 47374713237 passes on Linux, Windows, macOS, Rust stable/beta, Python 3.12/3.15, and quality/security gates at 90.013930% global line coverage. The project-wide 100% goal remains open.
Executor lifecycle, queue failure, semaphore closure, job span, and trace-parent diagnostics are formatted as single-line structured events so LLVM attributes the executed macro source lines accurately. The locked full-workspace/all-features/all-targets run passes and measures 90.065157% (53,632/59,548); src/api/jobs/executor.rs improves to 85.50% (578/676). The project-wide 100% coverage goal remains open.
Monitoring lifecycle and inventory events use the same single-line tracing format, and the invalid-configuration test now checks the structured failure event and its safe diagnostic fields. The locked full-workspace/all-features/all-targets run passes 4,512 main-crate unit tests and measures 90.157678% (53,633/59,488); src/monitor/daemon.rs measures 82.20% (351/427). The Rust CI floor is raised to 90.15%, pending Linux validation. Project-wide 100% coverage remains open.
CT streamer lifecycle events use single-line tracing calls for reliable LLVM line attribution; the loopback source-list constructor test also verifies the structured initialization event and source count. The locked full-workspace/all-features/all-targets run passes and measures 90.196936% (53,632/59,461); src/ct_logs/streamer.rs measures 75.87% (261/344). The Rust CI floor is raised to 90.19%, pending Linux validation. Project-wide 100% coverage remains open.
OpenSSL client tests now execute the configured argument branches and local version/cipher commands against a temporary fixture executable, including nonzero command outcomes. The locked full-workspace/all-features/all-targets run passes 4,503 main-crate unit tests (11 ignored) plus integration tests at 90.247389% (53,662/59,461); src/external/openssl_client.rs improves to 83.29% (329/395). The 90.19% Rust CI floor remains pending Linux validation. Project-wide 100% coverage remains open.
API server tests now exercise occupied-port startup failure without a local executor and ensure unexpected middleware errors map to safe internal API errors. The locked full-workspace/all-features/all-targets run passes 4,505 main-crate unit tests (11 ignored) plus integration tests at 90.262525% (53,671/59,461); src/api/server.rs measures 76.47% (260/340). The 90.19% Rust CI floor remains pending Linux validation. Project-wide 100% coverage remains open.
MX lookup events now keep structured tracing fields on their executed source line, and an isolated subprocess fixture covers successful dig, nslookup fallback, empty responses, and missing resolver commands without DNS access. The locked full-workspace/all-features/all-targets run passes 4,506 main-crate unit tests (11 ignored) plus integration tests at 90.367166% (53,679/59,401); src/utils/mx.rs measures 97.61% (449/460). The 90.19% Rust CI floor remains pending Linux validation. Project-wide 100% coverage remains open.
Scan export tests now run the configured JSON, CSV, HTML, XML, SARIF, and JUnit writers together and lock down all structured artifact kind names. The locked full-workspace/all-features/all-targets run passes 4,508 main-crate unit tests (11 ignored), integration tests, and benchmarks at 90.402518% (53,700/59,401); src/commands/scan_exporter.rs measures 82.88% (276/333). The 90.19% Rust CI floor remains pending Linux validation. Project-wide 100% coverage remains open.
SQLite migration tests now cover unreadable migration symlinks, non-UTF-8 migration names on Linux, and failure while recording a migration; migration lifecycle events also keep their fields on the executed source line. The locked full-workspace/all-features/all-targets run passes 4,509 main-crate unit tests (11 ignored), integration tests, and benchmarks at 90.432733% (53,708/59,390); src/db/migrations.rs measures 75.89% (192/253). The Rust CI floor is raised to 90.42%, pending Linux validation. Project-wide 100% coverage remains open.
Scan executor structured events are kept on single source lines for accurate LLVM attribution without changing their fields or behavior. The locked workspace/all-features/all-targets LLVM run passes and measures 90.538080% (53,709/59,322); src/api/jobs/executor.rs improves to 95.07% (578/608). Formatting, Clippy, workflow lint, diff checks, and focused executor tests pass. The Rust CI floor is raised to 90.50%, pending Linux validation; project-wide 100% coverage remains open.
Existing logging lifecycle, panic, shutdown, and monitor events are formatted on single source lines so LLVM attributes their executed structured fields; their names and payloads are unchanged. The full locked workspace/all-features/all-targets coverage run, with the local PostgreSQL test URL and serial test mode used by CI, passes 4,509 main-crate tests (11 ignored), integrations, and benchmarks at 90.585576% (53,710/59,292); src/logging.rs measures 88.78% (348/392). Formatting, Clippy, all 35 logging tests (2 manual load tests ignored), and workflow lint pass. The Rust CI floor is raised to 90.55%; project-wide 100% coverage remains open.
CT client tests now force the HTTP-client fallback, exhaust the 429 retry policy, reject an advertised oversized entries response, and reject oversized chunked STH bodies without downloading unbounded data. The full locked workspace/all-features/all-targets coverage run with the CI-equivalent PostgreSQL test URL and serial mode passes 4,513 main-crate tests (11 ignored), integrations, and benchmarks at 90.662483% (53,742/59,277); src/ct_logs/client.rs improves to 82.77% (197/238). The 90.55% gate passed on Linux in the preceding CI quality job; it is raised to 90.60%. Project-wide 100% coverage remains open.
Revocation HTTP tests now exercise the reqwest builder error propagation path through the same helper used by production. The full locked workspace/all-features/all-targets run with PostgreSQL and serial mode passes 4,514 main-crate tests (11 ignored), integrations, and benchmarks at 90.664642% (53,746/59,280); src/certificates/revocation/http.rs measures 99.21% (126/127). Formatting and its focused tests pass. One resolver line remains uncounted by local LLVM coverage despite the passing resolver test; project-wide 100% remains open.
The Windows CI migration fixture now initializes SQLx's tracking table before installing its rejection trigger, so the record-failure path no longer depends on Unix-only setup steps. The focused migration test passes locally; the full cross-platform CI rerun is pending. Coverage remains below the project-wide 100% goal.
CT client tests now cover truncated response bodies for both entries and STH requests, while the retry loop returns directly from all terminal paths instead of retaining an unreachable fallback. The locked full-workspace/all-features/all-targets coverage run with PostgreSQL and serial mode passes 4,517 main-crate tests (11 ignored), integrations, and benchmarks at 90.689161% (53,756/59,275). The Rust CI coverage floor is raised from 90.60% to 90.68%; project-wide 100% remains open.
A refused-loopback selected-scan test now enables every selectable vulnerability check, verifies the planned result count, and covers the selected orchestration paths without external network access. The locked full-workspace/all-features/all-targets coverage run with PostgreSQL and serial mode passes 4,518 main-crate tests (11 ignored), integrations, and benchmarks at 90.812315% (53,829/59,275); src/vulnerabilities/tester/orchestration.rs improves to 94.59% (594/628). The Rust CI coverage floor is raised from 90.68% to 90.80%; project-wide 100% remains open.
Webhook validation now strips IPv6 URL brackets before parsing literals and resolves IP literals directly, while retaining private-address rejection and DNS pinning for hostnames. Tests cover loopback IPv6 success, private IPv6 rejection, alert-manager defaults, and expiry messages for today and already-expired certificates. The locked full-workspace/all-features/all-targets LLVM run passes 4,522 main-crate tests (11 ignored), integrations, and benchmarks at 90.810182% (53,835/59,283); src/monitor/alerts/mod.rs measures 78.10% (321/411). The 90.80% Rust CI floor remains; project-wide 100% remains open.
The scan webhook signing-secret test now uses a loopback URL, avoiding public DNS dependence while still exercising the secret-configuration response. Alert webhook resolution uses an injectable resolver internally so tests cover public, private, empty, and failed DNS results without network access. The locked full-workspace/all-features/all-targets LLVM run passes 4,526 main-crate tests (11 ignored), integrations, and benchmarks at 90.839952% (53,869/59,301). The Rust CI coverage floor is 90.82%; project-wide 100% remains open.
Reverse PTR tests use an isolated UDP resolver for public IPv4/IPv6 lookup, SNI fallback, empty batches, invalid PTR records, and forward-lookup failures. The validator now reuses the same resolver for reverse and forward queries. The latest locked full-workspace/all-features/all-targets LLVM run passed 4,535 main-crate unit tests (11 ignored), integrations, and benchmark harnesses at 90.97% (53,956/59,311); src/utils/reverse_ptr.rs measures 98.79% (163/165), and src/utils/network.rs measures 87.04% (450/517). A loopback SCSV test verifies that an unanswered probe returns inconclusive after the response timeout; src/protocols/fallback_scsv/network.rs measures 64.65% (139/215). Project-wide 100% remains open.
TLS fallback severity now has direct tests for vulnerable and non-vulnerable results with and without TLS 1.3 support: vulnerable TLS 1.3+ servers are Medium, vulnerable legacy-only servers are High, and non-vulnerable results are Info. POODLE variant conversion has focused tests for all four vulnerability variants, safe and inconclusive outcomes, and filtering of classic SSLv3/TLS base probes. The full-workspace run passes after these changes; src/vulnerabilities/tester/checks.rs measures 86.22% (513/595), and src/vulnerabilities/poodle/mod.rs measures 100% (420/420).
A local HTTP proxy fixture verifies that scoped proxy settings route connect_with_timeout through CONNECT and safely return a proxy rejection without contacting the destination. A generated loopback TLS fixture also verifies successful TLS and cipher-support outcomes without certificate validation affecting the probe. Both tests pass in the latest full-workspace coverage run.
A loopback TLS fixture now exercises the complete TLS_FALLBACK_SCSV probe: the server accepts the baseline ClientHello, then returns the fatal inappropriate-fallback alert to the reconnecting SCSV probe. This verifies the protected outcome without external network access. The Rust CI coverage floor is raised from 90.82% to 90.93%, matching the last verified Linux workspace measurement (90.9328%); the project-wide 100% target remains open.
Session resumption outcome selection is isolated into a deterministic classifier and now tests full support, session-ID-only support, ticket-only support, unknown outcomes, and no support, including successful evidence taking precedence over an inconclusive secondary probe.
After that classifier test, the latest local macOS locked workspace/all-features/all-targets LLVM run passes 4,537 main-crate tests (11 ignored), integrations, and benchmark harnesses at 90.98% line coverage (53,970/59,322). The 90.93% Rust CI floor is based on the last verified Linux run; the current Linux run is pending. Project-wide 100% remains open.
Coverage review found the generic session-expiry validator was inlined into coverage-excluded test harness code, hiding its execution from LLVM attribution. Nightly coverage builds now keep that helper out of line; normal stable builds are unchanged. The expiry overflow guard was removed after proving its i64-bounded inputs cannot overflow u64, and the boundary test now checks the actual expiry edge.
The quick session-resumption probe now delegates its resumed-session interpretation to a deterministic classifier. Tests cover ticket-only, session-ID, unsupported, and inconclusive handshake outcomes without requiring a TLS server to manufacture every OpenSSL session state.
After the quick-probe classifier, the latest local macOS locked workspace/all-features/all-targets LLVM run passes 4,538 main-crate tests (11 ignored), integrations, and benchmark harnesses at 90.99% line coverage (53,981/59,329). The 90.93% Rust CI floor remains based on the last verified Linux measurement; the current Linux run is pending. Project-wide 100% remains open.
The session resumption STARTTLS setup now has a loopback SMTP failure test that verifies negotiation errors are returned with the protocol context rather than silently downgraded or misreported as an ordinary TLS handshake.
After the empty-address preflight test and removal of the unreachable QUIC filter, the latest local macOS locked workspace/all-features/all-targets LLVM run passes 4,540 main-crate tests (11 ignored), integrations, and benchmark harnesses at 91.02% line coverage (54,000/59,326). src/vulnerabilities/tester/checks.rs measures 86.49% (512/592). The Rust CI floor is still 90.93%; its Linux run for the current work is pending. Project-wide 100% remains open.
Cipher-summary collection now relies on Protocol::all()'s TCP/TLS-only contract rather than retaining an unreachable QUIC filter. The vulnerability scanner's TCP preflight also has a direct test for a target with no resolved addresses.
After the STARTTLS failure test, the latest local macOS locked workspace/all-features/all-targets LLVM run passes 4,539 main-crate tests (11 ignored), integrations, and benchmark harnesses at 91.02% line coverage (54,001/59,329). The 90.93% Rust CI floor remains based on the last verified Linux measurement; the current Linux run is pending. Project-wide 100% remains open.
A loopback POODLE fixture now drives the full malformed-record exchange: it reads the ClientHello, sends ServerHelloDone, receives the crafted record, and returns a TLS alert. A second fixture closes after the ClientHello and verifies the probe returns inconclusive before a useful handshake. Nightly coverage builds keep the exercised POODLE probe helpers out of line so LLVM attributes their execution to production code rather than the coverage-excluded test harness. The locked full-workspace/all-features/all-targets LLVM run passes 4,553 main-crate tests (11 ignored), integration tests, and benchmark harnesses at 91.07% line coverage (54,029/59,326); src/vulnerabilities/poodle/network_probes.rs measures 82.56% (142/172). CI's 91.02% floor is grounded in Linux run 47449942614; the latest changes are queued for CI validation. Project-wide 100% remains open.
The API server has loopback lifecycle tests for HTTP and HTTPS: they start the real listeners with a temporary SQLite job backend, serve /health, verify HSTS on HTTPS, and shut down through an injected future. The HTTP test uses the default local executor, exercising its startup and shutdown path; run() still uses the configured OS shutdown signal path. Policy route tests cover directory creation failure, legacy ownership restoration, and stored-policy parse failures. Delegated-credential transcript tests cover malformed extension and certificate-list lengths; an unreachable cursor condition in the parser was removed. The full locked workspace/all-features/all-targets LLVM run passes 4,559 main-crate tests (11 ignored), integration tests, and benchmark harnesses at 91.16% line coverage (54,082/59,329), up from 91.15%. Linux CI run 47453966499 measured 91.0798% (54,034/59,326), so the CI floor is 91.07%; validation on the current HEAD is queued. Project-wide 100% remains open.
A loopback TLS fixture exercises ALPN negotiation with and without a shared protocol, plus conclusive SPDY negotiation failures; src/protocols/alpn.rs measures 82.23% line coverage (236/287) across the full workspace run. Dedicated production-path integration tests call the public SPDY probe against loopback servers that reject and negotiate SPDY. The locked full-workspace/all-features/all-targets LLVM run passes 4,560 main-crate tests (11 ignored), integration tests, and benchmarks at 91.19% line coverage (54,105/59,329). Linux CI run 47462740734 measured 91.196548% (54,106/59,329); the coverage gate is raised from 91.07% to 91.19%. Project-wide 100% remains open.
ChangeTracker::detect_changes now indexes each two-scan window directly instead of retaining an impossible short-window fallback (windows(2) always yields pairs). The 22 focused analytics tests and locked full-workspace/all-features/all-targets LLVM run pass; the latest local result is 91.19% (54,104/59,329). The Linux-verified CI coverage floor remains 91.19%. Project-wide 100% remains open.
The loopback certificate fixture now also exercises test_cipher_selection through a successful TLS 1.2 handshake and verifies the negotiated cipher. The locked full-workspace/all-features/all-targets LLVM run passes 4,549 main-crate tests (11 ignored), integrations, and benchmarks at 91.23% (54,123/59,329) locally. The CI floor remains at 91.19% until Linux validates this commit. Project-wide 100% remains open.
That fixture now also runs all four TLS cipher-order comparisons over loopback and checks the full result set. The locked full-workspace/all-features/all-targets LLVM run passes 4,549 main-crate tests (11 ignored), integrations, and benchmarks at 91.25% (54,138/59,329) locally. The CI floor remains at 91.19% until Linux validates this commit. Project-wide 100% remains open.
A loopback BEAST regression now distinguishes a reachable TCP service that rejects both SSLv3 and TLS 1.0 from an inactive target. The locked full-workspace/all-features/all-targets LLVM run passes 4,550 main-crate tests (11 ignored), integrations, and benchmarks at 91.27% (54,149/59,329); src/vulnerabilities/tester/checks.rs measures 88.18% (522/592). Linux run 47469692489 measured 91.258912%, so the CI floor is raised from 91.19% to 91.25%. Project-wide 100% remains open.
A loopback POODLE SSL case now verifies that an open TCP port with a rejected SSLv3 probe is a conclusive non-vulnerable result. The locked full-workspace/all-features/all-targets LLVM run passes 4,551 main-crate tests (11 ignored), integrations, and benchmarks at 91.29% (54,160/59,329); src/vulnerabilities/tester/checks.rs measures 90.03% (533/592). The Linux-verified CI floor remains 91.25%; validation of this commit is queued. Project-wide 100% remains open.
The generated certificate fixture now carries the RFC 9345 DelegationUsage OID and verifies that certificate-only delegated-credential analysis detects authorization while leaving the credential itself unobserved. Full locked workspace coverage remains 91.29% (54,161/59,329); src/certificates/advanced.rs measures 93.66% (694/741). All 4,551 main-crate tests pass (11 ignored), with integration tests, benchmarks, and Clippy passing. Project-wide 100% remains open.
The empty-batch CT streamer test now captures and verifies the structured warning event, requested index range, and retry outcome. The locked full-workspace/all-features/all-targets LLVM run passes 4,551 main-crate tests (11 ignored), integrations, and benchmarks at 91.29% (54,162/59,329); src/ct_logs/streamer.rs remains 75.87% (261/344). The Linux-verified CI floor remains 91.25%. Project-wide 100% remains open.
Scanner SNI tests now cover explicit custom names, random generation for IP targets, and the no-SNI IP path. The locked full-workspace/all-features/all-targets LLVM run passes 4,554 main-crate tests (11 ignored), integrations, and benchmarks at 91.30% (54,170/59,329); src/scanner/service.rs measures 82.60% (337/408). The Linux-verified CI floor remains 91.25% pending CI results for this commit. Project-wide 100% remains open.
Scanner initialization now also verifies a safe structured warning for a malformed IP override that reaches the initialization boundary, and finalization tests cover rating and preflight metadata. The latest locked full-workspace/all-features/all-targets LLVM run passes 4,556 main-crate tests (11 ignored), integrations, and benchmarks at 91.32% (54,177/59,329); src/scanner/service.rs measures 84.31% (344/408). The Linux-verified CI floor remains 91.25%; CI is pending. Project-wide 100% remains open.
JARM completion now has a mixed-outcome loopback test: one valid ServerHello followed by nine refused probes yields a structured partial event with no target hostname or address. The locked full-workspace/all-features/all-targets LLVM run passes 4,558 main-crate tests (11 ignored), integrations, and benchmarks at 91.32% (54,180/59,329); src/fingerprint/jarm.rs measures 79.26% (256/323). The Linux-verified CI floor remains 91.25%; CI is pending. Project-wide 100% remains open.
Linux CI run 47476315016 measured 91.328% line coverage (54,184/59,329) after the SNI, scanner-finalization, and JARM tests. The Rust coverage gate is raised to 91.30%, leaving a small margin below that Linux result; the complete run is still in progress. Project-wide 100% remains open.
JA3S tests now cover malformed database JSON, empty-database accessors, unknown version/cipher/extension values, Fastly/CloudFront/generic CDN headers, HAProxy/nginx and sticky cookies, and remaining server-type labels. The locked full-workspace/all-features/all-targets LLVM run passes 4,563 main-crate tests (11 ignored), integrations, and benchmark harnesses at 91.37% (54,211/59,329); src/fingerprint/ja3s.rs measures 86.15% (224/260). Clippy passes. The Linux-verified CI floor remains 91.30% pending the next coverage artifact. Project-wide 100% remains open.
Trust-chain tests now also execute the explicit weak-validation mode in an isolated child process, covering known self-signed, intermediate-signature, and trusted-root paths with unavailable DER bytes without leaking environment changes into parallel tests. The locked full-workspace/all-features/all-targets LLVM run passes 4,564 main-crate tests (11 ignored), integrations, and benchmark harnesses at 91.42% (54,239/59,329); src/certificates/validator/trust_chain.rs measures 79.53% (171/215). Clippy passes. The Linux-verified CI floor remains 91.30% pending this commit's CI run. Project-wide 100% remains open.
JA3S extension-name tests now cover every registered extension ID and the unknown-ID fallback. The locked full-workspace/all-features/all-targets LLVM run passes 4,565 main-crate tests (11 ignored), integrations, and benchmark harnesses at 91.45% (54,259/59,329); src/fingerprint/ja3s.rs measures 93.46% (243/260). Clippy and formatting checks pass. The Linux-verified CI floor remains 91.30% pending this commit's CI run. Project-wide 100% remains open.
HTTP security-header tests now exercise the async checker without triggering external preload lookup, unsafe-eval CSP detection, and every severity display value. The locked full-workspace/all-features/all-targets LLVM run passes 4,568 main-crate tests (11 ignored), integrations, and benchmark harnesses at 91.52% (54,295/59,329); src/http/headers.rs measures 95.18% (415/436). Clippy and formatting checks pass. The Linux-verified CI floor remains 91.30% pending this commit's CI run. Project-wide 100% remains open.
Monitor configuration tests now cover save/load round-tripping and write failures, all enabled alert channels, valid multi-recipient email, PagerDuty key validation, webhook header-value rejection, and malformed webhook URLs. The locked full-workspace/all-features/all-targets LLVM run passes 4,573 main-crate tests (11 ignored), integrations, and benchmark harnesses at 91.56% (54,323/59,329); src/monitor/config.rs measures 86.38% (222/257). Clippy and formatting checks pass. The Linux-verified CI floor at that point was 91.30%. Project-wide 100% remains open.
Monitor configuration tests now also cover missing and malformed files, valid and invalid CT discovery suffixes, invalid SMTP hosts, and invalid recipients. The locked full-workspace/all-features/all-targets run passes with 4,587 main-crate tests and workspace integration targets. Its CI-compatible LLVM JSON line metric is 91.55% (54,062/59,051); src/monitor/config.rs measures 91.83% (236/257). Formatting checks pass. Project-wide 100% remains open.
Configuration observability coverage now also checks invalid UTF-8 reads and structured WARN events for malformed configuration and unsafe webhook URLs, including unsupported schemes. The locked workspace/all-features/all-targets LLVM run passes 5,107 tests (63 ignored) at 91.561532% using the CI JSON metric (54,068/59,051); src/monitor/config.rs measures 94.163424% (242/257). CI Linux run 47481456158 measured 91.569047% (54,327/59,329) with the previous gate, so the CI floor is raised to 91.50%; validation of that new floor is pending. The remaining config lines are the structured logging macro's field lines (covered by the integration event assertions but not individually attributed by LLVM) and TOML serialization error formatting, which cannot be induced for the current serializable config schema. Project-wide 100% remains open.
A Linux-only API integration test now drives runtime credential rotation through ApiCredentialStore against /dev/full and /dev/null, checking that write/sync failures preserve the previous secret. It was added after the 91.561532% local full-workspace measurement and requires Linux execution for coverage evidence; the corresponding CI run is pending.
Dashboard analytics integration coverage now also executes the PostgreSQL query paths for vulnerability, protocol, and cipher distributions against an isolated schema. The locked full-workspace/all-features/all-targets LLVM run passes 5,108 tests (63 ignored) at 91.597094% line coverage (54,089/59,051); src/db/analytics/dashboard_generator.rs measures 90.220821% (286/317). The local PostgreSQL integration test passes. Linux CI validation is pending, and project-wide 100% remains open.
That PostgreSQL dashboard fixture now also checks ungraded scans, disabled and unknown protocols, SSLv3 color selection, and all cipher-strength buckets. The refreshed locked full-workspace/all-features/all-targets LLVM run passes 5,108 tests (63 ignored) at 91.607255% (54,095/59,051); src/db/analytics/dashboard_generator.rs measures 92.113565% (292/317). Clippy, formatting, and the focused PostgreSQL test pass. Project-wide 100% remains open.
Dashboard tests now induce and assert the PostgreSQL error handling for all three distribution queries. A CT streaming test also verifies that a panicking entry sink is contained by its Tokio output task and reported as a structured task failure. The refreshed locked full-workspace/all-features/all-targets LLVM run passes 5,109 tests (63 ignored) at 91.619109% (54,102/59,051); src/db/analytics/dashboard_generator.rs measures 94.006309% (298/317), and src/ct_logs/streamer.rs 76.162791% (262/344). Clippy and formatting pass. Linux CI validation is queued; project-wide 100% remains open.
Multi-IP inconsistency tests now cover missing certificates and ciphers, legacy protocol severity, ticket and caching mismatches, equal and differing ALPN lists, equal backend results, and equal/different ratings. The refreshed locked full-workspace/all-features/all-targets LLVM run passes 5,115 tests (63 ignored) at 91.729183% (54,167/59,051); src/scanner/inconsistency.rs measures 99.468085% (374/376). Clippy and formatting pass. Linux CI validation is pending; project-wide 100% remains open.
Cipher orchestration tests now exercise protocol filtering and pool configuration, adaptive concurrency, successful and failed handshakes, pooled/direct connections, retries, and aggregation fallback. The focused module suite passes 38 tests; the refreshed locked workspace/all-features/all-targets LLVM report measures 91.789850% (54,458/59,329), with src/ciphers/tester/orchestration.rs at 80.9375% (259/320). Clippy, formatting, and whitespace checks pass. Linux CI validation is pending; project-wide 100% remains open.
Webhook SSRF coverage now verifies that a loopback literal is rejected when its injected DNS result contains a non-loopback address. All 22 focused webhook tests pass; the last complete workspace measurement remains 91.789850% pending a refreshed full run. Linux CI validation for the previous coverage advancement is pending; project-wide 100% remains open.
The Rust CI coverage floor is now 91.56%, set below the verified Linux result of 91.569047% from run 47481456158; the current main-branch run will validate this gate against the latest changes. The line-coverage artifacts remain archived for 14 days. Project-wide 100% remains open.
HTTP CONNECT proxy tests now exercise the successful test_proxy path against a loopback proxy, including request authority, response status, and header termination. All 33 focused proxy tests pass; the refreshed locked workspace/all-features/all-targets LLVM run measures 91.815133% (54,473/59,329), and src/utils/proxy.rs measures 85.840708% (194/226). The CI floor remains 91.56% pending Linux validation of the latest changes; project-wide 100% remains open.
Change-tracker tests now verify that Critical sorts before High and exercise successful SQLite leaf-certificate decoding, including created_at; the module reaches 100% line coverage (348/348). The refreshed locked workspace/all-features/all-targets LLVM run passes and measures 91.818504% overall (54,475/59,329). The CI floor remains 91.56% pending Linux validation; project-wide 100% remains open.
Compliance status formatting now explicitly covers the Pass display value; src/compliance/mod.rs reaches 100% line coverage (80/80). The refreshed locked workspace/all-features/all-targets LLVM run passes and measures 91.821875% (54,477/59,329). Clippy and formatting checks pass; Linux CI validation is pending. Project-wide 100% remains open.
Compliance report tests now cover all HTML requirement status classes, global Warning status, HTML escaping of violation text, pretty JSON, CSV rows without violations, and Medium terminal severity. The refreshed locked workspace/all-features/all-targets LLVM run measures 91.830302% (54,482/59,329); src/compliance/reporter.rs is 99.640288% (277/278). Its sole remaining reported line is a closing brace after an exercised passed_reqs.len() > 5 branch, which LLVM assigns zero execution count; I have left formatting and coverage instrumentation unchanged. Linux CI validation is pending; project-wide 100% remains open.
Rating-change tests now cover rationale-only changes, unchanged categories, and overall grade changes when scores are unavailable. src/db/analytics/change_tracker/ratings.rs reaches 100% line coverage (111/111). The refreshed locked workspace/all-features/all-targets LLVM run passes at 91.831988% (54,483/59,329); focused tests, Clippy, formatting, and whitespace checks pass. Linux CI validation is pending; project-wide 100% remains open.
Fallback SCSV tests now capture structured events for empty address inventories and protected/vulnerable loopback outcomes, asserting stable event names and outcomes. All 24 focused tests pass. The full-workspace LLVM metric remains 91.831988% (54,483/59,329), and src/protocols/fallback_scsv/network.rs remains 64.651163% (139/215); tracing macro field lines are emitted and asserted but LLVM does not count those expansion lines as covered. Project-wide 100% remains open.
Adaptive timeout coverage now verifies that a success streak is reset when a timeout follows recovery. The focused test, full locked workspace/all-features/all-targets LLVM run (4,605 unit tests plus integration and benchmark targets), Clippy, formatting, and whitespace checks pass. The latest full report measures 91.833673% (54,484/59,329); src/utils/adaptive.rs remains 99.375% (159/160). The updated CI run is pending; project-wide 100% remains open.
Revocation HTTP tests now cover successful IP-literal resolution, deterministic invalid-host resolver errors, and reqwest client-builder errors. Focused tests, Clippy, formatting, and a complete locked workspace/all-features/all-targets LLVM run pass. The latest run measures 91.831988% (54,483/59,329); src/certificates/revocation/http.rs remains 99.212598% (126/127), with the wrapper's client-construction error propagation line still unexecuted. Project-wide 100% remains open.
DROWN SSLv2 reader tests now exercise empty timeout errors and partial reads followed by a connection reset. The focused test, Clippy, formatting, and full locked workspace/all-features/all-targets LLVM run pass; the refreshed report measures 91.833673% (54,484/59,329). The DROWN reader remains 42/43 lines (97.674%), while both timeout guards and the partial-reset path are now exercised. Project-wide 100% remains open.
Retry event tests now capture the retry.error.classified JSON event and verify its stable reason/outcome fields while ensuring raw network error text is not emitted. The focused test, Clippy, formatting, and full locked workspace/all-features/all-targets LLVM run pass at 91.833673% (54,484/59,329); src/utils/retry.rs remains 150/165 lines. LLVM does not count the tracing macro field expansion lines despite the captured event assertions, so the global line percentage is unchanged. Project-wide 100% remains open.
The Rust CI coverage floor is now 91.80%, below Linux run 47495965879's verified 91.840415% (54,488/59,329) and the latest local 91.833673% (54,484/59,329). The new floor will be verified by the next main run; the project-wide 100% objective remains open.
Monitoring webhook URL validation now tests a password-only URL (https://:secret@example.com) so credentials are rejected even when the username is empty. The focused test, Clippy, formatting, and full locked workspace/all-features/all-targets LLVM run pass; the refreshed report measures 91.831988% (54,483/59,329), with src/monitor/config.rs at 242/257 lines. This adds a credential validation branch case; it does not change the line-coverage total. Project-wide 100% remains open.
A public-API alert-delivery integration test now exercises duplicate suppression, verifies delivered/deduplicated/failed event properties, confirms failed delivery can be retried, and checks that diagnostic output omits private details. It covers the previously unexecuted duplicate-return path in src/monitor/alerts/mod.rs; the focused test and full locked workspace/all-features/all-targets LLVM run pass (4,598 unit tests; 11 ignored). The local macOS aggregate is 91.206661% (54,112/59,329); CI Linux validation of this addition is pending, and project-wide 100% remains open.
The alert-delivery integration test now also covers the no-channel path: it asserts a WARN event and successful return without logging alert content. Both integration cases pass, and the focused Clippy check and formatting validation pass. A full workspace measurement for this additional case and Linux CI validation are pending; project-wide 100% remains open.
Policy storage now has a regression test for reading legacy policy files without owner metadata; read_policy_owner correctly returns None for authorization fallback. The focused test and formatting checks pass. The full-workspace coverage and Linux CI runs for this change are pending; project-wide 100% remains open.
The scan WebSocket handler's no-credential/no-ticket fallback now has direct route coverage, separate from middleware rejection and valid ticket consumption. Its focused test passes, and LLVM reports execution at the previously uncovered unauthorized return in src/api/routes/scans.rs; project-wide 100% remains open.
Policy storage tests now cover missing files, invalid UTF-8, and oversized owner metadata reads. Both readers return generic internal errors for filesystem/read failures without exposing the temporary path, and the owner reader rejects oversized files before reading. The focused tests, Clippy, formatting, and whitespace checks pass; full-workspace coverage and Linux CI validation are pending. Project-wide 100% remains open.
Linux coverage run 47509150883 measured 91.843786% (54,490/59,329) on the full Rust workspace, so the CI floor is raised from 91.80% to 91.82%. This leaves margin beneath the verified result; the project-wide 100% target remains open.
Strict revocation status handling is now isolated from network retrieval and directly tested for revoked, error, unknown, good, and not-checked outcomes in hard-fail mode, plus revoked preservation in soft-fail mode. All 13 revocation_strict tests pass under LLVM; full-workspace measurement and CI validation of the current code are pending. Project-wide 100% remains open.
ASN mass-scan construction now has deterministic tests for mixed enumerable and oversized announcements, all-oversized rejection, and the aggregate host-count safety limit. The network lookup remains separate from the local prefix-to-target behavior, so these checks run without RIPEstat access. All 19 focused mass_scan tests pass; full-workspace coverage and CI validation of this change are pending. Project-wide 100% remains open.
DROWN now has a loopback integration test for the full confirmed-vulnerability path, including the second SSLv2 export-cipher probe and the final public result fields. It uses two local connections and requires no external service. In Linux run 47512453075, the file measured 92.06% line coverage (116/126) and the workspace measured 91.98672037% (54,584/59,339); its coverage job passed. Other CI jobs are still in progress, and project-wide 100% remains open.
Linux CI run 47512453075 measured 91.98672037% Rust workspace line coverage (54,584/59,339) and passed its coverage gate. The enforced floor is raised from 91.82% to 91.96%, below that verified result; the project-wide 100% objective remains open.
Protocol auto-detection tests now exercise the public detect result assembly for a STARTTLS banner and an unrecognized response on an HTTP-hinted port, including requires_starttls, the port fallback, and preserved unknown-response fields. All 26 focused module tests pass; a focused LLVM run reports 83.23% (129/155) for the file when only this module's tests run. Full-workspace coverage and CI validation of this change are pending; project-wide 100% remains open.
ROBOT oracle classification now tests the public response-classification path with three distinct responses, verifying selection of the strongest divergence, and the inconclusive result for a single response pattern. All nine focused tests pass; focused LLVM coverage reports 72.04% (67/93) when only this module's tests run. Full-workspace coverage and CI validation of this change are pending; project-wide 100% remains open.
CRL validation tests now use local signed DER fixtures to exercise accepted Good and Revoked outcomes and rejection of an expired CRL through the real loopback HTTP path. The eight focused CRL HTTP tests pass; full-workspace coverage and Linux CI validation are pending. Project-wide 100% remains open.
Fingerprint-phase coverage now executes the successful JA3 path through FingerprintPhase::execute, matches its deterministic hash against a temporary signature database, and asserts that both the signature and requested raw ClientHello are stored without network access. The focused test and all-target/all-feature Clippy pass; full-workspace coverage and Linux CI validation are pending. Project-wide 100% remains open.
TLS_FALLBACK_SCSV aggregation now has a loopback test where the baseline succeeds but the reconnect fails, proving that the per-IP result and aggregate remain inconclusive. The focused test, formatting, and all-target/all-feature Clippy pass; full-workspace coverage and Linux CI validation are pending. Project-wide 100% remains open.
CCS injection now has a loopback regression test for a peer that closes after receiving ClientHello; the scanner classifies the handshake as failed without reporting a vulnerability. The focused test, formatting, and all-target/all-feature Clippy pass; full-workspace coverage and Linux CI validation are pending. Project-wide 100% remains open.
CCS loopback coverage now also verifies both conclusive outcomes: a complete fatal alert is not vulnerable, while acceptance of the premature ChangeCipherSpec is vulnerable. Both focused tests and all-target/all-feature Clippy pass; full-workspace coverage and Linux CI validation are pending. Project-wide 100% remains open.
CCS record parsing now has a loopback test that splits a fatal alert across TCP reads and verifies the scanner reassembles the record before classifying it as not vulnerable. The focused test and all-target/all-feature Clippy pass; full-workspace coverage and Linux CI validation are pending. Project-wide 100% remains open.
Linux CI run 47517093193 measured 92.0996309341% Rust workspace line coverage (54,651/59,339) and passed the 91.96% gate. Coverage rose from 91.98672037%; src/vulnerabilities/ccs.rs is now 137/173 lines (79.19%) and src/certificates/revocation/crl.rs is 123/143 (86.01%). The gate is raised to 92.08%, below the verified Linux result. CI's remaining platform and quality jobs are still in progress; the project-wide 100% objective remains open.
CT log streaming now exercises the public no-sink human-readable output path using a local test server; the focused test confirms one entry is fetched and printed. Project-wide coverage and CI validation of this change are pending; the 100% objective remains open.
Fingerprint-phase coverage now executes successful JA3S and JARM captures against local ServerHello fixtures, including SMTP STARTTLS negotiation. JA3S loads a temporary matching signature, combines it with an HTTP Cloudflare header, and verifies CDN classification; the tests check fingerprint storage and requested raw ServerHello storage. The focused tests pass; full-workspace coverage and CI validation are pending. Project-wide 100% remains open.
Linux CI run 47519132389 measured 92.1030013987% Rust workspace line coverage (54,653/59,339) and passed its coverage job. The enforced floor is raised from 92.08% to 92.09%, below that verified result; validation of the JA3S/JARM additions is pending in the latest main run. Project-wide 100% remains open.
Linux CI run 47520430715 measured 92.1468174388% Rust workspace line coverage (54,679/59,339) with the JA3S and JARM phase tests and passed the 92.09% gate. src/scanner/phases/fingerprint_phase.rs reached 85.4167% (123/144), and src/ct_logs/streamer.rs reached 76.7442% (264/344). The gate is raised to 92.13%, below the verified Linux result; the added JA3S signature-match assertion is pending CI validation. Project-wide 100% remains open.
Linux CI run 47521613210 measured 92.1485026711% Rust workspace line coverage (54,680/59,339) with JA3S signature matching and passed the 92.13% gate. src/scanner/phases/fingerprint_phase.rs measured 85.4167% (123/144), and src/protocols/fallback_scsv/network.rs measured 65.1163% (140/215). The gate is raised to 92.14%, below the verified result; SCSV empty-response and unresolved-JARM tests are awaiting the latest CI run. Project-wide 100% remains open.
Certificate fingerprint tests now cover SHA-256 colon-separated uppercase formatting, invalid DER rejection, and invalid expiry-date handling. The focused tests pass and are included in Linux CI run 47524168443 below. Project-wide 100% remains open.
Linux CI run 47524168443 measured 92.1923187111% Rust workspace line coverage (54,706/59,339) on bae0745e; src/certificates/parser/fingerprints.rs measured 77.2152% (61/79). The CI floor was raised from 92.14% to 92.18%, below the verified measurement; run 47527109848 below validates the new floor. Project-wide 100% remains open.
TLS_FALLBACK_SCSV now has a loopback test for a peer that accepts the baseline but closes without a probe response; the scanner returns an inconclusive result and emits the corresponding event. The focused test passes and the test is included in Linux CI run 47524168443 above. Project-wide 100% remains open.
Fingerprint-phase coverage now also verifies that an explicitly requested JARM probe with no resolved target addresses is reported as a non-fatal phase outcome and does not store a fingerprint. The focused test passes and is included in Linux CI run 47524168443 above. Project-wide 100% remains open.
CRL failure diagnostics now have a JSON-level test for the stable event name, normalized error code, and duration. The focused test, Clippy, and formatting pass; the test is included in Linux CI run 47527109848 below. Project-wide 100% remains open.
TLS_FALLBACK_SCSV now also tests a peer that closes after receiving the baseline ClientHello; the verdict stays inconclusive and the structured baseline event is asserted. The focused test passes and the test is included in Linux CI run 47527109848 below. Project-wide 100% remains open.
Certificate expiry phrase tests now exercise singular and plural year/month/day combinations for future and expired certificates. The focused test passes and the test is included in Linux CI run 47527109848 below. Project-wide 100% remains open.
Linux CI run 47527109848 for 114573ef measured 92.1940039434% Rust workspace line coverage (54,707/59,339) and passed the 92.18% gate. src/certificates/parser/fingerprints.rs reached 78.4810% (62/79); src/certificates/revocation/mod.rs remained 71.3115% (87/122), and src/protocols/fallback_scsv/network.rs remained 65.1163% (140/215). The new tests are covered by this run; project-wide 100% remains open.
Because run 47527109848 verified 92.1940039434%, the Rust CI coverage floor is raised to 92.19%. Validation of the updated gate on current main is pending; project-wide 100% remains open.
Certificate expiry countdown tests now force both "expires today" and "expired today" outcomes using UTC timestamps one hour from the current time. The focused test and formatting pass; full-workspace coverage is pending. Project-wide 100% remains open.
The key-exchange group enumeration test now reserves and releases a loopback ephemeral port before probing, replacing its assumption that port 9 is closed. The focused test passes, and targeted LLVM coverage confirms the connection-failure branch executes; full workspace measurement in CI is pending. Project-wide 100% remains open.
Signature enumeration's unreachable-target test now uses a reserved-and-released loopback port instead of assuming port 9 is closed. Focused validation and full-workspace CI coverage are pending. Project-wide 100% remains open.
CT streamer initialization now has a loopback test proving that a source-list transport failure propagates from SourceManager and prevents startup. The focused test, targeted LLVM run, Clippy, formatting, and diff checks pass; full-workspace CI coverage is pending. Project-wide 100% remains open.
The TLS_FALLBACK_SCSV record reader now has a loopback test for rejecting an oversized advertised record before allocating or reading its body. The focused test passes; full-workspace CI coverage is pending. Project-wide 100% remains open.
The same reader now also has a loopback test for clean EOF before any TLS header bytes arrive. The focused test passes; full-workspace CI coverage is pending. Project-wide 100% remains open.
The SCSV response classifier now relies on its preceding length checks before indexing the alert description, removing two unreachable branches. Existing malformed, truncated, and alert-variant tests cover the remaining cases; full-workspace validation is pending. Project-wide 100% remains open.
Baseline SCSV parsing also verifies a reported read length cannot exceed its supplied bytes; a focused regression assertion covers this inconsistent-read boundary. Full-workspace validation is pending. Project-wide 100% remains open.
OCSP validity now has an end-to-end regression test using a trusted, signed response whose nextUpdate expired in 2020; the expected result is Error, never Good. The fixture contains certificates and a response only, with no private key. Focused and full-workspace validation are pending. Project-wide 100% remains open.
A second signed OCSP fixture verifies a valid unknown certificate status remains Unknown, distinct from a missing certificate status. Focused and full-workspace validation are pending. Project-wide 100% remains open.
Alert-manager configuration now has a local test that initializes every enabled channel without sending alerts or contacting external services; email is included when its feature is enabled. Focused and full-workspace validation are pending. Project-wide 100% remains open.
CT source streaming now has a paused-time loopback test for an in-cycle tree-size request failure. It verifies the warning severity, retry outcome, absence of the local URL in logs, and bounded shutdown. The complete local workspace run passes all tests and measures 92.231978% line coverage (54,724/59,333); src/ct_logs/streamer.rs measures 77.906977% (268/344). Linux CI run 47537052517 on a07866a0 measured 92.233664% (54,725/59,333) and passed the previous 92.19% gate. The Rust CI floor is raised to 92.23%; validation of the new floor is pending. Project-wide 100% remains open.
Multi-address protocol probing now tests the conclusive not_supported outcome with a loopback peer that accepts the connection and closes without a protocol response. This exercises the aggregate outcome mapping without relying on DNS or public services; focused validation is pending. Project-wide 100% remains open.
The focused protocol test passes, and LLVM confirms the not_supported mapping line executes; src/protocols/tester/probing.rs is now 374/436 covered lines (85.779817%). The complete local workspace run passes 4,647 main-crate tests plus enabled workspace targets and measures 92.235350% (54,726/59,333). Project-wide 100% remains open.
That loopback test now checks the same close-without-response outcome for SSLv2, SSLv3, TLS 1.0, and TLS 1.1. The full locked, all-features/all-targets LLVM run passes and measures 92.235350% (54,726/59,333); the expanded protocol cases share already-covered outcome mapping lines, so the total is unchanged. Formatting and diff checks pass. Project-wide 100% remains open.
FallbackScsvTester::test now has a loopback regression test for an unreachable target, asserting an inconclusive, non-vulnerable result and its user-facing detail. The focused test and full locked, all-features/all-targets LLVM suite pass (4,648 library tests discovered, 11 ignored); workspace line coverage remains 92.235350% (54,726/59,333) because the newly asserted lines were already covered by other paths. Formatting and diff checks pass. Project-wide 100% remains open.
The unknown revocation result test now checks its human-readable summary. The focused test passes, and a targeted LLVM report confirms RevocationResult::summary's Unknown arm executes (line 262); the complete workspace coverage for this advancement will be measured by CI. Formatting and diff checks pass. Project-wide 100% remains open.
Client CA enumeration now tests an explicitly empty target IP list and asserts the safe inconclusive result without attempting a connection. The focused test and targeted LLVM report pass, confirming the early-return path executes; full-workspace CI coverage is pending. Formatting and diff checks pass. Project-wide 100% remains open.
The Opossum closed-target test now also exercises the public test() orchestration and asserts its inconclusive, non-vulnerable result. The focused test and targeted LLVM report pass, confirming both probe statuses flow through result construction; the latest full-workspace baseline is 92.235350% (54,726/59,333), and CI will measure this commit. Project-wide 100% remains open.
BEAST handshake-error classification now has table-driven coverage for each recoverable network marker, including platform-specific errno=54, and confirms an unrelated TLS alert remains NotSupported. The focused test and targeted LLVM report pass, covering the classifier's true and false outcomes. Full-workspace CI measurement is pending; project-wide 100% remains open.
The full locked, all-features/all-targets local LLVM run now passes 4,650 library tests (11 ignored) plus all enabled integration and benchmark targets, measuring 92.250518% line coverage (54,735/59,333), nine more covered lines than the prior full run. src/protocols/client_cas.rs measures 77.777778% (112/144), src/vulnerabilities/opossum.rs 76.158941% (115/151), and src/vulnerabilities/beast.rs 75.641026% (118/156). Formatting and diff checks pass. Linux CI measurement for this HEAD is pending; project-wide 100% remains open.
OCSP-to-CRL revocation fallback now tests loopback destinations in both AIA and CRL Distribution Points. The checker rejects both private destinations before network access, records both failed methods, and returns a diagnostic error result. The focused test and targeted LLVM report pass, including OCSP failure, CRL fallback failure, and unresolved-result paths; the latest full workspace baseline is 92.250518% (54,735/59,333). Full-workspace CI measurement for this advancement is pending; project-wide 100% remains open.
Client CA enumeration now also tests a failed XMPP STARTTLS connection to a reserved-and-released loopback port and asserts the inconclusive result without external traffic. The focused test and targeted LLVM report pass through the STARTTLS connect failure branch. Full-workspace CI measurement is pending; project-wide 100% remains open.
The closed-target client CA test now probes both IPv4 and IPv6 loopback addresses with test_all_ips enabled, verifying it continues after the first failed connection and returns inconclusive. The focused test and targeted LLVM report pass for the multi-address path. Full-workspace CI measurement is pending; project-wide 100% remains open.
Fallback SCSV orchestration now tests the error path when multiple supported protocols require a probe but no socket address was resolved. The focused test and targeted LLVM report confirm the missing-address error propagates; the latest full locked, all-features/all-targets local run passed 4,652 library tests (11 ignored) plus enabled integration and benchmark targets at 92.285912% (54,756/59,333). Linux CI measurement for this advancement is pending; project-wide 100% remains open.
The single-scan workflow now has an end-to-end unit test for successful persistence through its configured store factory, verifying the returned stored scan ID. The focused test and targeted LLVM run pass; full-workspace coverage and CI measurement for this addition are pending. Project-wide 100% remains open.
Email alerts now test building a multipart message with multiple recipients. The focused test and targeted LLVM report pass, covering the production message builder and its plain-text and HTML alternatives without making an SMTP network call. Full-workspace coverage and CI measurement for this addition are pending; project-wide 100% remains open.
Client CA parsing now covers three malformed length boundaries: an oversized handshake body, an oversized signature-algorithm list, and a truncated CA-list length. The focused test passes, and LLVM confirms each failure branch; full-workspace coverage and CI measurement are pending. Project-wide 100% remains open.
Database persistence now has a regression test that forces a child-row insert failure and verifies the partially created scan is rolled back. The focused test and targeted LLVM run pass; full-workspace coverage and CI measurement for this advancement are pending. Project-wide 100% remains open.
Database persistence also tests failure of the compensating scan deletion: the original child-insert error is returned, the failed cleanup is logged with safe structured fields, and the partial scan is observable. The focused test and targeted LLVM run pass; full-workspace coverage and CI measurement are pending. Project-wide 100% remains open.
Linux CI run 47550068557 on 805c8946 passed the full workflow and measured 92.358384% Rust workspace line coverage (54,799/59,333), with 6,035/6,444 functions covered. The enforced coverage floor is raised from 92.23% to 92.35%, below the measured result. The full local locked, all-features/all-targets LLVM run also passed 4,657 library tests plus enabled integration and benchmark targets at 92.349957% (54,794/59,333). Project-wide 100% remains open.
Both ScanResultsStore adapters now have a focused SQLite contract test: CipherRunDatabase and DatabasePool persist through the shared interface into the same pool. The focused test and targeted LLVM report pass, confirming both forwarding implementations execute. The full locked, all-features/all-targets local LLVM run passes 4,648 library tests (11 ignored) plus all enabled integration, workspace-crate, and benchmark targets at 92.356699% line coverage (54,798/59,333), four more lines than the prior local full run. CI measurement for this commit is pending; project-wide 100% remains open.
The SCSV network probe now has a loopback test where the peer accepts the baseline, reads the fallback ClientHello, then stalls on the SCSV response. With real time, the probe reaches its 3-second response deadline, returns inconclusive, and emits the structured timeout event; the focused test and LLVM coverage run pass, and LLVM confirms the timeout arm executes. The full locked, all-features/all-targets LLVM run passes 4,649 library tests (11 ignored) plus all enabled integration, workspace-crate, and benchmark targets at 92.356699% line coverage (54,798/59,333), unchanged at the aggregate level. CI measurement for the corrected test commit is pending; project-wide 100% remains open.
PostgreSQL top-domain query tests now inject a numeric hostname value and verify both global and owner-scoped queries return their field-specific decode errors. The test passes against the configured PostgreSQL service, and a targeted LLVM run confirms both mapping paths execute. Full-workspace CI measurement for this addition is pending; project-wide 100% remains open.
Certificate inventory tests now verify both the text and JSON loaders reject files above the 10 MiB limit before changing an existing inventory. The focused test passes, and a targeted LLVM report confirms both guards execute; project-wide 100% remains open.
Both inventory loaders also have a missing-file regression test that verifies read failures leave the existing inventory untouched. The focused test passes, and a targeted LLVM report confirms both metadata-error paths execute; project-wide 100% remains open.
Inventory coverage now also checks bracketed IPv6 keys, legacy raw-key lookup/update/removal, applying default alert thresholds, clearing/default construction, interval overflow and date-range rejection, and malformed JSON without state loss. LLVM ran all 38 inventory tests successfully and reports 92.59% module line coverage (275/297); project-wide 100% remains open.
Inventory I/O tests exercise directory read/write failures and unknown canonical lookups while preserving existing state. Targeted LLVM verification confirms those paths execute; project-wide 100% remains open.
Monitored-domain validation now checks dotted IP literals before generic hostname validation, so the existing targeted rejection returns its actionable diagnostic instead of being shadowed by a generic error. The focused regression test passes, and targeted LLVM confirms the specific rejection branch executes. Project-wide 100% remains open.
The full locked workspace/all-features/all-targets LLVM run passes on 8be9d5a1 and measures 92.469621% Rust line coverage (54,865/59,333), up 67 covered lines from the prior full run. src/monitor/inventory.rs measured 92.59% in its 38-test focused LLVM run. Project-wide 100% remains open; CI for this commit is pending.
The full locked workspace/all-features/all-targets LLVM run passes on 6ddebd5a and measures 92.499958% Rust line coverage (54,883/59,333), 18 more covered lines than 8be9d5a1; 6,043/6,444 functions are covered. Project-wide 100% remains open; CI for this commit is pending.
After the DB configuration coverage tests, the full locked workspace/all-features/all-targets LLVM run passes on 5e5a2fb1 and measures 92.555576% Rust line coverage (54,916/59,333) and 6,052/6,444 functions; project-wide 100% remains open.
SQLite migration startup now has a focused regression for a missing migrations directory through a private path-injected entry point, without changing the production path or process cwd. All 11 migration tests pass; the isolated 39.21% report excludes workspace integration coverage and is not comparable to the global measurement. A new full-workspace measurement is pending.
The full locked workspace/all-features/all-targets LLVM run passes on e982adb2 and measures 92.561008% Rust line coverage (54,922/59,336) and 6,054/6,446 functions. The added migration path regression raises covered lines by six; 100% remains open.
Certificate-phase integration coverage now exercises native TLS certificate extraction through a loopback rustls server and verifies the parsed SAN and stored analysis. All 21 focused phase tests pass; targeted LLVM coverage is 78.14% (168/215 lines), up from the full-run baseline of 73.95% (159/215). The next full workspace measurement is pending.
The full locked workspace/all-features/all-targets LLVM run passes on a5caf415 and measures 92.574491% Rust line coverage (54,930/59,336) and 6,054/6,446 functions; the local TLS certificate-phase test adds eight covered lines globally. Project-wide 100% remains open.
BEAST probe configuration now has a focused STARTTLS builder test covering protocol, hostname, and server-mode preservation. All seven BEAST tests pass; targeted LLVM coverage is 82.69% (129/156), compared with 75.64% (118/156) in the preceding full-workspace report. A new global measurement is pending.
Custom DNS resolver health validation now has a loopback test for both reachable and connection-refused resolver addresses. The focused case passes with no external network dependency; its single-test LLVM percentage is not comparable, so the global effect awaits the next full-workspace run.
The full locked workspace/all-features/all-targets LLVM run passes on f3302d21 and measures 92.619995% Rust line coverage (54,957/59,336) and 6,057/6,446 functions, 27 more covered lines than a5caf415. Project-wide 100% remains open.
Database configuration tests now cover each missing PostgreSQL connection field, SQLite memory/relative/missing paths, stable defaults, missing/malformed/oversized config files, example config creation, and invalid connection limits. All 19 focused tests pass; targeted LLVM coverage for src/db/config.rs is 94.02% (173/184 lines). Project-wide 100% remains open.
OCSP response validation now has a regression test that rejects trailing bytes in both the leaf and issuer DER inputs before trusting a signed status. All 32 OCSP tests pass; LLVM reports 70.97% line coverage (176/248) for src/certificates/revocation/ocsp.rs, unchanged because those checks share lines already exercised by existing tests. Project-wide 100% remains open.
CT leaf parsing now tests too-short leaves, unsupported leaf and entry types, and a short precertificate; the successful X.509 fixture also verifies DNS SAN extraction while ignoring IP SANs. All 16 focused parser tests pass, and targeted LLVM coverage is 86.59% (155/179 lines); project-wide 100% remains open.
The JobQueue default contract now has a backend fixture that verifies unsupported lease renewal returns false, retry handling dead-letters by default, and pruning returns zero. The full locked workspace/all-features/all-targets LLVM run passes with 4,684 main-crate unit tests discovered, plus workspace integration and benchmark targets. Coverage is 92.625051% lines (54,960/59,336) and 6,059/6,446 functions; src/api/jobs/queue.rs is 86.58% (271/313), up from 267/313. Project-wide 100% remains open.
Runtime API configuration persistence now tests that a failed write preserves its filesystem error and path diagnostic on all platforms, including macOS where the existing /dev/full failure test is unavailable. The focused LLVM test and the full locked workspace/all-features/all-targets run pass (4,674 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.630727% (54,968/59,341) and function coverage is 6,061/6,447. Project-wide 100% remains open.
CT statistics now exercise console reporting for empty and populated source snapshots, including both zero and nonzero tree progress. Tests also verify the safe fallback and no-op updates after a mutex is poisoned, elapsed-time reporting, and a positive processing rate after runtime has elapsed. The focused module suite passes (13 tests), and the full locked workspace/all-features/all-targets LLVM run passes (4,677 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.669486% (54,991/59,341) and function coverage is 6,062/6,447. Project-wide 100% remains open.
Policy updates now have a Unix regression test for a filesystem write failure after an existing policy is loaded. It verifies the API returns a generic internal error and preserves the original read-only file. The focused LLVM test and full locked workspace/all-features/all-targets run pass (4,678 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.672857% (54,993/59,341) and function coverage is 6,063/6,447. Project-wide 100% remains open.
DatabaseCommand now tests both the default database.toml path and an explicit database config path through the same selector used by database opening. The focused test and the full locked workspace/all-features/all-targets run pass (4,679 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.674665% (54,995/59,342) and function coverage is 6,065/6,448. Project-wide 100% remains open.
Persistence conversion tests now cover protocol and cipher mapping, every confirmed vulnerability severity, malformed certificate dates, missing fingerprints, and public-key size conversion boundaries. The full locked workspace/all-features/all-targets LLVM run passes (4,683 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.720164% (55,022/59,342), function coverage is 6,068/6,448, and src/application/persistence.rs reaches 100% line coverage (169/169) and 100% function coverage (20/20). Project-wide 100% remains open.
Scan export tests now cover empty export plans, complete Hello capture, append edge cases for empty and unterminated CSV files, explicit overwrites, and paths without filenames. The redundant non-CSV append rejection was removed from the writer because the shared precondition already rejects it. The full locked workspace/all-features/all-targets LLVM run passes (4,688 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.753013% (55,035/59,335), function coverage is 6,070/6,448, and src/commands/scan_exporter.rs measures 88.65% lines (289/326). Project-wide 100% remains open.
API state coverage now verifies empty principal IDs are ignored by scoped metrics and rejects job-retention values outside the supported duration range. The full locked workspace/all-features/all-targets LLVM run passes (4,690 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.768181% (55,044/59,335), function coverage is 6,071/6,448, and src/api/state.rs measures 90.08% lines (572/635). Project-wide 100% remains open.
PostgreSQL startup now uses PostgreSQL-compatible migrations instead of the SQLite AUTOINCREMENT schema, and migration rollback selects the matching backend directory. An isolated real-PostgreSQL test applies and reverts the schema and confirms invalid SQL is reported. The locked workspace/all-features/all-targets LLVM run passes (4,691 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.783957% (55,058/59,340), function coverage is 6,073/6,449, and src/db/migrations.rs measures 81.23% lines (212/261). Project-wide 100% remains open; CI measurement for this advancement is pending.
SQLite database operation tests now exercise error propagation for inserts, conflict inserts, execution, and optional-ID fetches against a missing table. The full locked workspace/all-features/all-targets LLVM run passes (4,692 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.800809% (55,068/59,340), function coverage is 6,076/6,449, and src/db/connection.rs measures 90.47% lines (503/556). Project-wide 100% remains open; CI measurement for this advancement is pending.
JARM now tests STARTTLS connection failure against a closed loopback port and verifies that the probe returns the inconclusive marker. The full locked workspace/all-features/all-targets LLVM run passes (4,693 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.817661% (55,078/59,340), function coverage is 6,076/6,449, and src/fingerprint/jarm.rs measures 82.04% lines (265/323). Project-wide 100% remains open; CI measurement for this advancement is pending.
CAA parser tests now reject invalid UTF-8 and records with missing or malformed fields, and cover host resolver output without CAA records. The query-failure observability test exercises the check_with error boundary and verifies the structured, redacted warning. The full locked workspace/all-features/all-targets LLVM run passes (4,705 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.824402% (55,082/59,340), function coverage is 6,077/6,449, and src/certificates/caa.rs measures 80.95% lines (170/210), up from 79.05% (166/210). Project-wide 100% remains open; CI measurement for this advancement is pending.
CAA analysis now verifies that records without issue or issuewild are reported as ineffective, and dig parsing skips blank lines. The full locked workspace/all-features/all-targets LLVM run passes (4,706 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.832828% (55,087/59,340), function coverage is 6,077/6,449, and src/certificates/caa.rs measures 83.33% lines (175/210), up from 80.95% (170/210). Project-wide 100% remains open; CI measurement for this advancement is pending.
CRL completion event tests now cover all five revocation outcomes and verify their structured outcome, duration, and expected severity. The full locked workspace/all-features/all-targets LLVM run passes (4,706 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.837883% (55,090/59,340), function coverage is 6,077/6,449, and src/certificates/revocation/crl.rs measures 88.11% lines (126/143), up from 86.01% (123/143). Project-wide 100% remains open; CI measurement for this advancement is pending.
TLS cipher probes now cover both a peer's protocol-level rejection and a locally unavailable cipher configuration, keeping remote rejection conclusive while local setup failure remains inconclusive. The full locked workspace/all-features/all-targets LLVM run passes (4,708 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.841254% (55,092/59,340), function coverage is 6,077/6,449, and src/utils/network.rs measures 87.43% lines (452/517), up from 87.04% (450/517). Project-wide 100% remains open; CI measurement for this advancement is pending.
OCSP AIA extraction now rejects certificates with duplicate Authority Information Access extensions instead of selecting an arbitrary responder. The full locked workspace/all-features/all-targets LLVM run passes (4,709 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.846309% (55,095/59,340), function coverage is 6,078/6,449, and src/certificates/revocation/ocsp.rs measures 72.18% lines (179/248), up from 70.97% (176/248). Project-wide 100% remains open; CI measurement for this advancement is pending.
OpenSSL s_client input-validation tests now cover invalid TLS option flags, XMPP hosts, and SNI names, verifying these inputs are rejected before launching the subprocess. The full locked workspace/all-features/all-targets LLVM run passes (4,709 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.859791% (55,103/59,340), function coverage is 6,080/6,449, and src/external/openssl_client.rs measures 85.32% lines (337/395), up from 84.30% (333/395). Project-wide 100% remains open; CI measurement for this advancement is pending.
OpenSSL s_client input-validation coverage now includes rejected TLS option flags, XMPP hosts, and SNI names, verifying these inputs are rejected before launching the subprocess. The full locked workspace/all-features/all-targets LLVM run passes (4,709 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.859791% (55,103/59,340), function coverage is 6,080/6,449, and src/external/openssl_client.rs measures 85.32% lines (337/395), up from 83.29% (329/395). Project-wide 100% remains open; CI measurement for this advancement is pending.
OpenSslClient::default() now has a regression test confirming it selects the openssl executable. The full locked workspace/all-features/all-targets LLVM run passes (4,710 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.864847% (55,106/59,340), function coverage is 6,081/6,449, and src/external/openssl_client.rs measures 86.08% lines (340/395). Project-wide 100% remains open; CI measurement for this advancement is pending.
Monitor expiry tests now verify that an already expired certificate does not emit an alert when every expiry threshold is disabled. The full locked workspace/all-features/all-targets LLVM run passes (4,710 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.871587% (55,110/59,340), and function coverage is 6,081/6,449. Project-wide 100% remains open; CI measurement for this advancement is pending.
CT source URL validation now tests a parseable file:///... URL without a network host and confirms it fails before DNS lookup. The full locked workspace/all-features/all-targets LLVM run passes (4,711 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.874958% (55,112/59,340), function coverage is 6,082/6,449, and src/ct_logs/sources.rs measures 76.77% lines (195/254), up from 75.98% (193/254). Project-wide 100% remains open; CI measurement for this advancement is pending.
CT source manager construction now verifies the public Default implementation yields an empty manager with no healthy sources. The full locked workspace/all-features/all-targets LLVM run passes (4,711 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.880013% (55,115/59,340), function coverage is 6,083/6,449, and src/ct_logs/sources.rs measures 77.95% lines (198/254). Project-wide 100% remains open; CI measurement for this advancement is pending.
Scanner construction now relies on its preceding request validation to guarantee a target, removing a duplicate unreachable error path while preserving the public missing-target error. The focused regression passes, as does the full locked workspace/all-features/all-targets LLVM run (4,711 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.884829% (55,116/59,338), function coverage is 6,083/6,448, and project-wide 100% remains open.
Multi-IP terminal output now has an end-to-end formatting test for every inconsistency detail variant, all recommendation categories, and aggregated ALPN, protocol, certificate, and session-resumption states. The focused test and full locked workspace/all-features/all-targets LLVM run pass (4,712 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); line coverage is 92.906738% (55,129/59,338), function coverage is 6,083/6,448, and src/output/multi_ip_terminal.rs measures 87.05% lines (289/332) with all 19 functions covered. Project-wide 100% remains open.
Output schema validation now covers every supported finding status, evidence type/range failures, and required evidence fields using the versioned 1.1 fixture. The focused schema suite (31 tests) and full locked workspace/all-features/all-targets LLVM run pass (4,715 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/output/schema/validation.rs reaches 100% lines/functions (347/347, 27/27), and global coverage is 92.984260% lines (55,175/59,338) and 94.385856% functions (6,086/6,448). Project-wide 100% remains open.
Multi-IP terminal rendering now exercises successful and failed per-IP scan rows, TLS 1.2/1.3 indicators, and the remaining grade-color categories. The focused renderer suite (12 tests) and full locked workspace/all-features/all-targets LLVM run pass (4,717 main-crate tests discovered, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/output/multi_ip_terminal.rs reaches 87.95% lines (292/332) with all 19 functions covered, and global coverage is 92.989315% lines (55,178/59,338) and 94.385856% functions (6,086/6,448). Project-wide 100% remains open.
The TLS 1.3 early-data replay probe now has a regression test for an unavailable endpoint, verifying it returns an inconclusive verdict rather than a clean result. The focused test and full locked workspace/all-features/all-targets LLVM run pass (4,707 main-crate tests passed, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage is 93.006168% lines (55,188/59,338) and 94.385856% functions (6,086/6,448). src/vulnerabilities/early_data.rs measures 85.43% lines (258/302); project-wide 100% remains open.
HTTP metrics middleware now verifies that a valid W3C traceparent survives a real request with the OpenTelemetry layer and that the raw header is not logged. The policy path helper test also covers both existing and missing files using an isolated temporary directory. Focused tests and the full locked workspace/all-features/all-targets LLVM run pass (4,708 main-crate tests passed, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage is 93.007853% lines (55,189/59,338) and 94.385856% functions (6,086/6,448). src/api/routes/policies.rs measures 90.74% lines (147/162) and 94.74% functions (18/19); project-wide 100% remains open.
Multi-IP TLS 1.3 early-data probing now verifies that an unreachable address keeps the overall verdict inconclusive even when another address rejects 0-RTT. The focused test and full locked workspace/all-features/all-targets LLVM run pass (4,709 main-crate tests passed, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage remains 93.006168% lines (55,188/59,338) and 94.385856% functions (6,086/6,448). Project-wide 100% remains open.
Retry classification now has direct coverage for “network down”, “network unreachable”, “host unreachable”, “no route to host”, and a non-network error. The focused test and full locked workspace/all-features/all-targets LLVM run pass (4,710 main-crate tests passed, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global line coverage remains 93.006168% (55,188/59,338), with project-wide 100% still open.
Compliance terminal reporting now derives the omitted passed-requirement count with saturating arithmetic while preserving the existing “... and N more” output. The renderer test passes, and src/compliance/reporter.rs measures 100% line and function coverage (278/278, 10/10). The full locked workspace/all-features/all-targets LLVM run passes (4,710 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage is 93.007853% lines (55,189/59,338) and 94.386727% functions (6,087/6,449). Project-wide 100% remains open.
CT statistics snapshots now preserve their previous elapsed-time value when no start time exists, and the processing-rate calculation returns zero when elapsed time is zero. Existing elapsed-runtime tests exercise both updated paths, and src/ct_logs/stats.rs measures 100% line and function coverage (138/138, 16/16). The full locked workspace/all-features/all-targets LLVM run passes (4,710 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage is 93.011577% lines (55,194/59,341) and 94.388467% functions (6,089/6,451). Project-wide 100% remains open.
Policy JSON formatting now preserves serialization failures as TlsError::SerializationError instead of reclassifying them as parse errors. The existing JSON formatter test and full locked workspace/all-features/all-targets LLVM run pass (4,710 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/policy/mod.rs measures 100% line and function coverage (186/186, 8/8), while global coverage is 93.014712% lines (55,194/59,339) and 94.403101% functions (6,089/6,450). Project-wide 100% remains open.
Cipher-set and ALPN comparison now use the existing multi-entry invariant directly instead of retaining redundant optional branches. The 15 focused inconsistency tests and full locked workspace/all-features/all-targets LLVM run pass (4,710 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/scanner/inconsistency.rs measures 100% line and function coverage (380/380, 22/22), and global coverage is 93.018553% lines (55,200/59,343) and 94.403101% functions (6,089/6,450). Project-wide 100% remains open.
Strict revocation-chain tests now cover fail-fast behavior and the propagation of malformed-certificate errors in both hard-fail and soft-fail modes. The focused test and full locked workspace/all-features/all-targets LLVM run pass (4,711 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/certificates/revocation_strict.rs measures 100% line and function coverage (103/103, 21/21), while global coverage is 93.025294% lines (55,204/59,343) and 94.403101% functions (6,089/6,450). Project-wide 100% remains open.
Client CertificateRequest parsing now has explicit coverage for truncated signature-algorithm sections. DER length parsing also uses the validated in-bounds range directly, removing a redundant fallible lookup whose error path could not occur after the preceding bounds check. The focused parser test and full locked workspace/all-features/all-targets LLVM run pass (4,711 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/protocols/client_cas/parser.rs measures 100% line, function, and region coverage, and global coverage is 93.035052% lines (55,207/59,340) and 94.417739% functions (6,089/6,449). Project-wide 100% remains open.
Cipher policy evaluation now rejects an unknown minimum-strength threshold instead of silently treating it as no strength requirement; the normal policy parser already validates these values, and the evaluator now also fails closed when called directly. Tests cover invalid thresholds and a valid policy with no violations. The focused tests and full locked workspace/all-features/all-targets LLVM run pass (4,713 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/policy/rules/cipher.rs measures 91.37% lines (127/139), and global coverage is 93.039009% lines (55,214/59,345) and 94.417739% functions (6,089/6,449). Project-wide 100% remains open.
DROWN export-cipher probes now verify that short SSLv2 responses and refused connections produce an inconclusive result. The focused loopback test and full locked workspace/all-features/all-targets LLVM run pass (4,714 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/vulnerabilities/drown.rs measures 88.37% lines (114/129), and global coverage is 93.045749% lines (55,218/59,345) and 94.417739% functions (6,089/6,449). Project-wide 100% remains open.
DROWN now also covers a peer that accepts the SSLv2 probe but sends no response before the read timeout, confirming this path returns Inconclusive. The focused loopback test and full locked workspace/all-features/all-targets LLVM run pass (4,715 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/vulnerabilities/drown.rs measures 89.15% lines (115/129), and global coverage remains 93.045749% lines (55,218/59,345) and 94.417739% functions (6,089/6,449). Project-wide 100% remains open.
JA3S tests now select Fastly, CloudFront, HAProxy, and nginx independently, and cover both sticky and persist session-cookie indicators. The focused classification test and full locked workspace/all-features/all-targets LLVM run pass (4,716 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/fingerprint/ja3s.rs measures 93.66% lines (266/284), and global coverage is 93.054175% lines (55,223/59,345) and 94.417739% functions (6,089/6,449). Project-wide 100% remains open.
JA3S load-balancer classification now verifies that an existing fingerprint match retains precedence when HAProxy headers are also present. The focused test and full locked workspace/all-features/all-targets LLVM run pass (4,716 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/fingerprint/ja3s.rs measures 94.01% lines (267/284), and global coverage is 93.055860% lines (55,224/59,345) and 94.417739% functions (6,089/6,449). Project-wide 100% remains open.
Protocol feature detection now verifies the all-IP path when every address refuses the connection; the result remains unknown after exhausting the address list. The focused loopback test and full locked workspace/all-features/all-targets LLVM run pass (4,717 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/protocols/tester/feature_detection.rs measures 90.95% lines (191/210), and global coverage is 93.057545% lines (55,225/59,345) and 94.417739% functions (6,089/6,449). Project-wide 100% remains open.
DROWN response handling now slices the byte count returned by the bounded SSLv2 reader directly, removing two redundant fallible range lookups while preserving the reader's record-size checks. Existing DROWN loopback tests and the full locked workspace/all-features/all-targets LLVM run pass (4,717 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/vulnerabilities/drown.rs measures 100% line, function, and region coverage (123/123, 17/17, 120/120), while global coverage is 93.066954% lines (55,225/59,339) and 94.447030% functions (6,089/6,447). Project-wide 100% remains open.
JA3S capture now has an integration-style phase test proving a missing optional signature database produces warnings while preserving the fingerprint and omitting an unrequested raw ServerHello. The full locked workspace/all-features/all-targets LLVM run passes (4,718 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/scanner/phases/fingerprint_phase.rs measures 100% line and function coverage (144/144, 19/19), while global coverage is 93.080436% lines (55,233/59,339) and 94.447030% functions (6,089/6,447). Project-wide 100% remains open.
TLS feature-detection tests now exercise the bounded-record rejection path when a record length would exceed the reader's allocation limit. The focused test and full locked workspace/all-features/all-targets LLVM run pass (4,718 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/protocols/tester/feature_detection.rs measures 97.22% lines (210/216), while global coverage is 93.082121% lines (55,234/59,339) and 94.447030% functions (6,089/6,447). Project-wide 100% remains open.
Policy storage now tests the modification-time filesystem-error mapping through a private conversion helper, verifying the API response remains generic and does not expose OS error text. The focused unit test and full locked workspace/all-features/all-targets LLVM run pass (4,719 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/api/routes/policy_storage.rs measures 100% line and function coverage (170/170, 26/26), while global coverage is 93.089212% lines (55,241/59,342) and 94.463400% functions (6,091/6,448). Project-wide 100% remains open.
Runtime API configuration now tests the sync_all() error mapping through a private helper, confirming the filesystem path is retained in the returned error. The focused unit test and full locked workspace/all-features/all-targets LLVM run pass (4,720 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/api/config.rs measures 98.59% lines (491/498), while global coverage is 93.092931% lines (55,246/59,345) and 94.479764% functions (6,093/6,449). Project-wide 100% remains open.
All-IP session-resumption detection now has a regression test for a directly constructed target with an invalid hostname, confirming it skips the unusable address and returns unknown results. The focused unit test and full locked workspace/all-features/all-targets LLVM run pass (4,721 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/protocols/tester/feature_detection.rs measures 97.69% lines (211/216), while global coverage is 93.097986% lines (55,249/59,345) and 94.479764% functions (6,093/6,449). Project-wide 100% remains open.
Database configuration loading now tests the read failure that occurs after filesystem metadata succeeds by passing a directory as the config file. The focused unit test and full locked workspace/all-features/all-targets LLVM run pass (4,721 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/db/config.rs measures 94.57% lines (174/184), while global coverage is 93.099671% lines (55,250/59,345) and 94.495271% functions (6,094/6,449). Project-wide 100% remains open.
Protocol feature detection now has a loopback SMTP test that completes STARTTLS successfully before returning a TLS alert, covering the negotiated path through an inconclusive ServerHello result. The focused unit test and full locked workspace/all-features/all-targets LLVM run pass (4,722 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/protocols/tester/feature_detection.rs measures 98.15% lines (212/216), while global coverage is 93.099671% lines (55,250/59,345) and 94.495271% functions (6,094/6,449). Project-wide 100% remains open.
MX resolver tests now cover the case where neither dig nor nslookup is available, alongside successful dig lookup and fallback behavior. The parser also no longer carries two branches contradicted by its preceding non-empty/marker checks. Focused MX tests and the full locked workspace/all-features/all-targets LLVM run pass (4,722 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/utils/mx.rs measures 98.69% lines (452/458), while global coverage is 93.107864% lines (55,253/59,343) and 94.495271% functions (6,094/6,449). Project-wide 100% remains open.
Webhook HTTP client construction now has a regression test for propagating reqwest::ClientBuilder failures. The focused test and the full locked workspace/all-features/all-targets LLVM run pass (4,725 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/security/webhook.rs measures 99.34% lines (150/151), while global coverage is 93.12% lines (55,264/59,347). Project-wide 100% remains open.
The structured retry.error.classified debug event now uses the same single-line macro form as the other retry events, so LLVM counts the already tested event fields as covered source lines. The focused event test and full locked workspace/all-features/all-targets LLVM run pass (4,725 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/utils/retry.rs measures 93.17% lines (150/161), and global coverage is 93.13% lines (55,262/59,340), with 4,078 uncovered lines remaining. Project-wide 100% remains open.
The tested mass_scan.target.failed event now uses a single-line logging macro invocation so LLVM counts its fields as covered. Its lifecycle test and the full locked workspace/all-features/all-targets LLVM run pass (4,725 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/scanner/mass/progress.rs measures 100% lines (44/44), and global coverage is 93.14% lines (55,262/59,332), with 4,070 uncovered lines remaining. Project-wide 100% remains open.
Example API config serialization now goes through a small helper with a test for serializer failures, covering the generated configuration error mapping. The focused test and full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/api/config.rs measures 99.20% lines (496/500), while global coverage is 93.14% lines (55,266/59,334), with 4,068 uncovered lines remaining. Project-wide 100% remains open.
Already exercised Anycast success, partial-failure, and DNS events now use single-line tracing invocations so LLVM attributes the complete structured events to their executed source lines. All 34 Anycast tests and the full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/utils/anycast/mod.rs measures 85.86% lines (164/191), while global coverage is 93.20% lines (55,266/59,297), with 4,031 uncovered lines remaining. Project-wide 100% remains open.
Already exercised TLS_FALLBACK_SCSV baseline, response, and empty-response events now use single-line tracing invocations so LLVM attributes their structured fields to the executed event. All 55 SCSV tests and the full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/protocols/fallback_scsv/network.rs measures 71.13% lines (138/194), while global coverage is 93.23% lines (55,267/59,282), with 4,015 uncovered lines remaining. Project-wide 100% remains open.
The monitored-configuration failure event now uses a single-line tracing invocation so LLVM attributes its tested structured fields to the executed event. The monitoring observability integration tests and full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/monitor/config.rs measures 96.80% lines (242/250), while global coverage is 93.24% lines (55,267/59,275), with 4,008 uncovered lines remaining. Project-wide 100% remains open.
The tested STARTTLS-only CLI failure event now uses a single-line tracing invocation so LLVM attributes its fields to the executed error event. The operation-specific CLI test and full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/main.rs measures 85.24% lines (231/271), while global coverage is 93.25% lines (55,267/59,269), with 4,002 uncovered lines remaining. Project-wide 100% remains open.
Already exercised ROBOT response-divergence events now use single-line tracing invocations, preserving the existing length-only, weak-oracle, borderline, and noise outcomes while letting LLVM count their structured fields. The ROBOT tests and full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/vulnerabilities/robot/oracle_analysis.rs measures 97.10% lines (67/69), while global coverage is 93.28% lines (55,266/59,245), with 3,979 uncovered lines remaining. Project-wide 100% remains open.
Tested alert delivery success and failure events now use single-line tracing invocations so LLVM attributes their structured fields to the exercised paths. The alert-delivery integration tests and full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/monitor/alerts/mod.rs measures 89.64% lines (372/415), while global coverage is 93.31% lines (55,266/59,231), with 3,965 uncovered lines remaining. Project-wide 100% remains open.
The exercised CT log entry-fetch event now uses a single-line tracing invocation so LLVM attributes its context fields to the executed fetch path. The CT streamer tests and full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/ct_logs/streamer.rs measures 79.53% lines (268/337), while global coverage is 93.32% lines (55,267/59,224), with 3,957 uncovered lines remaining. Project-wide 100% remains open.
Exercised ALPN negotiated and not-negotiated events now use single-line tracing invocations so LLVM attributes their structured fields to those test paths. The ALPN tests and full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/protocols/alpn.rs measures 85.51% lines (236/276), while global coverage is 93.33% lines (55,266/59,213), with 3,947 uncovered lines remaining. Project-wide 100% remains open.
Tested scanner target-initialization and pre-handshake-capture failures now use single-line tracing invocations so LLVM associates their safe diagnostic fields with the exercised paths. Scanner service tests and the full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/scanner/service.rs measures 87.56% lines (345/394), while global coverage is 93.35% lines (55,267/59,201), with 3,934 uncovered lines remaining. Project-wide 100% remains open.
Tested scan-phase failures and protocol-probe outcomes now use single-line tracing invocations so LLVM associates their fields with the exercised paths. The scanner-phase and protocol-probing tests and full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/scanner/phases/mod.rs measures 91.03% lines (132/145), src/protocols/tester/probing.rs measures 89.05% (374/420), and global coverage is 93.39% lines (55,267/59,179), with 3,912 uncovered lines remaining. Project-wide 100% remains open.
Tested OpenSSL version/cipher command failures and subprocess termination failures now use single-line tracing invocations so LLVM associates their diagnostic fields with the exercised paths. The OpenSSL client tests and full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/external/openssl_client.rs measures 90.19% lines (340/377), while global coverage is 93.42% lines (55,266/59,161), with 3,895 uncovered lines remaining. Project-wide 100% remains open.
Tested CAA lookup failures and fail-closed invalid cipher policy patterns now use single-line tracing invocations so LLVM attributes their event fields to the exercised paths. CAA and cipher-policy tests and the full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/certificates/caa.rs measures 85.78% lines (175/204), src/policy/rules/cipher.rs measures 99.49% (196/197), and global coverage is 93.44% lines (55,267/59,145), with 3,878 uncovered lines remaining. Project-wide 100% remains open.
Tested monitor target-validation failures and partial mass-scan completion now use single-line tracing invocations so LLVM associates their fields with exercised error paths. Both focused logging tests and the full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); src/monitor/daemon.rs measures 84.32% lines (355/421), src/commands/mass_scan.rs measures 87.50% (126/144), and global coverage is 93.46% lines (55,266/59,133), with 3,867 uncovered lines remaining. Project-wide 100% remains open.
115 already exercised structured tracing events across 43 modules now keep each event on one source line, allowing LLVM to count their field expressions with the executed event. Formatting checks and the full locked workspace/all-features/all-targets LLVM run pass (4,726 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage is 94.16% lines (55,267/58,692), with 3,425 uncovered lines remaining. Project-wide 100% remains open.
Scan section view tests now exercise empty-result behavior for primary TLS, feature, fingerprint, and export views; src/application/scan_execution/section_views.rs measures 100% (135/135). The full locked workspace/all-features/all-targets LLVM run passes (4,727 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage is 94.20% lines (55,289/58,692), with 3,403 uncovered lines remaining. Project-wide 100% remains open.
Reverse PTR parser tests now cover valid trailing-dot normalization and invalid localhost answers. The full locked workspace/all-features/all-targets LLVM run passes (4,728 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); it measures 94.20% lines (55,288/58,692), with 3,404 uncovered lines remaining. This test expansion did not increase the workspace line percentage, and project-wide 100% remains open.
Cipher policy tests now exercise the allowed-cipher path when a prohibited pattern does not match; src/policy/rules/cipher.rs measures 100% line coverage (197/197). The full locked workspace/all-features/all-targets LLVM run passes (4,729 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage is 94.20% lines (55,289/58,692), with 3,403 uncovered lines remaining. Project-wide 100% remains open.
Database command coverage now includes execution when no optional history operation is configured; src/commands/database.rs measures 100% line coverage (86/86). The full locked workspace/all-features/all-targets LLVM run passes (4,730 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage is 94.21% lines (55,291/58,692), with 3,401 uncovered lines remaining. Project-wide 100% remains open.
ROBOT response analysis now covers the one-byte noise outcome and removes the unreachable zero-length fallback for a pair of distinct response patterns; src/vulnerabilities/robot/oracle_analysis.rs measures 100% line coverage (67/67). The full locked workspace/all-features/all-targets LLVM run passes (4,730 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage is 94.21% lines (55,291/58,690), with 3,399 uncovered lines remaining. Project-wide 100% remains open.
Revocation HTTP validation now has a deterministic test for propagating HTTP client construction failures after public address validation. The full locked workspace/all-features/all-targets LLVM run passes (4,731 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage remains 94.21% lines (55,306/58,705), with 3,399 uncovered lines remaining. Project-wide 100% remains open.
Session-resumption aggregation now tests that probing stops after both session-ID caching and ticket support are observed. The full locked workspace/all-features/all-targets LLVM run passes (4,732 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage measures 94.21% lines (55,325/58,725), with 3,400 uncovered lines remaining. Project-wide 100% remains open.
Protocol feature detection now exercises the no-socket-address error path. Its module measures 99.57% line coverage (232/233). The full locked workspace/all-features/all-targets LLVM run passes (4,733 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage measures 94.21% lines (55,326/58,725), with 3,399 uncovered lines remaining. Project-wide 100% remains open.
WebSocket tests now force send-task panics in both global and scan-specific handlers and verify their structured join-error events. src/api/ws/progress.rs improves from 66.06% (144/218) to 68.81% (150/218). The full locked workspace/all-features/all-targets LLVM run passes (4,734 main-crate tests, 11 ignored, plus enabled integration, workspace-crate, and benchmark targets); global coverage is 94.22% lines (55,332/58,725), with 3,393 uncovered lines remaining. Project-wide 100% remains open.
WebSocket task-join error events now keep structured fields on the executed macro line, so LLVM attributes exercised panic diagnostics consistently. The focused panic test and full locked workspace/all-features/all-targets LLVM run pass; src/api/ws/progress.rs measures 76.00% lines (152/200), and global coverage is 94.25% (55,334/58,707), with 3,373 uncovered lines remaining. Project-wide 100% remains open.
DNS resolver construction now isolates its documented public-server fallback, with a deterministic test proving the fallback resolver builds without system DNS configuration. The focused test and full locked workspace/all-features/all-targets LLVM run pass; src/utils/network.rs improves from 87.43% (454/519) to 89.79% (466/519), and global coverage reaches 94.28% (55,348/58,709), with 3,361 uncovered lines remaining. Project-wide 100% remains open.
DNS cache-miss result handling now has deterministic coverage for successful resolution and caching, empty answers, resolver errors, and SSRF rejection without network access. The focused test and full locked workspace/all-features/all-targets LLVM run pass; src/utils/network.rs measures 91.48% (483/528), and global coverage is 94.29% (55,365/58,718), with 3,353 uncovered lines remaining. Project-wide 100% remains open.
test_connection now also exercises its retry-configured path against a loopback listener. The focused test and full locked workspace/all-features/all-targets LLVM run pass; src/utils/network.rs measures 91.67% (484/528), and global coverage is 94.29% (55,366/58,718), with 3,352 uncovered lines remaining. Project-wide 100% remains open.
Persisted queue recovery now tests expiry deletion, re-queuing and persisting interrupted jobs, preserving recent terminal jobs, and propagation of storage failures. The focused persistence tests and full locked workspace/all-features/all-targets LLVM run pass; src/api/jobs/queue.rs measures 93.79% (272/290), and global coverage is 94.29% (55,367/58,718), with 3,351 uncovered lines remaining. Project-wide 100% remains open.
SQLite connection-string tests now exercise Windows drive-path formatting on every host, and PostgreSQL configuration tests verify empty passwords do not emit the embedded-password warning. The focused database configuration tests (21) and full locked workspace/all-features/all-targets LLVM coverage run pass (4,752 main-crate tests plus workspace, integration, and benchmark targets); global coverage is 94.30% lines (55,373/58,721), with 3,348 uncovered lines remaining. Project-wide 100% remains open.
Preferred compliance-pattern warnings now use a single-line structured tracing event, so the existing redaction test's execution is attributed to the whole event by LLVM. The focused event test, formatting check, and full locked workspace/all-features/all-targets LLVM run pass (4,752 main-crate tests plus workspace, integration, and benchmark targets); src/compliance/rule.rs no longer has uncovered lines, and global coverage is 94.30% (55,372/58,716), with 3,344 uncovered lines remaining. Project-wide 100% remains open.
API proxy tests now verify that an invalid X-Forwarded-For value from a trusted proxy falls back to the verified peer address. The focused middleware tests (3) and full locked workspace/all-features/all-targets LLVM run pass (4,752 main-crate tests plus workspace, integration, and benchmark targets); project-wide line coverage remains 94.30% (55,372/58,716), so this branch-path test did not change the line-coverage total and the 100% goal remains open.
Job ETA calculation now isolates checked arithmetic and tests synthetic elapsed values for multiplication overflow, integer conversion limits, and Chrono duration limits. The focused ETA test, formatting check, and full locked workspace/all-features/all-targets LLVM run pass (4,754 main-crate tests plus workspace, integration, and benchmark targets); src/api/jobs/queue.rs measures 98.94% line coverage (281/284), and global coverage is 94.33% (55,381/58,710), with 3,329 uncovered lines remaining. Project-wide 100% remains open.
Persisted-job recovery now expresses optional storage deletion and re-queue persistence through Option<Result>::transpose, preserving error propagation while LLVM attributes the already-tested success and failure paths without uncovered block-closure lines. Both focused recovery tests and the full locked workspace/all-features/all-targets LLVM run pass (4,754 main-crate tests plus workspace, integration, and benchmark targets); src/api/jobs/queue.rs measures 99.65% line coverage (285/286), and global coverage is 94.33% (55,385/58,712), with 3,327 uncovered lines remaining. Project-wide 100% remains open.
JA3S database loading now shares one JSON parsing path for embedded and file-based signatures, with a regression test for loading the embedded database. The focused JA3S tests (17) and full locked workspace/all-features/all-targets LLVM run pass (4,754 main-crate tests plus workspace, integration, and benchmark targets); src/fingerprint/ja3s.rs measures 97.30% line coverage (252/259), and global coverage is 94.34% (55,388/58,711), with 3,323 uncovered lines remaining. Project-wide 100% remains open.
JA3S cipher-name formatting now has a deterministic test for cipher-database initialization failure, without changing the global cached database. The focused JA3S tests (18) and full locked workspace/all-features/all-targets LLVM run pass (4,756 main-crate tests plus workspace, integration, and benchmark targets); src/fingerprint/ja3s.rs improves to 97.74% line coverage (259/265), while global coverage remains 94.34% (55,394/58,717) with 3,323 uncovered lines. Project-wide 100% remains open.