Download GETTING_STARTED.md from dislove/evidence-backed-authority-verification: direct link, hf CLI and curl.
- Browser
- Download file 6.33 kB
-
https://huggingface.co/datasets/dislove/evidence-backed-authority-verification/resolve/main/GETTING_STARTED.md
- Command line
-
hf download hf://datasets/dislove/evidence-backed-authority-verification/GETTING_STARTED.md
-
curl -L -o GETTING_STARTED.md https://huggingface.co/datasets/dislove/evidence-backed-authority-verification/resolve/main/GETTING_STARTED.md
Getting started
Five minutes, no privileges, no dependencies. Every command below was run in this package and the output shown is what it printed.
Requirements
Python 3 and nothing else. No pip install, no network, no root, no Docker. The
model is pure: no I/O, no clock, no host access. Verified on Python 3.14.6; the
code uses no version-specific features and ruff is the only optional extra.
# from a clone, or after `hf download`:
cd evidence-backed-authority-verification
python3 --version
1. Does the verdict follow from the evidence?
This is the check worth running first. It re-derives the verdict from the shipped evidence files using the same pure model the verifier uses, then diffs it against the recorded result.
python3 reproduce_verdict.py
RECOMPUTED FROM SEALED EVIDENCE
verdict BLOCKED_ROOT_EQUIVALENCE
specific_reason BLOCKED_ROOT_EQUIVALENCE_DOCKER
evidence digest ab4ae6bcb450971214b4e4e6a34be75147653826400ccd09c5e3786415e1c9ac
match verdict BLOCKED_ROOT_EQUIVALENCE
match specific_reason BLOCKED_ROOT_EQUIVALENCE_DOCKER
path set recomputed recorded
match root_equivalent_paths 3 3
match authority_equivalent_paths 0 0
match unknown_privilege_paths 1 1
match requires_operator_evidence_paths 18 18
RESULT: MATCH -- the recorded verdict follows from the shipped evidence
22 path ids block; exclusivity is not proven, as recorded
Exit code 0 means the recorded verdict is a consequence of the shipped evidence rather than an assertion about it. Exit 1 would mean drift — the record claiming something the evidence does not support.
2. Is the evidence the evidence that was sealed?
python3 check_manifest_chain.py
Expect RESULT: PASS, with 30 superseded entries and 5 phantom entries listed and
explained. Do not be alarmed by sha256sum -c reporting failures on the
individual manifests — the manifests are append-only and are supposed to do that.
VERIFYING.md explains the whole chain, including the one real
break found in this package and how it was repaired.
If you want the raw form, the newest manifest is the one that verifies clean:
sha256sum -c sha256sums.paper.txt
./CHANGELOG.md: OK
./CHANGE_SUMMARY.md: OK
./EXECUTIVE_SUMMARY.md: OK
...
./references.bib: OK
./tests/test_exclusivity_model.py: OK
./verify_v3.py: OK
18 entries, 18 OK.
3. Does the model do what the paper says?
python3 -m unittest discover -s tests
Ran 83 tests in 0.103s
OK
Among them is the exhaustive check behind Theorem 1, which prints as it runs:
Theorem 1: 2646 cases enumerated, 5 reached VERIFIED
Every reachable combination of path classifications and condition states is
enumerated and the safety property checked on each. The second number is the
anti-vacuity guard: if no case reached VERIFIED, the theorem would be true
only because the verifier never says yes, which would prove nothing.
You will also see this go past, which is not an error:
admissible: False
this process is not measuring the host agent identity, so any inventory it produced would describe the sandbox. Disqualifiers: uid_map is a namespace slice: [(1000, 1000, 1)]
left intact: PRIVILEGE_TOPOLOGY_FINAL.json
That is a test asserting the collector refuses to write when it cannot prove it measured the host. See §4 below.
4. Can the gate be fooled?
python3 cutover_gate_control.py
NEGATIVE_inventory_from_sandbox rc=1 verdict=BLOCKED_PRIVILEGE_UNCERTAIN
NEGATIVE_sandbox_hides_a_root_path rc=1 verdict=BLOCKED_PRIVILEGE_UNCERTAIN
NEGATIVE_partial_surface_coverage rc=1 verdict=BLOCKED_PRIVILEGE_UNCERTAIN
NEGATIVE_dropped_surface_does_not_clear rc=1 verdict=BLOCKED_PRIVILEGE_UNCERTAIN
NEGATIVE_summary_edited_to_hide_root rc=1 verdict=BLOCKED_ROOT_EQUIVALENCE
control cases: 15 mismatches: 0
(the last five of fifteen)
15 cases: one positive control that must pass, and 14 negatives that must each block for the stated reason — a negative that blocked for the wrong reason counts as a mismatch. Each negative is an attack on the gate: hiding a root path by measuring from a sandbox, dropping a surface from coverage, editing an inventory's self-reported summary to conceal a root path.
5. Optional: lint
ruff check .
All checks passed!
What you cannot reproduce, and why that is deliberate
The host collectors will not reproduce the §13 counts on your machine, and are designed not to try:
python3 privilege_context.py # rc=0 only in a host-representative context
python3 privilege_topology.py
python3 privilege_resolution.py # rc=2 if not host-representative
python3 verify_v3.py
privilege_resolution.py refuses to write in any context that cannot prove it
measured the host as the agent identity. Run it in a container and it reports
admissible: False, names its disqualifiers, and leaves the existing artifact
untouched.
This is Finding 3 made into a mechanism. The same collector, run inside a sandbox on an unchanged host, reports zero root-equivalent paths — a clean bill of health that is entirely an artifact of where it was run. Binding every inventory to its measurement context is what stops that false negative from being recorded as a verdict. The consequence is that an artifact evaluator in a container cannot regenerate the host numbers, which is a real limitation and is stated as one in §16 of the paper.
Where to go next
| You want | Read |
|---|---|
| The argument, in full | paper.pdf (39 pp) or paper.md |
| The one-page version | EXECUTIVE_SUMMARY.md |
| Why the verdict is blocked, concretely | REPORT.md, then PRIVILEGE_CLOSURE_REPORT.md |
| The 57 measured paths | PRIVILEGE_TOPOLOGY_FINAL.json |
| What a human with root must check | OPERATOR_EVIDENCE_CHECKLIST.json — 18 open items |
| Objections, answered | FAQ.md |
| Terminology | GLOSSARY.md |
| What every file is | FILE_INDEX.md |
| What was wrong, and when | CHANGELOG.md |