Skip to content

Improve TypeScript/JS code evaluation security #67

Open
@Dhaiwat10

Description

Is your feature request related to a problem? Please describe.
We are currently using eval to run the code. People strongly recommend against using it, though: Why is using the JavaScript eval function a bad idea?

Describe the solution you'd like
@jsjoeio has linked some great resources and proposed an interesting solution here: #39. quickjs-emscripten is the one that interests us the most.

We can adapt this approach for TS, too because what we are ultimately doing is running JS code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions