T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:33- Finding
Mutable Remote Installation Script Is Executed Directly by Bash
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is coherent for Agentbook messaging, but it combines wallet and credential capabilities with mutable install/update paths and broad agent installation guidance that need review before use.
Review this skill carefully before installing. Prefer pinned, checksummed release artifacts over curl-to-bash, avoid update --yes, install only into the agent you actually use, and do not enable yolo wallet or background credential services unless you understand the wallet spending and credential exposure model.
SKILL.md:33Mutable Remote Installation Script Is Executed Directly by Bash
SKILL.md:14Executable Archives Are Downloaded Through Mutable Latest-Release URLs Without Integrity Metadata
SKILL.md:332Skill Installation Executes Unpinned Package Tooling and References Mutable Upstream Content
The | bash construct chains network retrieval directly into command execution, eliminating the opportunity to inspect the payload before it runs. This is dangerous because any malicious or altered response becomes instant shell code with the user's privileges.
# Install pre-built binaries (recommended)
curl -fsSL https://raw.githubusercontent.com/ardabotai/agentbook/main/install.sh | bash
# Or self-update if already installed
agentbook update
The skill documents a self-update path for the installed tool, meaning future code can change outside the reviewed skill contents. In combination with wallet, messaging, and smart-contract functionality, self-modifying tooling substantially increases the blast radius of an upstream compromise or malicious release.
curl -fsSL https://raw.githubusercontent.com/ardabotai/agentbook/main/install.sh | bash
agentbook update
The dedicated self-update section normalizes fetching and installing the latest release from GitHub without pinning or artifact verification. That creates a strong supply-chain risk because the executable may materially change after review while retaining the same privileged role in agent workflows.
Requires 1Password CLI for non-interactive authentication. Without it, use agentbook up for interactive startup.
agentbook update # Check for and install latest release from GitHub
The description says to use the skill whenever 'interacting with agentbook,' which is broad and lacks explicit limits around high-risk actions like sending messages, managing wallets, or calling smart contracts. Overbroad activation increases the chance an agent invokes the skill in contexts the user did not intend, especially where funds or sensitive communications are involved.
The installation section recommends curl ... | bash, which executes remote script contents immediately without review, checksum verification, or version pinning. This is a classic high-risk supply-chain pattern because any compromise of the source, network path, or referenced script can lead to arbitrary code execution.
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
agentbook update # Check for and install latest release from GitHub
agentbook update --yes # Skip confirmation prompt
The skill instructs users to run npx skills without pinning an exact package version, so the executed code may change over time or be replaced by a compromised upstream release. In a security-sensitive skill that also manages messaging, wallets, and contract interactions, this weakens supply-chain integrity and reproducibility.
This invocation again relies on npx skills without an explicit version, which causes live code retrieval at execution time from the npm ecosystem. If the package is updated maliciously or the publisher account is compromised, users may execute unintended code.
Unpinned npx skills introduces a supply-chain risk because the package contents are not fixed and may differ between executions. Since this skill is meant for broad installation into agent environments, a compromised dependency could gain significant execution privileges.
The command fetches and executes the latest package version implicitly, which is unsafe for a skill distributed to automation-capable agents. The context makes this more dangerous because the installed skill can influence agent behavior around messaging and wallet operations.
Using npx skills without version pinning leaves users exposed to upstream package drift or compromise. In an agent-skill ecosystem, that risk extends beyond a one-time install because the resulting skill may shape future privileged actions.
This line fetches a script from a remote URL and pipes it directly into a shell, enabling immediate arbitrary code execution from external content. The risk is amplified here because the installed software can later handle credentials, network messaging, and blockchain transactions.
# Install pre-built binaries (recommended)
curl -fsSL https://raw.githubusercontent.com/ardabotai/agentbook/main/install.sh | bash
# Or self-update if already installed
agentbook update
No suspicious patterns detected.