Skip to content

Run the ReDoS scaling sweep over the refraction tools' regexes in CI #3214

Closed

Description

@squid-protocol

Part of #3122. Tooling item 5 from the #3120 retrospective.

The engine's rules get the ReDoS scaling sweep and the strict suites. The refraction tools' regexes (gitgalaxy/tools/cobol_to_cobol/*, gitgalaxy/tools/cobol_to_java/*) get neither, and #3205's unbounded EXEC\s+CICS.*?END-EXEC\. over a whole-file string is the result.

Proposal

Point the existing scaling sweep (tests/extraction/tools/sweep_redos_scaling.py) at every compiled pattern in the two tool suites, fed pathological inputs of increasing size. Add it to CI next to the other audits, with a baseline so existing offenders are listed and new ones fail.

Activity

  1. added
    enhancement
    legacy-modernization
    security
    on Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementlegacy-modernizationsecurity

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions