szl-kernel-attest
Fail-closed ring-0 workload attestation for the SZL estate: observes a workload from beneath it (kernel scheduler events via bpftrace tracepoint:sched:sched_switch) so a workload cannot lie about what ran.
Doctrine (fail-closed)
Kernel claims appear in a receipt only when bpftrace actually observed them. If bpftrace is missing, BPF is root-only without passwordless sudo, or the probe output cannot be parsed, the receipt carries kernel_evidence: null with an honest note — never a fabricated ring-0 claim. NVML energy is optional and equally fail-closed.
Usage
python -m szl_kernel_attest --comm python3 --duration 5
python -m szl_kernel_attest --comm python3 --duration 5 --no-burn --out receipt.json
Receipt schema szl.kernel-attest/v1 (sha256, sorted-keys canonical JSON). Key fields: kernel_evidence.sched_switch_events (int|null), fail_closed (bool), nvml.joules (float|null), environment facts.
Roadmap
- T0 (done 2026-11-15): kernel-attest smoke on szl-frontier-gate-1 (bpftrace sched_switch observed for a python3 burn; receipt mesh/kernel-attest-smoke-9ab0bf10ba2d.json on SZLHOLDINGS/frontier-54-runs).
- T1 (this package): pip package + CI fail-closed probe.
- T2: tie kernel counters to the conformal abstention / Lambda-geometry lane and to x402 (pay for kernel-attested inference).
Apache-2.0. Part of the SZL Holdings estate.
Metadata
Release files for szl-kernel-attest 0.1.0
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 |
|---|---|---|---|---|
| szl_kernel_attest-0.1.0.tar.gz | 8.6 kB | With provenance | Details for szl_kernel_attest-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| szl_kernel_attest-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for szl_kernel_attest-0.1.0-py3-none-any.whl |
Total release size: 17.6 kB
Release files / szl_kernel_attest-0.1.0.tar.gz
| Download URL | szl_kernel_attest-0.1.0.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a9a64d426c753e58a90864e2c530e457012df53e46d040b0a13a5409bf52c65
|
|
BLAKE2b-256 checksum How to use checksums |
2c67a87f53483db43beebcda15c02347f7c57a60648a44640a366ca33ce53cbd
|
| 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 15, 2026.
Transparency logRelease files / szl_kernel_attest-0.1.0-py3-none-any.whl
| Download URL | szl_kernel_attest-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
359dbc248f74edb1402fead3368df0e0d08fb1546a2cf0215341397227a2249b
|
|
BLAKE2b-256 checksum How to use checksums |
c04f10f0f0ad7162ddbeda886d9c6666ee3f0786ef4f669f7cb6e70bd3e6e227
|
| 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 15, 2026.
Transparency logSecurity for szl-kernel-attest 0.1.0
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 szl_kernel_attest-0.1.0.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 15, 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.