javascript-sdk
Pass
Audited by Gen Agent Trust Hub on May 14, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTIONNO_CODE
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill instructs users to install the
@inferencesh/sdkpackage from the npm registry, which is the official library for the vendor's platform. - [DATA_EXFILTRATION]: The SDK documentation describes features for uploading local files, buffers, and data URIs to the inference.sh platform via
client.uploadFileandclient.run. This is a standard functional requirement for processing multi-modal data with AI models. - [COMMAND_EXECUTION]: The reference material provides patterns for enabling agent-side code execution and includes implementation examples using
eval()within tool handlers to process mathematical expressions. - [PROMPT_INJECTION]: The skill documents an agent integration architecture that ingests untrusted data from user messages and file uploads, creating a surface for indirect prompt injection.
- Ingestion points: Messages passed to
agent.sendMessageand files provided toclient.uploadFileor as agent attachments. - Boundary markers: Not explicitly required in agent instructions, though SDK examples demonstrate approval workflows.
- Capability inventory: The environment includes restricted shell access (via allowed-tools), file system interactions, and network operations.
- Sanitization: Documentation highlights the use of human-in-the-loop patterns via the
requireApproval()method. - [NO_CODE]: The skill is comprised of markdown documentation and reference guides; it does not distribute standalone executable scripts, binaries, or automated shell commands.
- [SAFE]: All identified external domains, repositories, and package dependencies originate from the vendor's official infrastructure (inferen-sh), with no signs of malicious patterns or deceptive content.
Audit Metadata