Repository navigation
v0.4.0b2
Pre-release
Pre-release
[0.4.0b2] - 2026-11-08
First 0.4.0 beta (codename Pivot). Adds the gated financial verification
classes (Phase 2) and the machine-readable report emitters (Phase 3). Published
to TestPyPI only; the PyPI Trusted Publisher stays configured and pending for
the eventual stable 0.4.0. Verify the release's PEP 740 attestations as
described in docs/releases/0.4.0b2.md.
Supersedes the unpublished 0.4.0b1 tag, whose release workflow failed its quality
gate before building or publishing anything; this beta fixes the two causes (see
Fixed).
Added
- Financial verification classes (Phase 2) — each a gated, replay-backed
check on the one capability contract, verified only by an in-scope read-back,
never an LLM:- Order IDOR (2.1) — a two-session cross-account order read; reproduced
when the non-owner receives the owner's exact object. - Coupon abuse (2.2) — a client-supplied coupon the shop never issued;
reproduced when a read-back shows the illegitimate discount durably applied. - Payment-status trust (2.3) — a client-set order status persisted without
settlement; reproduced when a read-back shows the order durably marked. - Refund abuse (2.4) — an over-refund with no amount/idempotency check; the
gated re-send is the double-refund corollary; reproduced when the refunded
total durably exceeds the amount paid. - Race condition (2.5) — a check-then-act double-processing opportunity,
verified by a bounded, rate-limited, gated concurrency harness. Marked
VERIFIEDonly on a deterministic in-scope double-processing read-back;
otherwise an honestINCONCLUSIVEhuman-review lead (never a forced verdict,
never evidence the race is absent).
- Order IDOR (2.1) — a two-session cross-account order read; reproduced
- SARIF 2.1.0 report writer (Phase 3, Unit 3.1) —
--format sarif.ruleId
from the rule catalog,levelfrom the frozen severity map, the versioned
fingerprint underpartialFingerprints; aphysicalLocationonly when a real
source file exists, else alogicalLocation(the GitHub code-scanning display
caveat is documented, never worked around). - CycloneDX 1.6 and SPDX 2.3 SBOM writers (Phase 3, Unit 3.2) —
--format cyclonedx/--format spdx. Components/packages are built from the
frozen package URLs; CycloneDX emits a VEX entry (analysis.state=exploitable)
for verified, purl-bearing findings. Empty when the report carries no purls —
emitted truthfully, never fabricated.
Changed
- The rule catalog now carries every Phase-2 financial class, so every emitter's
rule metadata is complete. - All machine report formats (
json,sarif,cyclonedx,spdx) render from a
single shared report document, so they cannot drift from one another.
Fixed
- Release CI on Python 3.10 — the release-pipeline guard test read
pyproject.tomlwithtomllib, which is standard-library only from Python 3.11;
the quality jobs run on 3.10 (the minimum supported version), so it failed to
import. It now falls back to thetomlibackport (added as apython_version < "3.11"dev dependency). - Self-audit of the unpublished package — the supply-chain audit job ran
pip-audit --strictover the whole environment, including our own editable
install, and failed because the pre-release version is not yet on PyPI. It now
audits a frozen list of the non-editable dependencies, excluding our own package
while keeping--strictover every real dependency.
Security
- Report formats validate offline against vendored official JSON Schemas (SARIF
2.1.0, CycloneDX 1.6, SPDX 2.3); the air-gapped tool never fetches at runtime. - Release workflow actions are pinned to commit SHAs; publishing keeps PEP 740
Sigstore attestations via Trusted Publishing, with no stored API tokens.