mgilangjanuar/agentify
Vedi su GitHubRun the JS function in the isolated VM — or, build a safe eval function
Open
#1 aperta il 11 lug 2024
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.