-
Notifications
You must be signed in to change notification settings - Fork 1
Description
AgentWard Security Audit: 0xmasayoshi SushiSwap Skills
Scanned by: AgentWard v0.2.5
Skills analyzed: sushiswap-api, sushiswap-sdk
Source: openclaw/skills/0xmasayoshi
Summary
7 of 11 tools rated
| Severity | Count |
|---|---|
| 7 | |
| 1 | |
| ✅ LOW | 3 |
What Was Found
sushiswap-api (6 tools) — REST API wrapper for SushiSwap DEX operations. Three tools (how_to_use, mandatory_referrer_parameter, fee_customization) rated HIGH due to value transfer capabilities (token swaps, fee configuration).
sushiswap-sdk (5 tools) — SDK integration for SushiSwap across multiple networks. Four tools rated HIGH — how_to_use, supported_networks, mandatory_referrer_parameter, and fee_customization all enable financial operations across 15+ blockchain networks.
Risk Details
Unlike the wallet/trading skills in other audits, these skills don't directly handle private keys — they're API/SDK wrappers. The risk comes from:
- Value transfer via token swaps — the core function is executing DEX trades
- Fee customization — ability to modify referrer fees could be exploited
- Multi-network support —
sushiswap-sdksupports 15+ networks, expanding the attack surface - Mandatory referrer parameter — hardcoded referrer address in all API calls (worth verifying this isn't redirecting fees)
Recommendation
From the AgentWard scan report:
Fix: Mark read-only capabilities (e.g. balance checks, price lookups) explicitly in SKILL.md. Add a
## Securitysection documenting authentication requirements and value-transfer limits.
AgentWard Policy (recommended)
Users of these skills should enforce least-privilege with AgentWard:
pip install agentward
agentward initFull Report
Complete permission map (11 tools)
| Tool | Capabilities | Risk | Why |
|---|---|---|---|
sushiswap-api:base_url |
read | ✅ LOW | |
sushiswap-api:api_schema |
read | ✅ LOW | |
sushiswap-api:how_to_use |
read,read,write | Financial operations — value transfer risk | |
sushiswap-api:mandatory_referrer_parameter |
read,write | Financial operations — value transfer risk | |
sushiswap-api:fee_customization |
read,read,write | Financial operations — value transfer risk | |
sushiswap-api:schema_guidance |
read,write | ||
sushiswap-sdk:how_to_use |
read,read,write | Financial operations — value transfer risk | |
sushiswap-sdk:supported_networks |
read,read,write | Financial operations — value transfer risk | |
sushiswap-sdk:mandatory_referrer_parameter |
read,write | Financial operations — value transfer risk | |
sushiswap-sdk:fee_customization |
read,write | Financial operations — value transfer risk | |
sushiswap-sdk:additional_reference |
read | ✅ LOW |
Generated by AgentWard — open-source permission control plane for AI agents.