Skip to content

chore(943110): move to regex-assembly#4431

Merged
fzipi merged 16 commits into
mainfrom
chore/move-regex-assembly-943110
Feb 9, 2026
Merged

chore(943110): move to regex-assembly#4431
fzipi merged 16 commits into
mainfrom
chore/move-regex-assembly-943110

Conversation

@fzipi
Copy link
Copy Markdown
Member

@fzipi fzipi commented Jan 27, 2026

what

  • move to regex-assembly format
  • add more frameworks
  • add extensive tests

why

  • improve documentation
  • enhance regexp

Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 27, 2026

📊 Quantitative test results for language: eng, year: 2023, size: 10K, paranoia level: 1:
🚀 Quantitative testing did not detect new false positives

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread regex-assembly/943110.ra Outdated
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
@fzipi fzipi force-pushed the chore/move-regex-assembly-943110 branch from 6ee2d33 to de2c92b Compare January 28, 2026 01:39
Comment thread regex-assembly/943110.ra Outdated
Comment thread regex-assembly/943110.ra Outdated
Comment thread regex-assembly/943110.ra Outdated
Comment thread regex-assembly/943110.ra
Comment thread regex-assembly/943110.ra Outdated
Comment thread regex-assembly/943110.ra Outdated
Comment thread regex-assembly/943110.ra Outdated
Comment thread regex-assembly/943110.ra Outdated
Comment thread regex-assembly/943110.ra Outdated
Comment thread regex-assembly/943110.ra
fzipi and others added 5 commits February 1, 2026 11:27
Comment thread regex-assembly/943110.ra Outdated
@fzipi fzipi requested a review from theseion February 1, 2026 14:41
Copy link
Copy Markdown
Contributor

@theseion theseion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some stuff still open.

Comment thread regex-assembly/943110.ra
@fzipi fzipi added this pull request to the merge queue Feb 9, 2026
Merged via the queue into main with commit 0fb85ce Feb 9, 2026
7 of 8 checks passed
@fzipi fzipi deleted the chore/move-regex-assembly-943110 branch February 9, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants