consistency-audit-beads

Warn

Audited by Gen Agent Trust Hub on Sep 24, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The skill generates shell commands for the bd CLI by interpolating strings that include user input and AI-generated text. In Phase 2, Step 3, the user-supplied $ARGUMENTS are placed directly into a command: bd create "Consistency Audit: <branch> — <scope>". Similarly, Step 4 interpolates AI-generated findings into bd create and bd update commands. If these inputs contain shell metacharacters such as backticks, $(), ;, or |, they will be executed by the host shell, leading to arbitrary command execution.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted project content to perform a consistency audit. The resulting findings (titles, descriptions, evidence) are then used as parameters for the bd CLI commands. This creates an attack surface where a malicious project could influence the AI to produce output that, when interpolated into a shell command, executes malicious code on the host system. There are no boundary markers or sanitization logic present to prevent this flow from untrusted data to executable commands.
  • [EXTERNAL_DOWNLOADS]: In Phase 2, Step 1, the skill instructions direct the user to install the beads-cli package via pip install beads-cli or from a GitHub repository (https://github.com/steveyegge/beads) if the tool is not found. While this is presented as a manual step for the user, it encourages the installation of third-party software from a non-whitelisted source to enable the skill's full functionality.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 24, 2026, 01:09 PM