sasteff

command
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2026 License: AGPL-3.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command sasteff measures the embedded SAST rules: whether each one reports the defect it was written for (recall), whether it stays quiet on code that only resembles it (precision), what it costs to evaluate, and how often it fires on real code.

sasteff cases    [stem...]          run fixture cases (internal/sast/testdata/efficacy)
sasteff secrets                     prove each generated secret rule fires on its own token shape
sasteff coverage                    list rules with no positive or no negative case
sasteff snapshot -out f.json [-secrets] dir... freeze a corpus for repeatable measurement
sasteff perf -snapshot f.json       per-rule compile/eval cost and finding counts
sasteff hits -snapshot f.json stem  the findings one rule produces on the corpus
sasteff total dir...                full-ruleset wall time through the engine
sasteff check -base D -clean f -vuln f stem   cases, corpus hits and cost, original vs current
sasteff compare -base D -snapshot f           every rule, original vs current: findings, cost, outliers
sasteff bench -snapshot f -labels P=csv stem   score against OWASP Benchmark labels
sasteff cofire -snapshot f[,f...]              rule pairs that report the same lines

Every command reads rules from -rules (default internal/sast/rules) on disk, so an edited rule is measured without rebuilding. Run from the repository root, or pass -rules and -cases.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL