HarlonWang / HarlonWang/quickjs-wrapper

能否添加禁用 `eval`、`Function` 这类动态执行代码的选项

Open
#87 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
274
Forks
47
PR merge metrics
No merged PRs in 30d

Description

你好,请问能否添加禁用 `eval`、`Function` 这类动态执行代码的选项,类似 Node.js `vm.createContext` 选项中的 `codeGeneration.strings`:

https://nodejs.org/docs/v22.11.0/api/vm.html#vmcreatecontextcontextobject-options

![image](https://github.com/user-attachments/assets/68d40493-c085-4b10-8f42-3efa51c16531)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.