Skip to content

Add libinjection v4 migration audit (2026-04-03)#43

Open
Easton97-Jens wants to merge 43 commits intov3/master-libinjection-v4.0-finalfrom
codex/conduct-security-audit-for-libinjection-migration
Open

Add libinjection v4 migration audit (2026-04-03)#43
Easton97-Jens wants to merge 43 commits intov3/master-libinjection-v4.0-finalfrom
codex/conduct-security-audit-for-libinjection-migration

Conversation

@Easton97-Jens
Copy link
Copy Markdown
Owner

Motivation

  • Provide a concise, evidence-based audit of the repo's migration to libinjection v4 with focus on tri-state (TRUE/FALSE/ERROR) handling and end-to-end semantic preservation.
  • Surface security-relevant findings, architectural gaps, and actionable recommendations for achieving a fully migrated tri-state path.

Description

  • Add a new audit document at doc/libinjection-v4-migration-audit-2026-04-03.md that contains the executive summary, call-chain analysis, findings, recommendations, and a final verdict of PARTIALLY MIGRATED.
  • Document observed call chains and locations including DetectSQLi::evaluate, DetectXSS::evaluate, the isMaliciousLibinjectionResult mapping, and the boolean-only propagation in Operator::evaluateInternal and RuleWithOperator.
  • Record concrete findings and recommended fixes ranging from adding default cases and structured error markers to a roadmap for changing operator interfaces to carry tri-state results.

Testing

  • No automated tests were executed as part of this documentation-only change.
  • The audit notes that existing unit tests in the repository cover forced LIBINJECTION_RESULT_ERROR override paths for detectSQLi and detectXSS, but those tests were observed and not run by this PR.

Codex Task

Easton97-Jens and others added 30 commits March 29, 2026 11:59
Updated CI workflow to dynamically detect and install the latest Lua development package instead of using a fixed version.
Removed python3 from the installation steps in the CI workflow.
Removed python3 from the installation list in CI workflow.
…for-modsecurity-operators

Add regression coverage for detectSQLi/detectXSS capture semantics
…for-libinjection-result_error

Add libinjection adapter for test overrides and improve libinjection error handling
…r_update_workflows

ci: update workflows (checkout v6, recursive submodules), prep for mbedTLS v4, Windows fixes
…transaction-usage

Use ModSecurityTestContext to create per-thread transactions in multithreaded tests
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@Easton97-Jens Easton97-Jens force-pushed the v3/master-libinjection-v4.0-final branch 5 times, most recently from 1336be4 to 52d9e75 Compare April 6, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants