mgilangjanuar/agentify

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

Open

#1 ouverte le 11 juil. 2024

Voir sur GitHub
 (1 commentaire) (0 réactions) (1 assigné)TypeScript (4 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (52 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur