dev-serve
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
dev-serve.shscript extracts commands from a project'spackage.jsonfile (specifically thescripts.devfield) and executes them within a tmux session. While this is the intended purpose of the tool, it involves running shell commands derived from local file content. - [INDIRECT_PROMPT_INJECTION]: The skill represents a surface for indirect injection as it ingests untrusted data from a project repository to influence its behavior.
- Ingestion points: The tool reads the
package.jsonand variousvite.config.*files from the directory provided by the user. - Boundary markers: No explicit boundary markers or warnings are used when processing the content of these files.
- Capability inventory: The skill has the capability to execute shell commands via
tmux send-keys, modify local files usingsed(including theCaddyfileand Vite configuration files), and perform local network requests to the Caddy admin API. - Sanitization: The script performs minimal sanitization on the commands extracted from
package.jsonbefore execution. - [DYNAMIC_EXECUTION]: The tool performs dynamic modification of executable or configuration files at runtime. It uses
sedto inject host entries into Vite configuration files (vite.config.ts, etc.) and appends reverse proxy blocks to the system'sCaddyfilebased on the folder name and detected ports.
Audit Metadata