create-headless-agent
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill scaffolds a
shelltool capable of executing arbitrary system commands using the user's default shell. - Evidence:
sample/src/tools/shell.tsusesBun.spawnto execute command strings provided as tool input. - Context: This capability is a primary feature of the generated coding agent and includes timeout and output truncation logic to manage execution risk.
- [DYNAMIC_EXECUTION]: Includes an optional JavaScript/TypeScript REPL tool and utilizes dynamic imports for validation logic.
- Evidence:
references/tools.mddefines ajs_repltool that maintains a long-lived Bun evaluation process. - Evidence:
sample/src/cli.tsdynamically imports theajvlibrary for JSON Schema validation. - [INDIRECT_PROMPT_INJECTION]: The generated agent is designed to ingest data from local files and remote web pages, creating a surface for indirect prompt injection.
- Ingestion Points: Tools like
file_read,grep, andweb_fetch(described inreferences/tools.md). - Sanitization: The skill provides specific implementation requirements for
web_fetchto prevent SSRF by validating resolved IP addresses against private and reserved ranges. - Capability Inventory: The agent possesses file-write and shell-execution capabilities, but the skill documentation includes modules for tool approval flows to mitigate autonomous abuse.
Audit Metadata