javascript-sdk
Pass
Audited by Gen Agent Trust Hub on Nov 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill defines restricted tool access via
allowed-tools, limiting the agent to Node.js environments and package managers (npm,npx,node,pnpm,yarn). This prevents the execution of arbitrary shell commands while enabling development tasks related to the SDK. - [INDIRECT_PROMPT_INJECTION]: The SDK documentation describes features such as web search and file processing that ingest untrusted external content. The skill mitigates the risk of indirect prompt injection by providing and documenting the
requireApproval()mechanism, which ensures human-in-the-loop oversight for sensitive operations. - [SAFE]: All external resources, including the
@inferencesh/sdkNPM package and thebelt-sh/cliutility, are official assets belonging to the vendor ecosystem. The documentation demonstrates best practices for credential safety, emphasizing that API keys should be stored in environment variables and handled by secure server-side proxies rather than being exposed in frontend code.
Audit Metadata