Skip to content

fix: code scanning alert 6 in Burp item extraction#93

Draft
jbeckwith-oai wants to merge 1 commit intomainfrom
codex/fix-codeql-alert-6-burp-items
Draft

fix: code scanning alert 6 in Burp item extraction#93
jbeckwith-oai wants to merge 1 commit intomainfrom
codex/fix-codeql-alert-6-burp-items

Conversation

@jbeckwith-oai
Copy link
Copy Markdown
Contributor

@jbeckwith-oai jbeckwith-oai commented Apr 13, 2026

Summary

  • replace the whole-document item regex with an index-based item scanner
  • add a regression test with repeated item-like noise plus multiple real items

Root Cause

CodeQL flagged the Burp item extraction regex as polynomial-time on crafted XML input because it scanned the entire export with a backtracking pattern.

Validation

  • npm test -- src/parsers/burp-items.test.ts
  • npm run build

@jbeckwith-oai jbeckwith-oai changed the title [codex] Fix code scanning alert 6 in Burp item extraction fix: code scanning alert 6 in Burp item extraction Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant