chore(943110): move to regex-assembly#4431
Conversation
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
|
📊 Quantitative test results for language: |
There was a problem hiding this comment.
Pull request overview
This pull request modernizes rule 943110 (Session Fixation Attack detection) by migrating it to the regex-assembly format and significantly expanding its coverage. The PR introduces a new regex-assembly file (943110.ra) with comprehensive documentation, updates the rule's regex pattern to detect session fixation attempts across many more frameworks, and adds 37 new test cases.
Changes:
- Added regex-assembly file (943110.ra) with 36+ session parameter patterns across multiple frameworks
- Updated rule 943110 regex to detect session parameters from ASP.NET, Laravel, Express.js, Flask, Django, Spring, NextAuth, Meteor, Ruby/Rails, Symfony, CakePHP, CodeIgniter, Zend, Yii, and many others
- Added 37 comprehensive test cases covering positive and negative scenarios for all major frameworks
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| regex-assembly/943110.ra | New regex-assembly file defining 36+ session parameter patterns with comprehensive documentation organized by framework/platform |
| rules/REQUEST-943-APPLICATION-ATTACK-SESSION-FIXATION.conf | Updated rule 943110 regex pattern from simple alternation to optimized regex-assembly generated pattern |
| tests/regression/tests/REQUEST-943-APPLICATION-ATTACK-SESSION-FIXATION/943110.yaml | Added 37 new test cases (tests 5-45) covering new frameworks, edge cases, and negative scenarios |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
6ee2d33 to
de2c92b
Compare
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
for more information, see https://pre-commit.ci
Removed Flask session ID documentation from the file.
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
what
why