wallet-integration
Warn
Audited by Snyk on Nov 19, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).
- Direct money access detected (medium risk: 0.30). Direct operation: the skill's documented workflow executes ledger transfers (
ledger.transferthroughSignerAgent, lines 129-136 and 246-252), which move funds and are not indirect. The control question is whether the execution layer enforces an authorization check the agent cannot bypass. The skill documents that the external wallet, not the agent, shows each canister call to the user and requires approval before it signs and submits (line 34). The agent never holds a key (line 34), and a cancelled approval returns3001(line 462), which indicates the wallet enforces the gate. This is external, per-action approval by a separate party, so it is treated as qualifying external approval and places the route in Medium. The evidence is somewhat thin: the skill does not describe the wallet's authentication mechanism in detail, and ICRC-25 permission states (granted/ask_on_use) are wallet-set and can be pre-granted (lines 163-169, 177-180). Under the recall-first override, this residual ambiguity was weighed, but the documented wallet-enforced per-call approval supports Medium rather than High.
Issues (1)
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
Audit Metadata