Skip to content

About

CVE incomplete-fix fixture series that replays the original bug and probes sibling paths for the same broken invariant.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

OATHLEDGER

OATHLEDGERTHE BLACKLOCK INSTRUMENTS

THE BLACKLOCK INSTRUMENTS | A ShatterPoint Security research suite OATHLEDGER: CVE incomplete-fix fixture series Author: Gavin Blacklock (Epsilon0xCell)

Invariant

A patch is complete only if every code path that shares the patched security invariant enforces it. Fixing the reported path while a sibling path leaks the same way is not a fix, and this ledger proves the difference with a fixture.

One-command run

python3 -m oathledger.harness --all
python3 -m unittest discover -s tests -v

Exit codes: 0 means NO_VIOLATION, 1 means VIOLATION, 2 means INCONCLUSIVE.

Results and limits

The B0-vs-M harness first replays the original vulnerable behaviour (B0) as a positive control. Only if B0 reproduces does it probe a distinct sibling path (M) on the candidate release and return VIOLATION or NO_VIOLATION. A failed positive control returns INCONCLUSIVE, never a pass.

The one worked entry, DEMO-001, is synthetic and local: release 1.0.1 patched the main file-read path and missed the sibling export path (VIOLATION), and release 1.0.2 patched both (NO_VIOLATION). It is clearly labelled DEMO and no real CVE identifier is used or implied. New entries use the folder template in template/ENTRY-TEMPLATE/ and the per-entry versions table format.

Detection

Each entry must ship a regression fixture that fails on the vulnerable release and passes on the fully patched release, so CI is the detection: if the invariant breaks again on any covered path, the fixture goes red. DEMO-001 is covered by tests/test_harness.py, including the INCONCLUSIVE gate.

Disclosure

Real entries, when added, follow coordinated disclosure: the maintainer is contacted first, a fix and retest are offered, and publication waits for a fix or an agreed timeline. Nothing in this repository names a real unpatched product. Licence: MIT, see LICENSE. Reporting: see SECURITY.md.

About

CVE incomplete-fix fixture series that replays the original bug and probes sibling paths for the same broken invariant.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages