javascript-sdk

Warn

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill provides documentation and code examples (in references/agent-patterns.md and references/tool-builder.md) that use the JavaScript eval() function to process expression inputs within tool handlers.
  • [DYNAMIC_EXECUTION]: The skill documents the internalTools().codeExecution(true) capability, which enables a runtime environment for agents to generate and execute code at runtime to solve mathematical or logic problems (found in references/agent-patterns.md).
  • [INDIRECT_PROMPT_INJECTION]: The skill documentation defines surfaces where untrusted external data is ingested and then processed by capabilities with high impact.
  • Ingestion points: User-provided messages via agent.sendMessage (SKILL.md) and file content uploads via client.uploadFile (references/files.md).
  • Boundary markers: The provided code examples do not demonstrate the use of delimiters or explicit instructions to ignore embedded commands within ingested data.
  • Capability inventory: Documents the use of dynamic code execution (via eval and internalTools), file system operations (via delete_file examples in references/agent-patterns.md), and webhookTool for outbound network requests to services like Slack and GitHub.
  • Sanitization: The instructional examples do not include evidence of input validation, escaping, or filtering for data passed to code execution or webhook parameters.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 22, 2026, 05:06 AM