Knowledge Base Regulation Tracker Standards & Frameworks OSS Directory AI Incident Database Research Paper Library Case Studies Society Articles News Jobs About Charter Sign inBecome a Member

in-toto

Model signing and attestation

Framework for protecting software supply chain integrity by recording signed attestations for every step of a pipeline and verifying them against a layout, applicable to model training and packaging pipelines. Named in the taxonomy.

attestationsupply chainprovenance

How in-toto Works

in-toto is an open metadata standard designed to secure the integrity of software supply chains by recording and verifying signed attestations at each step of a pipeline. This framework operates on the principle that every stage of the software development lifecycle—from initial code commit to final deployment—should be verifiable and immutable.

The core mechanism of in-toto involves generating cryptographic signatures, known as attestations, for each step in the pipeline. These attestations are linked sequentially, forming a chain of trust that can be validated against a predefined layout. A layout file specifies the expected steps, inputs, outputs, and commands for a given pipeline, serving as a reference for verification. If any step deviates from the layout, the verification process flags the inconsistency, ensuring that only trusted and unaltered software reaches the end user.

This ensures that only authorized parties can create valid attestations, and any tampering with the pipeline steps is detectable. The framework supports multiple cryptographic backends, including GPG, which is widely used for signing and verification.

The verification process in in-toto involves comparing the recorded attestations against the layout file. If the attestations match the expected steps and outputs, the pipeline is deemed trustworthy. This approach is particularly valuable in environments where supply chain attacks—such as compromised dependencies or malicious code injections—pose significant risks.

in-toto is implemented as a set of Apache-licensed libraries and tools, making it accessible for integration into existing software development workflows. The framework is designed to be language-agnostic, though its primary implementation is in Python.

Developers can integrate in-toto into their pipelines by generating attestations for each step and linking them together. The verification process is similarly straightforward, requiring only the layout file and the sequence of attestations.

in-toto is a CNCF graduated project, indicating its maturity and adoption within the open-source community. The project’s documentation and community resources provide guidance on implementation, troubleshooting, and best practices for securing supply chains using in-toto.

Use Cases

in-toto is particularly well-suited for securing software supply chains in environments where integrity and traceability are critical. One of its primary applications is in model training and packaging pipelines, where the integrity of machine learning models is paramount.

In model training pipelines, in-toto can verify that each step—from data preprocessing to model training and evaluation—has been executed as intended. For example, an attestation might confirm that a specific dataset was used for training, that no unauthorized modifications were made to the training script, and that the resulting model weights were generated using the correct hyperparameters.

When software is packaged for distribution—whether as containers, binaries, or container images—in-toto can attest to the integrity of each artifact.

This end-to-end verification reduces the risk of introducing vulnerabilities or malicious code into the production pipeline.

Beyond software development, in-toto can be applied to other domains where supply chain integrity is a concern, such as firmware updates, medical device software, or financial transaction systems.

Key Features & Capabilities

in-toto provides several key features that make it an effective tool for securing software supply chains. One of its most important capabilities is the generation and verification of signed attestations. These attestations serve as cryptographic proofs that a specific step in the pipeline was executed correctly and by an authorized party. Each attestation includes metadata such as the step’s inputs, outputs, commands, and the identity of the signer, ensuring full transparency.

A layout file specifies the sequence of steps, their inputs and outputs, and the commands used to execute them. During verification, in-toto compares the recorded attestations against this layout to ensure that no unauthorized or unexpected steps were performed. This capability is particularly useful for detecting supply chain attacks, such as dependency tampering or unauthorized code injections.

The framework provides libraries and tools that can be incorporated into existing pipelines with minimal disruption. Developers can generate attestations for each step of their pipeline and link them together to form a chain of trust. The verification process is similarly straightforward, requiring only the layout file and the sequence of attestations.

The framework’s support for Python and its language-agnostic design further enhance its adoption potential. While the primary implementation is in Python, in-toto can be used with pipelines written in other languages, provided they can generate and verify signatures compatible with the framework.

in-toto also includes tools for exporting and verifying signatures, which are essential for maintaining the integrity of the attestation chain. These tools allow developers to inspect the signatures and metadata associated with each step of the pipeline, providing additional assurance that the pipeline has not been compromised. The ability to export signatures also facilitates collaboration and auditing, as third parties can verify the integrity of the pipeline independently.

As a CNCF graduated project, in-toto benefits from a strong community and ecosystem of adopters and integrations.

in-toto’s compatibility with other CNCF projects and tools further extends its utility. This interoperability makes in-toto a valuable component of modern software security strategies, particularly in environments where supply chain integrity is a top priority.

Sources

Contribute

Spot an error, or know a record we should add? Members can propose additions and submit corrections.