mgilangjanuar/agentify

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

Open

#1 aperta il 11 lug 2024

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)TypeScript (4 fork)github user discovery
help wanted

Metriche repository

Star
 (52 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor