mgilangjanuar/agentify

Run the JS function in the isolated VM — or, build a safe eval function

Open

#1 创建于 2024年7月11日

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)TypeScript (4 fork)github user discovery
help wanted

仓库指标

Star
 (52 star)
PR 合并指标
 (PR 指标待抓取)

描述

Problem:

There's a vuln in the agentify-script which uses the eval function and can run anything from user code.

Expectation:

Need a dependency like isolated-vm but can include global native JS functions/objects such as: fetch, btoa, URL.searchParams, Buffer, JSON, etc.

贡献者指南