一键导入
weasel-filter
False positive filtering for Weasel static analysis results. Triggers on weasel filter, weasel triage, or weasel clean report.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
False positive filtering for Weasel static analysis results. Triggers on weasel filter, weasel triage, or weasel clean report.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Static analysis and security review for Solidity smart contracts. Triggers on weasel analyze, weasel audit, weasel scan, weasel review, or weasel check.
Code explanation and understanding for Solidity smart contracts. Triggers on weasel explain, weasel what does, or weasel walkthrough.
Project overview and audit preparation for smart contract security. Triggers on weasel overview, weasel scope, or weasel onboard.
Attack hypothesis validation for smart contracts. Triggers on weasel validate, weasel check attack, or weasel verify.
Proof of Concept exploit writing for Solidity vulnerabilities. Triggers on weasel poc, weasel prove, weasel exploit, or weasel demonstrate.
Audit report writing for smart contract vulnerabilities. Triggers on weasel report, weasel write up, or weasel document.
| name | weasel-filter |
| description | False positive filtering for Weasel static analysis results. Triggers on weasel filter, weasel triage, or weasel clean report. |
Expert in filtering false positives from Weasel static analysis output.
Context: This skill filters WEASEL's output. For validating your own attack ideas, see weasel-validate.
┌─────────────────────────────────────────┐
│ HIGH SEVERITY (typically 0-5 issues) │
│ → Verify ALL - these are critical │
├─────────────────────────────────────────┤
│ MEDIUM SEVERITY (typically 2-10) │
│ → Verify ALL - these matter │
├─────────────────────────────────────────┤
│ LOW SEVERITY (can be many) │
│ → Sample check if >10 issues │
│ → Check all if ≤10 issues │
├─────────────────────────────────────────┤
│ GAS / NC │
│ → Skip verification (not security) │
└─────────────────────────────────────────┘
When user just ran weasel_analyze via MCP:
When report file already exists (user ran weasel with output flag):
weasel_analyze MCP (small)## [H-01] Reentrancy...)## [ or endWhy Workflow B is efficient:
For each finding to verify:
Keep output minimal - one line per finding:
Filtered 5 findings → 2 confirmed, 3 false positives
✓ [H-01] Reentrancy in withdraw() - confirmed
✓ [M-03] Access control missing - confirmed
✗ [H-02] Reentrancy in deposit() - has nonReentrant
✗ [M-01] Unchecked return - uses SafeERC20
✗ [M-02] Integer overflow - in unchecked{} intentionally
Removed 3 sections from report.md
No verbose evidence blocks - user can ask for details on specific findings if needed.
Ask user:
| Rationalization | Why It's Wrong |
|---|---|
| "This detector usually has false positives" | Check THIS instance. Each case is different. |
| "The code looks safe" | READ the code. Don't judge by appearance. |
| "I'll mark as FP without reading" | ALWAYS read source code before verdict. |
| "SafeERC20 is used, so all transfer issues are FP" | Verify SafeERC20 is actually used at THAT location. |
| "This is a known pattern, must be fine" | Known patterns can still have implementation bugs. |
| "I'll confirm all High severity to be safe" | False positives waste developer time. Verify properly. |