effect-command-executor
Pass
Audited by Gen Agent Trust Hub on Nov 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides templates and code examples for spawning, piping, and managing child processes using the
effect/processmodule. It includes patterns for capturing output, handling exit codes, and managing process lifecycles with scoped cleanup. Examples include standard development tools like git, bun, and node.\n- [INDIRECT_PROMPT_INJECTION]: The skill documents an interface for interpolating external data into shell commands, which presents a potential injection surface.\n - Ingestion points: Variables are interpolated into commands using template literals, such as
ChildProcess.makebun publish ${name}``.\n - Boundary markers: The documentation notes that
ChildProcess.maketemplates automatically preserve quoted words and reject shell syntax (like pipes or variable expansion) to prevent injection.\n - Capability inventory: The skill facilitates execution of arbitrary CLI tools, reading/writing via file descriptors, and managing environment variables.\n
- Sanitization: The library utilizes
CommandLineErrorto reject unsafe shell syntax at runtime and supportsRedactedstrings for sensitive values.
Audit Metadata