slvdev/Weasel
Static analysis for Solidity smart contracts
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Weasel version to use (latest, nightly, or specific version like 0.5.0) | no | latest |
| path | Path to analyze. If omitted, auto-detects from weasel.toml/foundry.toml/hardhat.config | no | . |
| min-severity | Minimum severity to report (High, Medium, Low, Gas, NC) | no | Low |
| fail-on | Fail if findings at this severity or higher (High, Medium, Low, none) | no | none |
| exclude | Paths to exclude (comma-separated) | no | "" |
| config | Path to weasel.toml config file | no | "" |
| sarif | Generate SARIF output for GitHub Code Scanning | no | false |
| upload-sarif | Upload SARIF results to GitHub Code Scanning | no | false |
Outputs
| name | description |
|---|---|
| findings | Number of findings |
| report | Path to the report file |
| sarif-report | Path to the SARIF report file (if sarif=true) |