oathe / scan / reports / caution
Is aqiljaafree/ghostbot-uniswap-v4hooks-testnet safe?
Use with caution. aqiljaafree/ghostbot-uniswap-v4hooks-testnet is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the ghostbot-uniswap-v4hooks-testnet skill by aqiljaafree a trust score of 67/100 with 10 findings (2 high).
https://github.com/openclaw/skills/tree/main/skills/aqiljaafree/ghostbot-uniswap-v4hooks-testnet
Is aqiljaafree/ghostbot-uniswap-v4hooks-testnet safe to install?
GhostBot ACLM is a DeFi skill for managing Uniswap v4 liquidity positions that presents several notable concerns: the SKILL.md architecture diagram contains injected shell commands (cd packages/video, pnpm run studio) that are syntactically valid but semantically inconsistent with the surrounding diagram, posing a prompt injection risk for LLM agents. The skill also instructs users to expose Ethereum private keys via shell environment variables and directs the agent to autonomously execute unreviewed Node.js scripts that sign and broadcast blockchain transactions. Canary file integrity was maintained and the install process was clean, but the combination of persona override, embedded commands, private key solicitation, and autonomous financial execution warrants careful review before deployment.
What security issues were found in aqiljaafree/ghostbot-uniswap-v4hooks-testnet?
Category Scores
Findings (10)
HIGH Shell commands injected into architecture diagram code block -30 ▶
The SKILL.md architecture section contains cd packages/video and pnpm run studio embedded within a code-fenced ASCII diagram where they have no semantic purpose. These are valid shell commands that do not correspond to the described system architecture. An LLM agent consuming this as a system prompt could interpret them as pending commands and execute them during skill interaction.
Evidence: User (Telegram/Chat) → OpenClaw Agent → cd packages/video\n pnpm run studio Scripts → Blockchain (Sepolia)
HIGH Skill solicits Ethereum private key via environment variable -20 ▶
The skill's setup instructions explicitly ask users to export their private key as DEPLOYER_PRIVATE_KEY. The skill's Node.js scripts, which the agent is instructed to execute autonomously, will read this variable and use it to sign blockchain transactions. This exposes the key to any process in the shell environment and to the script author's RPC endpoint.
Evidence: export DEPLOYER_PRIVATE_KEY="0xyour-private-key"
MEDIUM Full persona replacement overrides agent identity -12 ▶
Opening instruction 'You are the GhostBot assistant.' performs a complete persona substitution, which can displace the agent's existing safety-relevant behaviors and baseline instructions configured by the platform or user.
Evidence: You are the GhostBot assistant. You help users manage concentrated liquidity positions on Uniswap v4...
MEDIUM Agent instructed to autonomously execute multiple unreviewed Node.js scripts -15 ▶
The skill's response protocol instructs the agent to run scripts for all user interactions without confirmation. These scripts connect to blockchain nodes, read environment variables including private keys, and submit on-chain transactions. Full script source code was not captured in audit evidence.
Evidence: Available commands section lists 6 scripts with node execution patterns; response protocol says 'Run status script', 'Run positions script' etc. automatically
MEDIUM Agent executes financial transactions autonomously -15 ▶
The skill instructs the agent to execute write transactions on Ethereum without per-operation user confirmation. The pattern of autonomous financial transaction execution is high risk, particularly since users may transition from testnet to mainnet usage after becoming comfortable with the workflow.
Evidence: add-liquidity.mjs executes mintTokens, approve, and addLiquidity contract calls; post-signal.mjs posts oracle signals that trigger automatic rebalancing
MEDIUM npm dependency uses open semver range without lock file -10 ▶
package.json specifies viem@^2.20.0 without a lockfile in the skill repository. Future npm installs can silently pull newer minor versions, creating supply chain risk.
Evidence: "dependencies": { "viem": "^2.20.0" } with no package-lock.json in skill directory
LOW Placeholder URL in skill body indicates incomplete review -6 ▶
Source code URL was left as a placeholder, indicating the skill was published without final review. This reduces confidence in the overall quality and intentionality of the skill's content.
Evidence: https://github.com/user/ghostbot (update with your repo URL)
LOW Scripts connect to user-supplied external RPC endpoints -10 ▶
RPC_URL is configurable and scripts will send wallet addresses and transaction data to whatever endpoint is configured. A maliciously suggested RPC endpoint could harvest wallet metadata.
Evidence: export RPC_URL="https://your-sepolia-rpc"
INFO Clean install via sparse checkout with expected network connections -8 ▶
Installation cloned only the target skill subdirectory from the openclaw/skills monorepo. Network activity was limited to GitHub and Ubuntu system services. No post-install hooks, unexpected processes, or out-of-scope filesystem writes were detected.
Evidence: auditd EXECVE logs show standard git clone + sparse-checkout + cp workflow; connection diff shows only openclaw-gateway process added (agent infrastructure, not skill)
INFO No canary file exfiltration detected 0 ▶
All honeypot files remained unmodified. Read accesses to canary files in auditd logs are attributable to the monitoring system's pre/post install integrity check, not to skill scripts.
Evidence: Monitoring: All canary files intact. File access events at timestamps 1771734418 and 1771734437 match monitoring system check pattern (batch access to all canary paths at identical millisecond)
Should I install aqiljaafree/ghostbot-uniswap-v4hooks-testnet?
Oathe's verdict for aqiljaafree/ghostbot-uniswap-v4hooks-testnet is CAUTION with a trust score of 67/100. Recommendation: Review before install.