crabbox-worktree

Warn

Audited by Gen Agent Trust Hub on Jul 29, 2026

Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The skill provides detailed instructions for creating long-lived Google Cloud Service Account keys and storing them locally in ~/.config/gcloud/crabbox-sa-key.json. It suggests using these credentials for unattended automation, which presents a risk of persistent project access if the host machine is compromised.
  • [DATA_EXFILTRATION]: The architecture explicitly describes a method to identify and transmit sensitive local files, such as environment variables (.env.local) and credentials, to a remote GCP instance. This is achieved by bundling files into a base64-encoded tarball and piping them through a remote execution tool.
  • [COMMAND_EXECUTION]: The skill requires extensive use of administrative privileges (sudo) to modify system-level configurations, including /etc/profile.d/ and /usr/local/bin/. It also establishes persistent execution on the local host by installing launchd agents, cron jobs, and global git hooks that trigger automated scripts.
  • [EXTERNAL_DOWNLOADS]: The skill downloads and executes an installation script for the Bun runtime from a well-known service (bun.sh). While the source is reputable, the pattern of remote script execution with system privileges involves high trust in the provider.
  • [PROMPT_INJECTION]: The skill processes untrusted repository-controlled data, such as lockfile hashes and file lists, to automate environment setup. This creates an indirect prompt injection surface.
  • Ingestion points: Repository files and metadata processed during worktree attachment and git hook execution.
  • Boundary markers: None identified; repository data is interpolated directly into provisioning logic.
  • Capability inventory: Significant local and remote execution capabilities, including system-wide sudo and remote GCP resource management.
  • Sanitization: The logic does not demonstrate validation or sanitization of repository-provided data.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 29, 2026, 06:58 PM