Skip to main content

Copier Badge

slsa

Build and test Licence OpenSSF Scorecard KTL scorecard

Supply-chain Levels for Software Artifacts (LinkML)

Only want to ask? Install ktl-docent into any agent you use, by a route from the install page, and ask it about this project. It answers from the bundle and says how far each answer has been checked.

Agents: if .lokf/knowledge/index.md exists, read it first. llms.txt says how to weigh it.

Documentation Website

https://lmodel.github.io/slsa

What it models

The schema models the SLSA specification, version 1.2: the Build and Source tracks, the build provenance and Verification Summary Attestation predicates, and the roles, build platform and package model. The in-toto statement layer comes from lmodel/in-toto's core module, vendored in src/slsa/schema/in_toto/. The Dependency and Build Environment tracks follow the working draft at 1.2. The copy in src/slsa/schema/spec/ matches the v1.2 tag, and a weekly workflow opens an issue when the SLSA Working Group tags a newer version.

Influences

Two sources add elements of their own, each in a subset: the CNCF Secure Software Factory whitepaper (slsa_ssf) and the SLSA adoption study by Tamanna et al. (slsa_adoption_study). docs/about.md says what each adds.

Mappings

SLSA publishes no alignment, so every mapping but the first is this project's own.

  • Predicate types: the two predicate classes map exactly to https://slsa.dev/provenance/v1 and https://slsa.dev/verification_summary/v1.
  • SPDX 3.0.1: Build profile, Core and Software terms. SPDX's build environment and configSource map where SLSA's migration table from 0.2 puts those fields.
  • DOAP and W3C PROV-O: the nearest terms.
  • W3C EARL 1.0: the results PASSED and FAILED mean EARL's outcomes of those names.

tests/test_schema_rules.py lists each term the mappings name and the file it was checked in.

Repository Structure

  • docs/: the documentation pages the website shows
    • docs/elements/: generated schema documentation
  • examples/: examples of using the schema
  • project/: project files (these files are auto-generated, do not edit)
  • src/: source files (edit these)
    • slsa
      • schema/: the LinkML schema, slsa.yaml and the modules it imports (edit these)
      • datamodel/: generated Python datamodel
  • tests/: Python tests
  • website/: the documentation website, a Hugo site built from the README, docs/, the schema's pages and the knowledge bundle

Developer Tools

Several pre-defined command-recipes are available using just. To see the list, run just or just --list.

Knowledge Trust Ladder (KTL)

.lokf/ holds this project's KTL knowledge bundle. Its domain schema, .lokf/schema/slsa.yaml, is the copy just lokf-adapt writes from src/slsa/schema/slsa.yaml, and just lokf-adapt-check says when it is stale. Edit the source, never the copy.

The copy roots these classes on Concept, so a concept may name any of them, or a subclass, as its type. In Obsidian, add them to the Known LOKF types setting of the KTL Registrar and KTL Curator plugins:

SlsaProducer, SlsaConsumer, SlsaVerifier, SlsaInfrastructureProvider, SlsaBuildImageProducer, SlsaBuildPlatform, SlsaControlPlane, SlsaPackage, SlsaPackageRegistry, SlsaSourceControlSystem, SlsaSourceRepository, SlsaSourceRevision, SlsaBuildImage

In the copy, LOKF's id stands in for each class's own identifier (builder_id, repository_uri and the like), so a concept writes id. LOKF 0.9.0 defines revision and predicate, so the copy renames them slsa_revision, with its IRI still slsa:revision, and slsa_predicate, with in-toto's IRI. A slsa document keeps both keys. media_type keeps its name, because lokf adapt does not compare class attributes, and takes LOKF's IRI, dcat:mediaType.

License

The schema and the code are under the Apache License 2.0 (LICENSE). The specification's pages in src/slsa/schema/spec/ and the CNCF Secure Software Factory whitepaper in docs/ keep their own licences: see NOTICE. This is not an official SLSA release, and its use does not imply endorsement by the SLSA Working Group, OpenSSF or the CNCF.

Contributing and security

CONTRIBUTING.md is the checklist for a pull request and for releasing. AI_COVENANT.md sets the rules for AI-assisted work. SECURITY.md says how to report a vulnerability. CHANGELOG.md records the changes.

Credits

This project uses the template linkml-project-copier published as doi:10.5281/zenodo.15163584.

Metadata

Release files for slsa-linkml 0.11.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slsa-linkml 0.11.6
File Size Uploaded Provenance Actions
slsa_linkml-0.11.6.tar.gz 7.0 MB With provenance Details for slsa_linkml-0.11.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for slsa-linkml 0.11.6
File Interpreter ABI Platform Actions
slsa_linkml-0.11.6-py3-none-any.whl Python 3 none any Details for slsa_linkml-0.11.6-py3-none-any.whl

Total release size: 7.6 MB

Release files / slsa_linkml-0.11.6.tar.gz

Download URL slsa_linkml-0.11.6.tar.gz
Size 7.0 MB
Tags Source
SHA-256 checksum
How to use checksums
463ed6c3bf9ff964987f4ff91daf4bb1c2937bc0aaa258751e7da78da92a0349
BLAKE2b-256 checksum
How to use checksums
11d25920b6c34b59288d16085dc279afed928434c946257029ad19eda28a3b8d
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 19, 2026.

Transparency log

Release files / slsa_linkml-0.11.6-py3-none-any.whl

Download URL slsa_linkml-0.11.6-py3-none-any.whl
Size 508.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e09f764064efe5954b32413327324b5c0575cad1083848c4d71e64c32a243d00
BLAKE2b-256 checksum
How to use checksums
603415d5f52aa4953edd3ec99139bee66e4cf974162b8346ac6034fe75c1001f
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 19, 2026.

Transparency log

Security for slsa-linkml 0.11.6

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.

Select from 2 files

Attestation for slsa_linkml-0.11.6.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 19, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.11.6 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page