The Case for in-toto: Proof for Every Step of the Build

in-toto explained in plain terms means understanding the framework that records every step of a software supply chain so the finished product can be checked, a system that turns a build pipeline into signed evidence. The central question is why a build needs proof when the code is already tested, and the answer is that tests check what the code does, while in-toto checks that the code was built by the right people in the right order, so a tampered step cannot hide behind passing tests.

in-toto is a framework for securing the integrity of the software supply chain, developed at New York University’s Secure Systems Lab and introduced in a 2017 paper. A project owner writes a layout describing the steps, the people allowed to perform them and the files each step should produce, and every step is recorded in signed link metadata, which means the final product carries a verifiable history, and because the history is signed, a fake step cannot be inserted after the fact.

This article makes the case for in-toto, what it is, how it works, and where it runs in the real world.

Key takeaways

  • in-toto records every supply chain step as signed metadata.
  • NYU researchers introduced it in 2017.
  • A layout declares the steps and who may perform them.
  • Link metadata records each step’s inputs and outputs.
  • It graduated as a CNCF project in 2023.

What in-toto is

in-toto is a framework that turns a supply chain into a checkable story, and that story is what makes it unusual among security tools. Each step of building, testing and packaging is written down and signed, which means the user installing the software can verify that nothing was skipped or swapped, and because the story is complete, a missing step is as visible as a wrong one.

Its signature feature is the layout. Most supply chain tools watch one part of the pipeline, but in-toto starts with a signed plan of the whole chain, which means the verification is against what was intended rather than what happened, and because the plan names the keys allowed at each step, a step performed by the wrong person fails the check.

The framework was a reaction to supply chain attacks. Compromised build servers and tampered packages kept hurting users who had done nothing wrong, so the NYU team asked whether the supply chain itself could be made verifiable, because a user who cannot check the build must trust every machine it touched, and that practicality is what made in-toto worth building.

It became one of the best-known supply chain frameworks in the world, and it is named in every discussion of the field. The paper appeared at USENIX Security in 2019, in-toto joined the Cloud Native Computing Foundation as a sandbox project in 2019 and graduated in 2023, and it is still the first example engineers meet when they learn that a build can carry its own proof, which means the framework survives as a standard even though it is a research project at heart.

Our guide to SBOMs explains the ingredient list in-toto’s attestations often carry, and our guide to SLSA explains the maturity levels in-toto helps a project climb.

How in-toto works

Everything starts with the layout, which sets the plan. The project owner writes a signed document listing each step, the functionary allowed to perform it and the artifact rules for its inputs and outputs, which means the whole chain is declared before anything runs, and because the layout is signed, nobody can quietly rewrite the plan mid-build.

Each step begins with a functionary, which does the work. A functionary is a person or a system that performs one step, like cloning, building or testing, which means responsibility is attached to every action, and because each functionary signs its own record, a step cannot later be blamed on someone else.

Link metadata is what makes the design work as a whole. After each step, the functionary writes a signed file recording the hashes of the materials consumed and the products created, which means the chain of files is fully traceable, and because each record is signed, a tampered file breaks the chain at exactly the step where it changed.

Artifact rules spread the protection further. The layout can demand that a step creates, modifies or deletes only certain files, and can require that one step’s output matches the next step’s input, which means a build that smuggles in an extra file fails verification, and because the rules are checked by hash, even a one-byte change is caught.

Verification is what turns the records into a verdict. The client collects the layout and all the link metadata and checks every signature, rule and hash, which means the software is accepted only if the whole story checks out, and because verification is mechanical, it can run automatically on every install.

The result comes from the verification, read out as a pass or a failure. in-toto reports whether the product matches its declared supply chain, which means the result is a clear verdict whatever the project, and that clarity is exactly what a user installing software needs.

A dark build room with an engineer checking a signed supply chain pipeline on a large monitor, a laptop and a notebook on the desk
A dark build room with an engineer checking a signed supply chain pipeline on a large monitor, a laptop and a notebook on the desk, shows how in-toto works: steps take turns being recorded and signed, step after step, until a build is verified.

Comparing in-toto with other supply chain tools

in-toto is one of several ways to secure a software supply chain, and each was built with a different emphasis. SLSA is the maturity framework built to grade a build process, Sigstore is the signing service built to make signing easy, and in-toto is the one built to record and verify every step, while each approach trades something for something else.

The table below sets out the main contrasts between the leading approaches.

Aspect in-toto SLSA Sigstore
What it does Records and verifies steps Grades build maturity Signs artifacts easily
Core artifact Layout plus link metadata Provenance levels Transparency log entries
Who signs Each functionary The builder Anyone, keylessly
Needs a plan Yes, the layout No No
Best for Full chain proof Measuring maturity Simple signing

The practical result is that in-toto is the right choice for full chain proof, SLSA suits measuring maturity, and Sigstore fits simple signing instead.

Where in-toto is used

Open-source projects use it to prove their builds. A project can ship its layout and link metadata with every release, because users should be able to check that the binary matches the source, and that proof is the reason in-toto earns its keep in open source.

Cloud-native teams use it inside their pipelines. Container builds and deployments generate attestations as they run, because a deployment pipeline is a supply chain too, and that coverage is the reason the design was built for real infrastructure.

Governments use it for software assurance. Public bodies that buy software want evidence of how it was built, because procurement needs proof rather than promises, and that evidence is the reason in-toto appears in assurance work far beyond its academic origins.

Benchmarking uses it as the supply chain reference. Engineers still quote in-toto when they discuss how a build should be recorded, because it is the clearest example of a verifiable chain, and that number shapes how new frameworks are measured.

Teaching uses it as the farm-to-table example. Courses introduce in-toto when they explain that software has a supply chain like food, because it is the clearest case of tracking every step from source to install, and a student who understands in-toto understands why a binary is only as trustworthy as its build.

Strengths and limits

The greatest strength of in-toto is its completeness. A layout covers the whole chain from cloning to packaging, and that strength is real, measured in the compromises its model was shown to catch and confirmed by its adoption as a CNCF graduated project.

It is also a strength that the verification is independent. A client needs only the layout, the metadata and the public keys, and that independence is worth more than cleverness in a field where a check that needs the builder’s help is a check that cannot be trusted.

The limits are real, though, and the biggest is the setup cost. Writing a good layout takes thought and maintenance, which means small projects may find the effort heavy, and a system that needs quick adoption must start with a simpler tool.

in-toto checklist

  • Use in-toto for supply chain proof, never as a code scanner.
  • Remember NYU researchers introduced it in 2017.
  • Note the layout declares every step and its functionary.
  • Compare it with SLSA to see proof versus maturity.
  • Study the artifact rules, which are what chain steps together.
  • Check the signatures, since unsigned metadata proves nothing.
  • Keep layouts updated, since a stale plan fails good builds.
  • Read the in-toto specification to see how the model was set.
  • Choose in-toto when a build must carry its own proof.

Frequently asked questions

What is in-toto in simple terms?

It is a framework that records every step of building software in signed files, so users can check nothing was tampered with.

Who created in-toto?

Researchers at NYU’s Secure Systems Lab, led by Santiago Torres-Arias and Justin Cappos, who published it in 2017.

How is in-toto different from SLSA?

Both secure supply chains, but in-toto records and verifies each step while SLSA grades how mature a build process is.

Is in-toto still secure?

It is a CNCF graduated project in active use, but it needs a well-written layout, so a sloppy plan weakens the whole check.

Where is in-toto used?

In open-source releases, in cloud-native pipelines, in government assurance, and in teaching about supply chains.

When should I use in-toto?

When you must prove how software was built, when you ship to wary users, or when you study supply chain security.

The bottom line

in-toto explained in one line is this: a receipt for every step, a 2017 framework that made software builds checkable and taught the field that trust in a binary should come from evidence, not from habit.

It is proof that a supply chain can be audited like a ledger, and the reason it still matters is that every supply chain tool designed since has been judged partly by the lesson in-toto taught.

This article is general information about how in-toto works, not advice about choosing encryption for a particular device or system.

Latest articles

Scroll to Top