Skip to content

feat: add tls transport security checks - #393

Open
emmanuelgautier wants to merge 1 commit into
mainfrom
feat/tls-transport-checks
Open

emmanuelgautier wants to merge 1 commit into
mainfrom
feat/tls-transport-checks

Conversation

@emmanuelgautier

Copy link
Copy Markdown
Member

Closes #314

  • New scan/tls/ adapter over the proxyaudit TLS checks: tls.fetch runs them once per distinct host:port of the operations, then one check per item maps the proxyaudit observation codes to a vulnapi finding: tls.http_accepted, tls.certificate_untrusted, tls.certificate_expired, tls.certificate_hostname_mismatch, tls.protocol_deprecated, tls.cipher_weak, tls.forward_secrecy_missing.
  • One finding per host. The reporter now accepts several findings from one check result.
  • Plain-HTTP targets and unreachable ports skip with the proxyaudit reason, not an error. With -k, the scan continues and the certificate problem is reported (Error #266 keeps the error message work).
  • Table tests against httptest TLS servers (self-signed, expired, wrong host, TLS 1.0 allowed, one finding for several operations, skip reasons); EN/FR docs and scan IDs.
  • Heartbleed / DROWN / ROBOT are covered by the legacy protocol/suite findings, as documented. No benchmark manifest yet ([Quality] Public detection benchmark #360 open).

Depends on cerberauth/proxyaudit#38: go.mod points at its commit, to bump to the release once merged.

@codecov

codecov Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 21.69811% with 83 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.87%. Comparing base (83c9d24) to head (0cba3da).

Files with missing lines Patch % Lines
scan/tls/fetch/fetch.go 0.00% 83 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #393      +/-   ##
==========================================
- Coverage   72.87%   70.87%   -2.00%     
==========================================
  Files          97       98       +1     
  Lines        2798     2891      +93     
==========================================
+ Hits         2039     2049      +10     
- Misses        759      842      +83     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TLS] Transport security

1 participant