5dive-cli
Warn
Audited by Gen Agent Trust Hub on Oct 4, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSPERSISTENCEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill extensively uses
sudo 5divecommands to perform administrative tasks. It explicitly warns about a command injection vulnerability in theagent sendcommand: when using the--message=flag with double quotes, shell command substitution (e.g.,`command`or$(command)) will execute as the calling user. The documentation recommends using--message-fileor single quotes to mitigate this risk. - [PRIVILEGE_ESCALATION]: The skill provides administrative commands to elevate agent permissions. The
5dive agent grant <name> rootcommand confers unrestricted root access (the ability to run any command as any user) on an agent. Agents can also be created with anadminisolation tier, which provides a scoped sudo grant for 5dive and systemd services. - [REMOTE_CODE_EXECUTION]: The
5dive crew install <git-url>command allows for the cloning and installation of code from arbitrary external Git repositories into a local virtual environment. This code can then be executed via5dive crew run. - [EXTERNAL_DOWNLOADS]: Several commands facilitate fetching content from remote sources.
5dive agent installdownloads agent binaries,5dive plugin addfetches extensions, and5dive marketallows agents to be hired from a marketplace. These downloads typically target vendor-controlled or marketplace infrastructure. - [PERSISTENCE]: The skill manages persistent system resources. Agents are deployed as systemd units and tmux sessions that persist across reboots. The
5dive council schedulecommand installs managed crontab entries, and the5dive triggersystem sets up signed listeners for external events like GitHub webhooks. - [INDIRECT_PROMPT_INJECTION]: The agent environment has a significant surface for indirect prompt injection. It ingests untrusted data from external chat channels (Telegram, Discord) and GitHub webhooks. This content is passed to agents as input, potentially allowing external actors to influence agent behavior. Boundary markers are limited to instructional guidance regarding shell quoting.
- [DATA_EXFILTRATION]: Capabilities for moving data off-host are present.
5dive agent exportpackages agent state and memory for export.5dive pushand5dive deployinteract with external services to transmit code.5dive memory searchallows for the retrieval of team decisions and research data. - [DYNAMIC_EXECUTION]: The
5dive acpcommand dynamically stages and runs a TypeScript server using thebunruntime. The5dive loop spawncommand allows agents to dynamically generate and execute new tasks, creating a chain of execution.
Audit Metadata