Houfeng / Safeify
Licence: apache-2.0
📦 Safe sandbox that can be used to execute untrusted code.
Stars: ✭ 338
Programming Languages
typescript
32286 projects
Labels
Projects that are alternatives of or similar to Safeify
qubes-app-split-browser
Tor Browser (or Firefox) in a Qubes DisposableVM, with persistent bookmarks and login credentials
Stars: ✭ 33 (-90.24%)
Mutual labels: sandbox
node-safe
🤠 Make using Node.js safe again with Deno-like permissions
Stars: ✭ 151 (-55.33%)
Mutual labels: sandbox
private-networks-deployment-scripts
This repository contains out-of-the-box deployment scripts for private PoA networks
Stars: ✭ 33 (-90.24%)
Mutual labels: sandbox
reactsandbox
Create a React Component Sandboxes based on compositions
Stars: ✭ 11 (-96.75%)
Mutual labels: sandbox
box-exec
Box execute is a npm package to compile/run codes (c,cpp,python) in a virtualized environment, Here virtualized environment used is a docker container. This packages is built to ease the task of running a code against test cases as done by websites used to practice algorithmic coding.
Stars: ✭ 17 (-94.97%)
Mutual labels: sandbox
Eval5
A JavaScript interpreter written in TypeScript - Support ES5
Stars: ✭ 281 (-16.86%)
Mutual labels: sandbox
SandVXposed
Xposed environment without root (OS 5.0 - 12.0)
Stars: ✭ 241 (-28.7%)
Mutual labels: sandbox
Cattle
🐺 Platform to Run and Share Code. It Supports PHP, Python, Ruby, Java, Go, Rust, C and C++.
Stars: ✭ 40 (-88.17%)
Mutual labels: sandbox
sfcc-cli
Command Line Interface for Salesforce Commerce Cloud Sandbox Development
Stars: ✭ 18 (-94.67%)
Mutual labels: sandbox
Automated-Malware-Analysis-List
My personal Automated Malware Analysis Sandboxes and Services
Stars: ✭ 20 (-94.08%)
Mutual labels: sandbox
Wasm3
🚀 The fastest WebAssembly interpreter, and the most universal runtime
Stars: ✭ 4,375 (+1194.38%)
Mutual labels: sandbox
Openttd
OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe
Stars: ✭ 3,765 (+1013.91%)
Mutual labels: sandbox
Safeify
说明
Safeify 可让 Node 应用安全的隔离执行非信任的用户自定义代码,了解详细
安装
npm install safeify -S
使用
import { Safeify } from "safeify";
(async ()=>{
// 创建 safeify 实例
const safeVm = new Safeify({
timeout: 3000,
asyncTimeout: 60000
});
// 定义 context
const context = {
a: 1,
b: 2,
system: {
add(a: number, b: number) {
return (a + b) * 2;
}
}
};
// 执行动态代码
const result= await safeVm.run(`return system.add(1,2)`, context);
console.log('result', result);
// 释放资源
safeVm.destroy();
})();
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].