Skip to content

ReDoS protection #128

@lockcy

Description

@lockcy

What feature do you want to see added?

We are currently designing a Groovy sandbox that utilizes some of groovy-sandbox's capabilities to assist in restricting user execution of RCE commands. However, when users execute malicious code that may cause ReDoS, the sandbox seems to have no restrictions, such as:

def a='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!'==~/ (.*a){10000}/

We would greatly appreciate it if the groovy-sandbox official could restrict the execution of the code with ReDoS issues mentioned above in the sandbox.

Upstream changes

No response

Are you interested in contributing this feature?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions