| name | defi-safety-shield |
| description | Comprehensive DeFi safety monitoring - scan tokens for risks, detect phishing, audit wallet approvals, and score protocol safety |
| version | 1.0.0 |
| author | Nihal Nihalani |
| tags | ["defi","security","monitoring","token-risk","phishing","wallet-safety","protocol-risk"] |
| triggers | [{"type":"keyword","keywords":["scan token","token risk","is this token safe","phishing check","check approvals","wallet approvals","protocol risk","defi safety"],"priority":90},{"type":"pattern","patterns":["(?i)(scan|check|analyze|audit)\\s+(token|contract|approval|protocol)","(?i)is\\s+(this|0x[a-fA-F0-9]+)\\s+(safe|risky|legit|scam)","(?i)(phishing|scam)\\s+(check|detect|verify)"],"priority":85},{"type":"intent","intent_category":"defi_safety","priority":95}] |
| parameters | [{"name":"address","type":"string","required":true,"description":"Token contract address, wallet address, or URL to analyze"},{"name":"chain","type":"string","required":false,"description":"Blockchain network","default":"ethereum"},{"name":"scan_type","type":"string","required":false,"description":"Type of safety scan (token, phishing, approvals, protocol)","default":"auto"}] |
| prerequisites | {"env_vars":[],"skills":[]} |
| composable | true |
| persist_state | false |
| scripts | {"enabled":true,"working_directory":"./scripts","definitions":[{"name":"token_risk_scanner","description":"Scans a token contract for honeypot indicators, rug pull risks, tax manipulation, and ownership dangers","type":"python","file":"token_risk_scanner.py","timeout":30},{"name":"phishing_detector","description":"Analyzes URLs, domains, and contract addresses for known phishing patterns and scam indicators","type":"python","file":"phishing_detector.py","timeout":20},{"name":"wallet_approval_audit","description":"Audits a wallet's token approvals to find unlimited or dangerous approvals that could drain funds","type":"python","file":"wallet_approval_audit.py","timeout":45},{"name":"protocol_risk_scorer","description":"Evaluates DeFi protocol safety using TVL data, audit history, and exploit records","type":"python","file":"protocol_risk_scorer.py","timeout":30}]} |