javascript-sdk
Warn
Audited by Gen Agent Trust Hub on Mar 19, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The documentation (specifically in
references/tool-builder.mdandreferences/agent-patterns.md) contains examples suggesting the use of theeval()function to process input for tools such as calculators. Usingeval()on untrusted input is a major security risk that can lead to arbitrary code execution. - [COMMAND_EXECUTION]: The skill requests permission to execute
node,npm,npx,yarn, andpnpm. This gives the agent broad authority to run scripts and execute system-level commands, which is dangerous if the agent encounters malicious instructions or tries to execute the insecureeval()snippets provided in the documentation. - [EXTERNAL_DOWNLOADS]: The skill frequently references and provides instructions for installing the
@inferencesh/sdkpackage and other dependencies (like Express and React) from the npm registry. While standard for a developer SDK, it facilitates the download and execution of external code.
Audit Metadata