Skip to content

refactor: create 942250 .ra file#4512

Merged
fzipi merged 1 commit into
mainfrom
regex-assembly/942250
Mar 3, 2026
Merged

refactor: create 942250 .ra file#4512
fzipi merged 1 commit into
mainfrom
regex-assembly/942250

Conversation

@fzipi
Copy link
Copy Markdown
Member

@fzipi fzipi commented Mar 2, 2026

what

  • create regex-assembly file for rule 942250 (MATCH AGAINST, MERGE, EXECUTE IMMEDIATE SQL injections)
  • add "generated from" comment block to the rule
  • toolchain factored out common m prefix from merge/match and their shared \s*?\( suffix

why

  • improve maintainability by using regex-assembly format
  • the three SQL injection patterns are clearly documented per attack type in .ra format

refs

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 2, 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
Member

@Xhoenix Xhoenix left a comment

Choose a reason for hiding this comment

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

LGTM

@fzipi fzipi added this pull request to the merge queue Mar 3, 2026
Merged via the queue into main with commit 1a329be Mar 3, 2026
8 checks passed
@fzipi fzipi deleted the regex-assembly/942250 branch March 3, 2026 13:04
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.

2 participants