Skip to content

Babel #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jstettner opened this issue Aug 21, 2017 · 1 comment
Open

Babel #56

jstettner opened this issue Aug 21, 2017 · 1 comment

Comments

@jstettner
Copy link

jstettner commented Aug 21, 2017

Would it be safe to use babel to transform untrusted code before using the sandbox, or is would that open up opportunity for an attack?

@lbfalvy
Copy link

lbfalvy commented Nov 15, 2021

I can't see why not, Babel doesn't execute code and its plugins interact with it in a clean AST form. The probability of abuse is negligible.

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

No branches or pull requests

2 participants