Skip to content

feat(modules): add crlf and ssi injection detection modules#347

Open
TBX3D wants to merge 1 commit into
vmfunc:mainfrom
TBX3D:feat/http-crlf-ssi
Open

feat(modules): add crlf and ssi injection detection modules#347
TBX3D wants to merge 1 commit into
vmfunc:mainfrom
TBX3D:feat/http-crlf-ssi

Conversation

@TBX3D

@TBX3D TBX3D commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

adds detection modules for crlf (header/response splitting) and ssi injection. both matchers are line-anchored and scoped to avoid the obvious false positives: the crlf regex requires the payload marker at the start of a header/body line rather than a bare substring match, and the ssi matcher excludes numeric-entity and raw-percent-encoded reflections that a naive regex would otherwise flag. test coverage includes adversarial handlers that reflect the payload in decoded and encoded forms without actually being vulnerable.

@TBX3D TBX3D requested a review from vmfunc as a code owner July 9, 2026 22:12
@github-actions github-actions Bot added size/l <500 lines changed modules changes to scan modules tests test changes labels Jul 9, 2026
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@7ea1cd2). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #347   +/-   ##
=======================================
  Coverage        ?   54.72%           
=======================================
  Files           ?       81           
  Lines           ?     6874           
  Branches        ?        0           
=======================================
  Hits            ?     3762           
  Misses          ?     2843           
  Partials        ?      269           

☔ 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.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

pr summary

3 files changed (+281 -0)

category files
go source 1
tests 1

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

Labels

modules changes to scan modules size/l <500 lines changed tests test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants