javascript-sdk

Warn

Audited by Gen Agent Trust Hub on Nov 19, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill provides example code that uses the eval() function to execute strings generated by an AI model.
  • Evidence found in references/tool-builder.md and references/agent-patterns.md where a 'calculator' tool executes eval(call.args.expression).
  • Using eval() on AI-generated content is a dangerous pattern that can lead to arbitrary code execution if the model's output is influenced by malicious prompt injection.
  • [EXTERNAL_DOWNLOADS]: The skill documentation recommends installing several external packages and CLI tools that are not part of the core vendor infrastructure.
  • SKILL.md suggests installing a CLI skill: npx skills add belt-sh/cli.
  • SKILL.md lists related external skills such as inference-sh/skills@python-sdk and inference-sh/skills@infsh-cli.
  • Users should verify these external sources to ensure they do not introduce supply chain risks.
  • [INDIRECT_PROMPT_INJECTION]: The skill architecture creates a surface for indirect prompt injection by processing external data through an agent with significant capabilities.
  • Ingestion Points: The agent receives untrusted data via agent.sendMessage() and through external data sources defined in webhookTool.
  • Boundary Markers: The provided examples do not demonstrate the use of prompt delimiters or instructions to ignore embedded commands in external content.
  • Capability Inventory: The SDK provides tools for file uploads (uploadFile), network requests (client.run), and dynamic execution (as noted in Category 10).
  • Sanitization: No explicit sanitization or validation logic is shown in the documentation to filter malicious instructions from external inputs.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 19, 2026, 08:39 PM