Install
openclaw skills install shenmeng-defense-line安全防线 - 全方位安全防护与威胁防御系统。 当用户需要以下功能时触发此skill: (1) 智能合约安全审计与漏洞检测 (2) 钱包安全检测与防护 (3) 交易安全验证与风险预警 (4) 钓鱼网站/诈骗检测 (5) 私钥/助记词安全管理 (6) 多签钱包配置与管理 (7) 安全事件响应与应急处理 (8) 安全策略制定与合规检查
openclaw skills install shenmeng-defense-line💰 本 Skill 已接入 SkillPay 付费系统
- 每次调用费用:0.01 USDT
- 支付方式:BNB Chain USDT
- 请先确保账户有足够余额
安全防线 — 守护数字资产,构筑安全堡垒
# 1. 审计智能合约
python scripts/contract_auditor.py --address 0x... --network ethereum
# 2. 检测钱包安全
python scripts/wallet_guardian.py --address 0x... --full-scan
# 3. 验证交易安全
python scripts/tx_validator.py --tx-hash 0x... --simulate
# 4. 检查钓鱼风险
python scripts/phishing_detector.py --url https://suspicious-site.com
# 5. 管理多签钱包
python scripts/multisig_manager.py --wallet 0x... --operation status
# 6. 启动安全监控
python scripts/security_monitor.py --monitor-all --alert-telegram
# config/security_config.yaml
security:
# 审计配置
audit:
tools:
- slither
- mythril
- aderyn
severity_threshold: medium
fail_on_critical: true
# 监控配置
monitoring:
wallets:
- address: "0x..."
name: "Main Wallet"
alert_threshold: 1.0 # ETH
contracts:
- address: "0x..."
name: "DeFi Position"
events: ["Withdraw", "EmergencyShutdown"]
# 告警配置
alerts:
telegram:
enabled: true
bot_token: "${TELEGRAM_BOT_TOKEN}"
chat_id: "${TELEGRAM_CHAT_ID}"
email:
enabled: true
smtp_server: "smtp.gmail.com"
to: "security@example.com"
# 防护规则
protection:
max_slippage: 3 # %
max_gas_price: 500 # gwei
block_suspicious_contracts: true
require_confirmation_above: 10 # ETH
智能合约审计器
# 基础审计
python scripts/contract_auditor.py --address 0xA0b86a33E6441E6C7D3D4b4f6e5a5b6c7d8e9f0a1 --network ethereum
# 深度审计(包含依赖)
python scripts/contract_auditor.py --address 0x... --deep --include-deps
# 本地文件审计
python scripts/contract_auditor.py --file ./MyContract.sol
# 生成审计报告
python scripts/contract_auditor.py --address 0x... --report pdf
钱包安全卫士
# 地址安全检查
python scripts/wallet_guardian.py --address 0x...
# 完整安全扫描
python scripts/wallet_guardian.py --address 0x... --full-scan
# 生成安全评分
python scripts/wallet_guardian.py --address 0x... --score
# 批量检查
python scripts/wallet_guardian.py --file addresses.txt
交易安全验证器
# 验证待签名交易
python scripts/tx_validator.py --tx-data 0x... --simulate
# 验证已发送交易
python scripts/tx_validator.py --tx-hash 0x... --analyze
# 授权检查
python scripts/tx_validator.py --address 0x... --check-approvals
# 撤销授权
python scripts/tx_validator.py --address 0x... --revoke-all
钓鱼检测器
# 检查URL
python scripts/phishing_detector.py --url https://example.com
# 检查域名
python scripts/phishing_detector.py --domain example.com
# 检查智能合约
python scripts/phishing_detector.py --contract 0x...
# 实时防护模式
python scripts/phishing_detector.py --watch-clipboard --auto-block
多签钱包管理器
# 查看钱包状态
python scripts/multisig_manager.py --wallet 0x... --status
# 发起交易
python scripts/multisig_manager.py --wallet 0x... --propose --to 0x... --value 1.0
# 签名交易
python scripts/multisig_manager.py --wallet 0x... --sign --tx-id 1
# 执行交易
python scripts/multisig_manager.py --wallet 0x... --execute --tx-id 1
# 管理成员
python scripts/multisig_manager.py --wallet 0x... --add-owner 0x...
安全事件响应器
# 紧急冻结
python scripts/incident_responder.py --emergency-freeze --wallet 0x...
# 事件分析
python scripts/incident_responder.py --analyze --tx-hash 0x...
# 损失评估
python scripts/incident_responder.py --assess-loss --address 0x...
# 生成报告
python scripts/incident_responder.py --generate-report --incident-id 1
安全监控中心
# 启动监控
python scripts/security_monitor.py --daemon
# 监控特定地址
python scripts/security_monitor.py --watch 0x... --events all
# 监控合约事件
python scripts/security_monitor.py --contract 0x... --events "Transfer,Approval"
# Web Dashboard
python scripts/security_monitor.py --dashboard --port 8080
| 工具 | 用途 | 推荐度 |
|---|---|---|
| Slither | 静态分析 | ⭐⭐⭐⭐⭐ |
| Mythril | 符号执行 | ⭐⭐⭐⭐ |
| Aderyn | Rust合约审计 | ⭐⭐⭐⭐ |
| Echidna | 模糊测试 | ⭐⭐⭐⭐ |
| Manticore | 符号执行 | ⭐⭐⭐ |
⚠️ 重要提示
安全第一,预防为主。守好最后一道防线。