mgilangjanuar/agentify

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

Open

#1 opened on 2024年7月11日

GitHub で見る
 (1 comment) (0 reactions) (1 assignee)TypeScript (4 forks)github user discovery
help wanted

Repository metrics

Stars
 (52 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド