gero-wallet
Audited by Snyk on Dec 2, 2026
MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).
- Direct money access detected (medium risk: 0.30). The skill is mainly developer guidance for connecting a dApp to Gero Wallet through the Midnight DApp Connector API. It covers read-only balance access, delegated proving, and wallet-funded transaction submission. The dApp cannot register DUST (§6) and cannot request sponsorship. Several parts are excluded or only informational, including balance reads, DUST fee mechanics, and building dApps that integrate a wallet.
One route is operational and financial: §9 documents a prove-fund-submit flow in which the wallet funds the transaction through balanceUnsealedTransaction() and pays its DUST fee. Line 241 also directs plain token transfers through the Midnight.js transfer helpers, including any Midnight token such as USDM. That is a direct financial operation, a transfer of assets, offered as a workflow. It is not only a tutorial on building a wallet.
Access control is documented for this route. connect() prompts the user to authorize (lines 118, 272). Shielded reads and proving require explicit wallet approval prompts (lines 179, 216). The wallet holds the keys, and the dApp never sees proof-server credentials. The extension enforces these gates, not the agent, which is an external approval/authorization mechanism enforced at the wallet layer. The direct route therefore has a qualifying control, which puts it at medium rather than high.
Issues (1)
Direct money access capability detected (payment gateways, crypto, banking).