跳至主要内容
小龙虾小龙虾AI
🤖

Slither Audit

Run slither static analysis on Solidity contracts. Fast, lightweight security scanner for EVM smart contracts.

下载273
星标0
版本0.4.0
安全合规
安全通过
⚙️脚本

技能说明


name: slither-audit description: Run slither static analysis on Solidity contracts. Fast, lightweight security scanner for EVM smart contracts. env: required: [] optional: []

Slither Audit

Run Slither static analysis on local Solidity contracts.

What It Does

  • Runs Slither static analysis on local .sol files
  • Parses output for vulnerabilities
  • Generates Markdown report with findings and severity

What It Does NOT Do

  • ❌ Fetch contracts from block explorers (use local files)
  • ❌ AI-powered analysis (see evmbench for that)
  • ❌ Require API keys

Quick Start

# Install dependencies
pip install slither-analyzer

# Run audit
python3 slither-audit.py /path/to/contracts/

Usage

python3 slither-audit.py ./contracts/
python3 slither-audit.py contract.sol

Output Example

# Audit Report: Vulnerable.sol
**Chain:** local

## Vulnerabilities Found
- reentrancy-eth (High)
  Reentrancy in Bank.withdraw()...

Found 3 issues

What Slither Detects

  • Reentrancy
  • Access control
  • Integer overflow
  • Unchecked external calls
  • 100+ detectors

See: https://github.com/crytic/slither

Limitations

  • Local files only
  • No AI analysis (see evmbench)
  • Requires valid Solidity code

如何使用「Slither Audit」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Slither Audit」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能