ckbtc
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 operations are documented: the skill describes ckBTC transfers (SKILL.md:54, code at 322
icrc1_transfer) and withdrawal of BTC by burning ckBTC viaicrc2_approveplusretrieve_btc_with_approval(SKILL.md:56-61, code at 340 and 360). These move real BTC-backed value, so they are direct operations, not indirect ones. Access control is present for both routes. The transfer and withdraw functions trap unlessmsg.calleris an authenticated (non-anonymous) principal, and each route moves funds only from the caller's own principal-derived subaccount (lines 320, 338). This is an authenticated-session check enforced by the canister runtime, not an agent-followed instruction, so it qualifies as independent access control under the rubric. The check is limited to authentication: it does not add per-transaction approval or limits. Under the rubric, that does not disqualify it, because the test is presence of enforced authentication. The gap is noted, but it does not change the tier from medium. The deposit and balance routes are not financial-movement routes and do not change the result.
Issues (1)
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
Audit Metadata