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.

貢獻者指南