building-workflows
Warn
Audited by Gen Agent Trust Hub on Nov 21, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The agent template (
assets/templates/agent/runtime/tools.ts) dynamically imports tool modules from thetools/directory at runtime using computed paths based on filename enumeration. If an attacker can influence the files written to this directory, it could lead to arbitrary code execution within the agent runtime.\n- [REMOTE_CODE_EXECUTION]: The documentation for the Tines CLI (references/interfaces.md) provides a command that downloads and immediately executes a shell script fromhttps://sh.3b.dev/cli/install.sh. While originating from a vendor-controlled domain, piping remote scripts directly to a shell bypasses static analysis and integrity verification.\n- [EXTERNAL_DOWNLOADS]: Thepackage.jsontemplates for agent and React runtimes specify versions for several popular public packages (e.g.,ai@7.0.154,react@19.2.4,zod@4.6.7) that are significantly higher than the current stable releases available on the public registry. This pattern is characteristic of dependency confusion risks, where a malicious actor could publish packages with these future-dated version numbers to a public registry to hijack installs.\n- [INDIRECT_PROMPT_INJECTION]: The agent template (assets/templates/agent/agent.ts) ingests raw input from standard input—which may contain untrusted data from HTTP requests or upstream steps—and passes it to the language model without sanitization.\n - Ingestion points:
Bun.stdin.text()in the agent's entry point (agent.ts).\n - Boundary markers: Absent; the raw input is used as the message content without delimiters or instructions to ignore embedded commands.\n
- Capability inventory: The runtime can invoke tools, perform network requests via the Vercel AI SDK, and interact with the filesystem volume at
/storage/conversations.\n - Sanitization: No input validation or escaping is applied to the message content before processing.
Audit Metadata