javascript-sdk
Fail
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The documentation in 'references/tool-builder.md' includes a highly dangerous code example that uses 'eval()' to process tool call arguments: 'result = eval(call.args.expression);'. This pattern allows an LLM to execute arbitrary code if the input is manipulated by an attacker.
- [DYNAMIC_EXECUTION]: The skill facilitates enabling internal code execution capabilities for the agent via 'internalTools().codeExecution(true)' in 'SKILL.md' and 'references/agent-patterns.md'. This configuration allows the agent to write and run arbitrary code, significantly increasing the system's attack surface.
- [INDIRECT_PROMPT_INJECTION]: The skill's 'agent' configuration allows for remote context loading via the 'url' property in the 'skills' array (found in 'SKILL.md'). This enables the agent to ingest instructions from untrusted external websites, which can lead to behavioral overrides.
- Ingestion points: Data enters through 'agent.sendMessage' and remote content fetched via 'skills[].url'.
- Boundary markers: No boundary markers or instruction isolation techniques are demonstrated in the examples.
- Capability inventory: The skill enables full subprocess execution via Bash tools and explicit 'codeExecution' flags.
- Sanitization: No input validation or sanitization is present in the provided tool-handling examples.
- [EXTERNAL_DOWNLOADS]: The skill instructs users to install external packages and tools, specifically '@inferencesh/sdk' and 'belt-sh/cli' via npm/npx, which are not hosted by a recognized trusted vendor.
Recommendations
- AI detected serious security threats
Audit Metadata