javascript-sdk
Pass
Audited by Gen Agent Trust Hub on Sep 2, 2026
Risk Level: SAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The SDK processes user-generated messages and tool outputs, which are standard ingestion points for data that could contain instructions.
- Ingestion points: Data enters the system via
agent.sendMessage(SKILL.md) andagent.submitToolResult(references/tool-builder.md). - Boundary markers: The provided code examples do not explicitly demonstrate the use of delimiters to isolate untrusted input.
- Capability inventory: The SDK supports powerful tools such as
uploadFilefor file system interaction andwebhookToolfor network requests. - Sanitization: Sanitization logic is omitted from basic documentation examples, as it is expected to be managed by the application logic or the platform's core model guardrails.
- [DYNAMIC_EXECUTION]: The documentation includes features and examples for executing code at runtime to enable agent autonomy.
- The
references/tool-builder.mdfile demonstrates a tool handler usingeval()to process mathematical expressions. - The
references/agent-patterns.mdfile describes an internal tool capability.codeExecution(true)which allows agents to generate and run code to solve problems.
Audit Metadata