This release is a pre-release and may not be stable for production use.
ScanEval
ScanEval evaluates structured security-scanner results against a versioned plan and
supplied review decisions. Import the Python package and call
scaneval.evaluate(plan, result, decisions) to produce an evaluation report offline.
The same distribution includes a CLI, versioned data contracts, replay, local reports,
and optional tracing through scaneval.observer.
Alpha version: 2.0.0a1. No benchmark results or scanner comparisons are published.
The selected corpus contains 50 CVEs, but fixed controls remain unvalidated and scanner
miss rates remain unmeasured. Live scanner integrations need separate installations and
configuration. The default SV-Agent harness pin cannot yet produce a completed
source-scan score. See the
current capabilities and limits.
Install and evaluate
Requires Python 3.11 or newer. Source materialization also requires Git. From a virtual environment on macOS or Linux:
python -m pip install "scaneval==2.0.0a1"
Load your saved ScanEval evaluation plan, normalized scan result, and review decisions:
import json
from pathlib import Path
import scaneval
plan = json.loads(Path("plan.json").read_text(encoding="utf-8"))
result = json.loads(Path("result.json").read_text(encoding="utf-8"))
decisions = json.loads(Path("decisions.json").read_text(encoding="utf-8"))
report = scaneval.evaluate(plan, result, decisions)
print(json.dumps(report, indent=2))
Scoring requires structured saved records and supplied finding-review decisions bound to those records. The plan assigns targets and controls; the decisions say which findings establish their alleged issues. Unreviewed findings remain unresolved. The evaluation API validates these inputs and computes scores; producing scanner findings and adjudicating natural-language allegations are separate steps.
Try the offline demo
scaneval demo demo-run
scaneval replay demo-run --output demo-replay.json
Open demo-run/report.html locally. The demo uses fabricated evaluator fixtures and
makes no scanner or model calls. Output paths must be new. Run scaneval --help for
commands; the
execution guide
explains scanner configuration, review, and saved evidence.
Instrument a Python harness
The public Python SDK is available from scaneval.observer. Emit events at the model,
tool, context, and finding boundaries your harness exposes:
from scaneval.observer import Observer
events = []
observer = Observer(
mode="metadata",
sink=events.append,
run_id="example-run",
producer_id="my-harness",
)
observer.emit(
type="model.request",
capture_status="complete",
call_id="call-1",
metadata={"model": "example-model"},
)
observer.flush()
observer.close()
This example records one event in memory; it calls no model. Recording defaults to
off unless the caller chooses a mode. Capture gaps remain explicit, and traces cannot
prove hidden reasoning. The
Observer SDK guide
describes sinks, recording modes, and capture states. This Observer is part of scaneval;
no separate Python Observer distribution is needed. A
TypeScript SDK
shares the trace contract and remains available as source. This release publishes only
the Python scaneval distribution.
Cases, datasets, and execution limits
Start with the selected CVE corpus, bring your own corpus, or dataset adapters. Scoring uses supplied review decisions; unreviewed findings remain unresolved.
The local execution backend runs scanners as the operator and enforces no isolation. The OCI backend supports specific adapters and configurations; read the threat model before live runs. Keep scanner outputs, private findings, credentials, and content traces local.
Source and issues are on GitHub. ScanEval is MIT licensed; external scanners and source snapshots retain their own licenses.
Metadata
Release files for scaneval 2.0.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scaneval-2.0.0a1.tar.gz | 2.6 MB | With provenance | Details for scaneval-2.0.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scaneval-2.0.0a1-py3-none-any.whl | Python 3 | none | any | Details for scaneval-2.0.0a1-py3-none-any.whl |
Total release size: 3.6 MB
Release files / scaneval-2.0.0a1.tar.gz
| Download URL | scaneval-2.0.0a1.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ee1aa483db2569b262dfd945fb8ac6e75e7a34d480c45cc6c5976a1f91ff29c
|
|
BLAKE2b-256 checksum How to use checksums |
654fd555ca79f225a2dabe77934ed3b692407213fad5eb785eab057d0543cbef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logRelease files / scaneval-2.0.0a1-py3-none-any.whl
| Download URL | scaneval-2.0.0a1-py3-none-any.whl |
|---|---|
| Size | 1.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6685a85195a466dd4e1ba1dbdbe307f810c05c77077ab46fd6667fdf2e8fbc5
|
|
BLAKE2b-256 checksum How to use checksums |
f2bad3d3c6bfa222b0ade842d8f8676110a4d31bbb41becdadf7bdba727998fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logSecurity for scaneval 2.0.0a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for scaneval-2.0.0a1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.