← Latest papers
💻 computer science

Trustworthy and Confidential SBOM Exchange

This paper presents Petra, a format-agnostic SBOM exchange system that enables vendors to securely distribute redacted software bills of materials using selective encryption, allowing consumers to cryptographically verify integrity and query specific security details without exposing unauthorized confidential metadata.

Original authors: Eman Abu Ishgair, Chinenye Okafor, Marcela S. Melara, Santiago Torres-Arias

Published 2026-03-13
📖 5 min read🧠 Deep dive

Original authors: Eman Abu Ishgair, Chinenye Okafor, Marcela S. Melara, Santiago Torres-Arias

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: The "Secret Recipe" Dilemma

Imagine you are a famous chef (a Software Vendor) who makes a delicious lasagna (a Software Product). To make it, you use ingredients from other people: tomatoes from Farmer John, cheese from Dairy Queen, and noodles from Noodle Co.

In the world of software, this list of ingredients is called an SBOM (Software Bill of Materials). Governments and security experts are saying, "You must show us your ingredient list so we know if there are bad tomatoes (vulnerabilities) or if you're using stolen recipes (licensing issues)."

But here is the catch:

  • The Chef's Fear: "If I show my full ingredient list, my competitors will steal my secret sauce recipe (Intellectual Property), or they will see that I use a specific brand of cheese that has a known mold issue (Security Vulnerability), which might make me look bad."
  • The Customer's Fear: "If you hide parts of the list, how do I know you aren't hiding something dangerous? How do I trust you?"

Currently, chefs either show the whole list (risking secrets) or hide it completely (risking trust). There is no middle ground.

The Solution: Petra (The "Magic Redacting Pen")

The researchers built a system called Petra. Think of Petra as a magical, tamper-proof redacting pen that can be used on a recipe card.

Here is how it works, step-by-step:

1. The Magic Tree Structure

Instead of a flat list of ingredients, Petra turns the recipe into a Tree.

  • The top of the tree is your Lasagna.
  • The branches are the Noodles, Sauce, and Cheese.
  • The leaves are the specific details (Brand, Version, Supplier).

This structure is important because it keeps the relationships clear. Even if you hide the brand of cheese, the tree still shows that "Cheese" is a branch of "Lasagna."

2. The Selective Redaction (The "Key" System)

This is the coolest part. Petra doesn't just black out words with a marker. It uses Encryption (scrambling the text) based on Keys.

  • The Chef (Producer) decides who gets to see what.
    • Scenario A: "The Auditor (a government inspector) can see the entire list, including the secret sauce."
    • Scenario B: "The Customer can only see that 'Cheese' is used, but not the brand name."
    • Scenario C: "The Competitor sees nothing."

Petra uses a special lock (called CP-ABE) that only opens if you have the right "ID card" (attributes). If you are an auditor, your ID card has the "Auditor" stamp, and the lock clicks open. If you are a competitor, your ID card doesn't have that stamp, and the text remains scrambled.

3. The "Tamper-Evident" Seal (The Merkle Tree)

What stops the Chef from secretly changing the recipe after they redact it? (e.g., "I told the customer there was cheese, but I actually used plastic!").

Petra uses a Merkle Tree, which is like a digital fingerprint for the whole recipe.

  • Imagine every word in the recipe is a brick.
  • Petra takes a photo of every brick and hashes them (creates a unique digital fingerprint).
  • Then it takes photos of the photos, and photos of those photos, all the way up to the top of the tree.
  • The final photo at the very top is the Master Fingerprint.

If the Chef tries to swap a "Cheese" brick for a "Plastic" brick, the fingerprint of that brick changes. This change ripples up the tree, changing the Master Fingerprint.

  • The Result: If the Master Fingerprint doesn't match the one the Chef originally signed, everyone knows the recipe was tampered with. Even if the text is redacted (scrambled), the structure and the proof that "something is there" remains visible and verifiable.

How It Works in Real Life

  1. The Chef creates the lasagna and the full ingredient list.
  2. Petra takes the list, turns it into a tree, and locks specific parts based on who is allowed to see them.
  3. The Chef signs the "Master Fingerprint" to prove, "I promise this is the real list."
  4. The Distributor (the delivery truck) carries the redacted list. They don't even have the keys to open the locks; they just carry the box.
  5. The Customer receives the box. They use their ID card to unlock the parts they are allowed to see.
  6. The Customer checks the Master Fingerprint. If it matches, they know:
    • The Chef didn't delete a dangerous ingredient.
    • The Chef didn't add a fake ingredient.
    • The parts they couldn't see are genuinely hidden, not missing.

Why This is a Big Deal

  • No More "Trust Me": You don't have to trust the Chef blindly. The math proves the list is honest.
  • Privacy Preserved: Chefs can share their lists without fear of losing their trade secrets.
  • Interoperability: It works no matter what software tools the Chef or Customer uses. It's like a universal translator for recipe cards.
  • Efficiency: The paper shows that adding this "magic" only makes the file size slightly bigger (about 13%) and takes less than a second to process.

The Bottom Line

Petra is a system that lets software companies share their "ingredient lists" (SBOMs) securely. It allows them to hide their secrets (like secret recipes) while proving to customers and auditors that they aren't hiding anything dangerous. It uses digital locks for privacy and digital fingerprints for trust, solving the age-old problem of how to be transparent without being exposed.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →