safeify
safeify copied to clipboard
📦 Safe sandbox that can be used to execute untrusted code.
demo在linux环境 运行卡死
Bumps [thenify](https://github.com/thenables/thenify) from 3.3.0 to 3.3.1. Changelog Sourced from thenify's changelog. 3.3.1 / 2020-06-18 fixes [0d94a24] - fix: remove eval (#30) (Yiyu He ) Commits 1d054b4 Release 3.3.1 0d94a24 fix:...
问题: 高级mock脚本无法运行 原因: 经过测试发现safeify的代码执行后,不会修改sandbox中的对应的属性 求fix
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.10. Commits 8cd4c6c 1.5.10 ce7a01f [fix] Improve handling of empty port 0071490 [doc] Update JSDoc comment a7044e3 [minor] Use more descriptive variable name d547792 [security]...
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.3 to 3.9.6. Release notes Sourced from vm2's releases. 3.9.6 Fixes 532120d5cdec7da8225fc6242e154ebabc63fe4d: Internal restructuring and security improvements 3.9.5 New Features d9af94ca3a701b9ba6283264fafeef4827786702: Added editor config Fixes 4f0db94bfa250089d903083fcd6c6cf6cd11b8a9: Fix...
Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1. Release notes Sourced from pathval's releases. v1.1.1 Fixes a security issue around prototype pollution. Commits db6c3e3 chore: v1.1.1 7859e0e Merge pull request #60 from...
``` const assert = require('assert') const {default: Safeify} = require("safeify"); async function sandboxFn(context, script) { // 创建 safeify 实例 const safeVm = new Safeify({ timeout: 3000, asyncTimeout: 60000 }) //...
具有package.json;需要按照依赖包的项目
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
应否用受限/guest账户启动worker进程池 docker?