weasel-validate

Validate attacker hypotheses for Solidity smart contracts and produce structured verdicts.

30|2|Updated Nov 8, 2025
One-click install
npx skills add https://github.com/slvDev/weasel --skill weasel-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weasel-validate
Source: https://github.com/slvDev/weasel/tree/main/weasel/skills/weasel-validate
Command: npx skills add https://github.com/slvDev/weasel --skill weasel-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps security engineers and developers validate proposed attack vectors against smart contracts, preventing misinterpretation and duplicate findings during audits.

Core Features & Use Cases

  • Attack hypothesis validation: Assess whether a user-proposed exploit is actually feasible within the codebase.
  • Context-aware analysis: Read project documentation and prior issues to avoid false positives and respect design decisions.
  • Structured verdicts: Produce clear outcomes (CONFIRMED, PARTIAL, NOT EXPLOITABLE, KNOWN ISSUE, BY DESIGN) with rationale and references.
  • Use Case: You suspect a reentrancy pattern; provide the hypothesis and the skill will trace the path, check guards, and deliver a verdict and next steps.

Quick Start

Provide a written attack hypothesis to Weasel, e.g., "Is there a reentrancy vulnerability after balance updates?" and request a verdict along with a suggested next step (PoC or report). This will instruct the tool to begin context gathering, code reading, and threat analysis.

Frequently Asked Questions about weasel-validate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate a smart contract vulnerability hypothesis during a Solidity audit?

To validate a smart contract vulnerability hypothesis, you provide the suspected attack vector to the skill. It reads project documentation and traces Solidity code paths to produce a structured verdict, such as CONFIRMED or NOT EXPLOITABLE, with evidence.

What is attack hypothesis validation in smart contract security audits?

Attack hypothesis validation in smart contract security is the process of tracing a proposed exploit path through the codebase to determine exploitability. It prevents misinterpretation and duplicate findings by checking project context and delivering a structured verdict.

How do I check if a suspected reentrancy attack in Solidity is actually exploitable?

To check if a suspected reentrancy attack is exploitable, provide the hypothesis to the skill. It analyzes the referenced Solidity functions, checks guards, references known issues, and delivers a verdict with recommended next steps like a proof of concept.

Can I audit Solidity code for exploitability without generating false positives from known issues?

Yes, you can audit Solidity code for exploitability while avoiding false positives. The skill reads README files and known issues to respect design decisions, ensuring that prior issues are classified correctly rather than reported as new vulnerabilities.

What verdicts are produced when validating smart contract attack vectors?

Validating smart contract attack vectors produces structured outcomes including CONFIRMED, PARTIAL, NOT EXPLOITABLE, KNOWN ISSUE, and BY DESIGN. Each verdict includes rationale, references to the analyzed code paths, and recommended next steps for reporting.

Why does my suspected smart contract vulnerability return a BY DESIGN verdict instead of being confirmed?

A suspected smart contract vulnerability returns a BY DESIGN verdict when the analysis references project documentation and determines the pattern is an intentional design decision rather than an exploitable flaw, preventing duplicate findings during audits.