Wallet Risk Control — Security Skill

Decode signing intents and flag wallet security risks before user confirmation.

5|9|Updated May 8, 2026
One-click install
npx skills add https://github.com/consenlabs/token-ui --skill wallet-risk-control-security-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Wallet Risk Control — Security Skill
Source: https://github.com/consenlabs/token-ui/tree/main/security
Command: npx skills add https://github.com/consenlabs/token-ui --skill wallet-risk-control-security-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a security-centric framework to help AI agents reason about wallet UX risks, ensuring safer signing flows and DApp interactions.

Core Features & Use Cases

  • Decode and display signing intents before user confirmation, including function name, contract verification status, token, and amount.
  • Distinguish Permit / Permit2 from regular login signatures, and enforce safe defaults such as editable allowances and warnings for unlimited approvals.
  • Sanitize and protect on-chain data displays (memo fields, address lists, and zero-dust history) and guide users toward safer practices like using an address book.
  • Use Token Core CLI analysis to decode calldata and surface policy results for risk-aware UI.

Quick Start

Train the AI to apply the security skill when designing wallet features: decode, warn, and sanitize risk-prone flows before user confirmation.

Frequently Asked Questions about Wallet Risk Control — Security Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decode wallet signing intents before user confirmation?

To decode wallet signing intents before user confirmation, use Token Core CLI analysis to decode calldata and surface policy results, displaying function name, contract verification status, token, and amount to the user.

What is the difference between Permit2 and regular login signatures in wallet UX?

Permit and Permit2 signatures differ from regular login signatures by enabling token approvals directly within the signature flow, requiring the wallet UX to enforce safe defaults like editable allowances and warnings for unlimited approvals.

How do I sanitize memo data and on-chain displays for wallet security?

To sanitize memo data and on-chain displays for wallet security, apply a security skill that sanitizes memo fields, protects address lists, filters zero-dust history, and guides users toward using an address book.

Can I map wallet DApp interaction risks to a severity system?

Yes, you can map wallet DApp interaction risks to a four-level severity system by applying a structured security skill that evaluates decoded calldata, contract verification status, and unlimited approvals to determine risk outcomes.

What's the best way to flag unlimited token approvals in non-custodial wallets?

The best way to flag unlimited token approvals in non-custodial wallets is to enforce safe defaults during signing flows, providing explicit UI warnings and enforcing editable allowances before user confirmation.