Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Security: Avoid running code for static parser #57

@de-code

Description

@de-code

The static parser contains an eval statement. In general it's probably good to use eval as little as possible.
I could see r2t2 being used on untrusted source to find references. Having eval may run arbitrary code (or even if the syntax parsed doesn't allow it, it would be easier to affirm that this is not the case).

Metadata

Metadata

Assignees

No one assigned

    Labels

    securityFeatures or requests related to security issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions