T09 · Insecure Skill Coding Practices
- Location
index.js:133- Finding
Unrestricted and Unverified RPC Endpoint Enables SSRF and Blockchain State Spoofing
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This DeFi skill is not obviously malicious and avoids private keys, but it needs Review because its helper can use arbitrary RPC endpoints that could mislead financial checks.
Install only if you are comfortable with a DeFi skill whose safety checks depend on the calling agent and wallet runtime. Use trusted RPC endpoints, require fresh simulation and explicit wallet confirmation before any transaction, avoid giving agents withdrawal authority, and consider pinning dependencies before production use.
index.js:133Unrestricted and Unverified RPC Endpoint Enables SSRF and Blockchain State Spoofing
The skill description claims high-level Rerange order management, but the documented helper only exposes low-level deployment lookup, ABI dumping, calldata encoding, and arbitrary read calls. This mismatch can mislead an agent into trusting that the skill performs safety checks, previews, and constrained protocol-specific actions when it actually provides generic blockchain introspection primitives that may be used outside the stated safety model.
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.
## Do Not
- Do not request or store private keys.
- Do not ask users to delegate unlimited wallet authority.
- Do not call vault `withdraw` from an automation agent.
- Do not use arbitrary vault `call` unless the owner explicitly requested the
exact target, value, calldata purpose, and risk.
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.
## Do Not
- Do not request or store private keys.
- Do not ask users to delegate unlimited wallet authority.
- Do not call vault `withdraw` from an automation agent.
- Do not use arbitrary vault `call` unless the owner explicitly requested the
exact target, value, calldata purpose, and risk.
The dependency on "viem" uses a caret range (^2.47.0), which permits automatic installation of newer minor and patch releases. This weakens build reproducibility and increases supply-chain risk because a compromised or breaking upstream release could be pulled in without explicit review. In a DeFi transaction-building skill, dependency integrity matters because library behavior can affect signing, transaction construction, and user fund safety.
},
"dependencies": {
"@rerange/wagmi": "0.0.9",
"viem": "^2.47.0"
},
"keywords": [
"openclaw",