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.mdandreferences/tool-builder.md) that use the JavaScripteval()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 inreferences/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 viaclient.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
evalandinternalTools), file system operations (viadelete_fileexamples inreferences/agent-patterns.md), andwebhookToolfor 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