agent-raft-manager
Warn
Audited by Gen Agent Trust Hub on Jun 18, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill defines
preandpostlifecycle hooks in the YAML frontmatter that execute shell commands on the host environment. - [COMMAND_EXECUTION]: The
prehook contains a command injection vulnerability. The variable$TASKis interpolated directly into the shell stringecho "🗳️ Raft Manager starting: $TASK"and the conditional blockif [[ "$TASK" == *"election"* ]]. If the content of$TASKis influenced by untrusted user input and not sanitized by the execution platform, an attacker could execute arbitrary code using shell metacharacters or command substitution (e.g.,$(whoami)or; rm -rf /).
Audit Metadata