bun-runtime
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONPERSISTENCEDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents APIs that ingest untrusted data while providing the agent with powerful system capabilities, creating an attack surface for indirect instruction injection.
- Ingestion points:
Bun.WebView.navigate()processes external URLs inreferences/webview.md;Bun.markdown.html()parses markdown strings inSKILL.mdandreferences/markdown.md. - Boundary markers: No specific boundary markers or instructions to ignore embedded commands are provided for these data-processing APIs.
- Capability inventory: The skill documents access to
Bun.spawnandBun.Terminalfor process execution (references/terminal.md),Bun.cronfor OS-level persistence (references/cron.md),Bun.SQLandBun.Redisfor database interactions (references/sql.md,references/redis.md), andprocess.execvefor process replacement (SKILL.md). - Sanitization: The documentation explicitly warns that
Bun.markdown.htmloutput is not sanitized, allowing raw HTML andjavascript:URIs to pass through verbatim (SKILL.md). - [COMMAND_EXECUTION]: The skill documents the use of native APIs for spawning and managing system processes, which can be misused if the agent is directed to execute arbitrary commands.
- Evidence: Detailed documentation for
Bun.spawnandBun.Terminal(PTY) inreferences/terminal.md, andprocess.execvefor replacing the current process inSKILL.md. - [PERSISTENCE]: The skill provides instructions on using
Bun.cronto establish scheduled jobs at the operating system level. - Evidence:
references/cron.mddocuments how to register jobs with system schedulers likecrontab(Linux),launchd(macOS), andTask Scheduler(Windows). - [DYNAMIC_EXECUTION]: The skill documents APIs for runtime code evaluation and browser-side script execution.
- Evidence:
Bun.WebView.evaluate()allows executing arbitrary JavaScript strings within the context of the automated browser (references/webview.md).
Audit Metadata