Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Audit wallet security by analyzing token approvals, permissions, and transaction patterns. Use when checking wallet security, reviewing approvals, or assessing risk exposure. Trigger with phrases like "audit wallet", "check approvals", "security scan", or "revoke tokens".
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 86% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 102% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -17% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -32% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 24% | 0% |
Security analysis tool for cryptocurrency wallets. Scans ERC20 token approvals, analyzes transaction patterns, calculates security risk scores, and provides actionable recommendations to improve wallet security.
Important: This is a read-only analysis tool. It does NOT execute transactions, manage private keys, or perform revocations.
Before using this skill, ensure you have:
requests library installedETHERSCAN_API_KEY environment variable for higher rate limitsScan wallet for all active ERC20 token approvals:
textcd ${CLAUDE_SKILL_DIR}/scripts python wallet_auditor.py approvals <address> --chain <chain>
Options:
--chain: ethereum, bsc, polygon, arbitrum, optimism, base (default: ethereum)--unlimited: Show only unlimited approvals--verbose: Detailed outputComprehensive security analysis including approvals, transaction history, and patterns:
bashpython wallet_auditor.py scan <address> --verbose
Analyzes:
Get weighted security risk score (0-100, higher = safer):
textpython wallet_auditor.py score <address> python wallet_auditor.py score <address> --json # JSON output
Score components:
Risk levels:
Review recent contract interactions and patterns:
bashpython wallet_auditor.py history <address> --days 30
Detects:
Get prioritized list of approvals to revoke:
textpython wallet_auditor.py revoke-list <address>
Flags:
Create comprehensive security audit report:
bashpython wallet_auditor.py report <address> --output report.txt python wallet_auditor.py report <address> --json # JSON format
bashpython wallet_auditor.py chains
╔═══════════════════════════════════════════════════════════════════╗
║ WALLET SECURITY SCORE ║
╠═══════════════════════════════════════════════════════════════════╣
║ Overall Score: [████████████████····] 82/100 ║
║ Risk Level: 🟢 LOW ║
╠═══════════════════════════════════════════════════════════════════╣
║ Component Scores: ║
║ Approvals: [██████████████······] 70/100 ║
║ Interactions: [██████████████████··] 90/100 ║
║ Patterns: [████████████████████] 100/100 ║
╚═══════════════════════════════════════════════════════════════════╝See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling:
| Error | Cause | Solution | |-------|-------|----------| | Address validation failed | Invalid format | Use 0x + 40 hex characters | | RPC timeout | Node unresponsive | Retry or use different RPC | | Rate limited | Too many requests | Add ETHERSCAN_API_KEY | | No approvals found | Wallet clean | Normal - no action needed |
See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.
bash# Check wallet approvals python wallet_auditor.py approvals 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 # Full security scan python wallet_auditor.py scan 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 --verbose # Get security score python wallet_auditor.py score 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 # Check other chains python wallet_auditor.py approvals 0x... --chain polygon python wallet_auditor.py approvals 0x... --chain arbitrum
bash# Text report python wallet_auditor.py report 0x... --output security_audit.txt # JSON for integration python wallet_auditor.py report 0x... --json --output audit.json
0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925Other measured skills in the registry, with their headline benchmark lift.