T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:108- Finding
Unverified Remote Installer Piped Directly into Bash
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill’s Uniswap hook generation purpose is coherent, but its documented installation and tool setup paths use mutable remote execution patterns that users should review carefully.
Install only from a pinned, reviewed commit or exact package version. Avoid running the pipe-to-bash Foundry installer from the skill text unless you independently trust and verify the official installer. Run this in a clean development workspace, review generated contracts/tests/deployment scripts before use, and keep wallet keys or production RPC credentials out of the environment during generation.
SKILL.md:108Unverified Remote Installer Piped Directly into Bash
README.md:5Mutable and Unpinned npx-Based Skill Installation
The skill recommends installing Foundry via curl -L https://foundry.paradigm.xyz | bash, which executes a remotely fetched script directly in the shell without verification. If the remote host, transport, or installation script is compromised, users could execute arbitrary code on their machine, and the danger is elevated because this appears as a prescribed remediation step in a development automation skill.
| --- | --- | --- |
| `INVALID_CALLBACK_COMBINATION` | "The requested behavior requires conflicting callbacks." | Simplify hook behavior or split into multiple hooks |
| `CREATE2_MINING_TIMEOUT` | "Could not mine a valid CREATE2 address within time limit." | Increase mining time limit or reduce required flags |
| `FORGE_NOT_INSTALLED` | "Foundry (forge) is required but not installed." | Install: `curl -L https://foundry.paradigm.xyz \| bash && foundryup` |
| `VAGUE_REQUIREMENTS` | "Need more detail about the desired hook behavior." | Describe specific behavior (e.g., "limit orders that execute at tick boundaries") |
| `COMPILATION_ERROR` | "Generated contract has compilation errors." | Review error output and adjust requirements |
The README instructs users to run npx skills add ... without pinning an exact package version or integrity-verified source. This can cause users to execute whatever code is currently published under that package name at install time, creating a supply-chain risk if the package is updated maliciously or compromised.
The command npx clawhub@latest install build-hook uses a floating tag (latest), which explicitly opts into whatever code is most recently published. If the package publisher account or release pipeline is compromised, users may execute attacker-controlled code during installation.
Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
Bash(forge:*), Bash(npm:*), Bash(git:*),
Task(subagent_type:hook-builder),
mcp__uniswap__get_supported_chains
model: opus
---
# Build Hook
The skill explicitly states it writes generated Solidity, tests, and deployment scripts directly into the project, but it does not require a clear user confirmation immediately before making file modifications. In a code-generation skill with broad write capability, this can lead to unintended overwrites or insertion of unsafe generated artifacts into a repository without the user's informed consent.
No suspicious patterns detected.