swain-init
Fail
Audited by Gen Agent Trust Hub on Oct 28, 2026
Risk Level: HIGHPERSISTENCEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATION
Full Analysis
- [REMOTE_CODE_EXECUTION]: Downloads and executes the
uvinstallation script fromhttps://astral.sh/uv/install.shvia a shell pipe. While originating from a well-known vendor (Astral), direct piping of remote scripts to a shell is a sensitive operation. - [PERSISTENCE]: Modifies user shell profile files (
.bashrc,.zshrc,.config/fish/config.fish) by appending aswainshell function. This allows the tool to maintain presence and influence the user's terminal environment across sessions. - [PRIVILEGE_ESCALATION]: Configures AI agent launchers with flags that bypass security constraints, such as
--dangerously-skip-permissionsfor Claude Code and--yolofor Crush, Codex, and Gemini. These flags disable the "human-in-the-loop" requirement for tool execution, potentially allowing an agent to perform dangerous actions without explicit user approval. - [INDIRECT_PROMPT_INJECTION]: Processes untrusted data from
README.md,CLAUDE.md, andAGENTS.mdto automatically generate project artifacts and vision statements. This creates a surface where malicious instructions embedded in project documentation could influence agent behavior. - Ingestion points:
README.md,CLAUDE.md,AGENTS.md(read viaPhase 5.5andPhase 1). - Boundary markers: Absent; intent is extracted via "semantic analysis" of prose content.
- Capability inventory: The skill has full file system write access and can execute shell commands through the AI agent's tools.
- Sanitization: No explicit sanitization or validation of the ingested content is performed before processing.
- [EXTERNAL_DOWNLOADS]: Installs various external software tools including
uv(via curl),tmux(via Homebrew), and additional AI agent skills (vianpx skills add obra/superpowers). It also configures pre-commit hooks that download code from several GitHub repositories (gitleaks, trufflehog, trivy, osv-scanner). - [COMMAND_EXECUTION]: Performs extensive shell operations including creating symlinks for all executable scripts in the skill tree (
bin/and.agents/bin/), which could potentially expose or execute unintended scripts if a malicious skill is present.
Recommendations
- HIGH: Downloads and executes remote code from: https://astral.sh/uv/install.sh - DO NOT USE without thorough review
Audit Metadata