Transparency Log · RFC 6962 + Checkpoint

Sigstore Rekor Merkle Inclusion Proofs & Offline Log Entry Verification

Understand how Rekor's append-only Merkle tree, canonicalizedBody, signedEntryTimestamp (SET), and checkpoint envelopes enable tamper-evident offline attestation verification.

100% Browser-Side · Zero Telemetry (connect-src 'none')

1. Paste SBOM or Sigstore / Rekor JSON

CycloneDX · SPDX · Sigstore
Sigstore Bundle
100 / 100
PASS

Pass: 8 · Warnings: 0 · Errors: 0

Artifact / Envelope
DSSE (application/vnd.in-toto+json)
in-toto DSSE
Fulcio OIDC Issuer
token.actions.githubusercontent.com
https://github.com/runglab/mcpdiet/.github/workflows/release.yml@refs/tags/v1.3.0
Rekor Log Index
#148293045
2026-11-26T14:22:30.000Z
Merkle Inclusion Proof
3 hashes
Tree 148293102
SIG-MEDIA-001: Sigstore Bundle mediaType: application/vnd.dev.sigstore.bundle.v0.3+json PASS
Valid Sigstore protobuf-JSON bundle envelope detected.
SIG-ENV-001: Valid in-toto DSSE attestation envelope PASS
Subject: pkg:npm/@runglab/[email protected] · Predicate: https://slsa.dev/provenance/v1
FULCIO-CERT-001: Fulcio OIDC Issuer: https://token.actions.githubusercontent.com PASS
SAN: https://github.com/runglab/mcpdiet/.github/workflows/release.yml@refs/tags/v1.3.0 · Validity: 10 min (2026-11-26T14:20:00.000Z → 2026-11-26T14:30:00.000Z)
FULCIO-TTL-001: Ephemeral keyless cert window (10 min) PASS
Short-lived Fulcio certificate (<60 min) confirms keyless OIDC signing at log integratedTime.
FULCIO-CI-001: CI Provenance Claims: github-hosted · refs/tags/v1.3.0 PASS
Repo: https://github.com/runglab/mcpdiet · Trigger: push
REKOR-TLOG-001: Rekor Log Index 148293045 · 2026-11-26T14:22:30.000Z PASS
Log ID: c0d23d6ad406973f9559f3ba2d1ca01f84147d8ffc5b8445c224f98b9591801d
REKOR-BODY-001: Decoded Rekor canonicalizedBody: kind=dsse (v0.0.1) PASS
Artifact/Envelope SHA-256: 8f4b2c7d1e9a0f3b6c5d4e2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c
REKOR-PROOF-001: Merkle Inclusion Proof verified (3 sibling hashes · Tree Size 148293102) PASS
Root Hash: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 · Signed Rekor checkpoint envelope present.
Actionable CLI, CI & RapidAPI Fix Commands
# Verify Sigstore bundle + Fulcio OIDC identity locally:
cosign verify-blob-attestation --bundle release.sigstore.json \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  --certificate-identity-regexp "https://github.com/runglab/mcpdiet/.github/workflows/release.yml@refs/.*" \
  artifact.tar.gz

# Query live Rekor log index / inclusion proof via RungLab RapidAPI v1.3.0:
curl -s 'https://runglab-developer-intelligence-api1.p.rapidapi.com/v1/rekor/entry/148293045' \
  -H 'x-rapidapi-key: <YOUR_KEY>'

# Lookup Rekor entries by artifact SHA-256 via RungLab RapidAPI v1.3.0:
curl -X POST 'https://runglab-developer-intelligence-api1.p.rapidapi.com/v1/rekor/lookup' \
  -H 'Content-Type: application/json' -H 'x-rapidapi-key: <YOUR_KEY>' \
  -d '{"sha256":"8f4b2c7d1e9a0f3b6c5d4e2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c"}'
VendorReady SBOM · Zero Upload $39 SOC 2 Procurement Dossier

Turn SBOMs & lockfiles into a 100-pt SOC 2 Procurement Dossier

Need CVE/CISA KEV risk scoring, directional SPDX copyleft checks, and buyer-ready SOC 2 security questionnaire evidence? Scan package-lock.json, requirements.txt, go.mod, CycloneDX or SPDX locally on VendorReady SBOM, export the $39 6-file SOC 2 Procurement Dossier, or call RungLab RapidAPI v1.3.0 (/v1/rekor/entry/{uuidOrIndex}, /v1/rekor/lookup, /v1/supply-chain/audit), Apify actors & MCP.

Specification & CI Field Reference

Field / Flag Expected Value Verification Purpose
logIndex & treeSize Integer position in append-only Merkle tree Inclusion proof proves leaf[logIndex] hashes up to rootHash at treeSize
hashes[] Log2(N) sibling SHA-256 audit path nodes Allows cryptographic inclusion proof without downloading full log
checkpoint.envelope Signed Rekor Tree Head (Origin, Size, RootHash, Sig) Replaces legacy SET trust when paired with inclusionProof
canonicalizedBody Base64-encoded Rekor entry JSON (hashedrekord / dsse / intoto) Exact leaf payload hashed into the Merkle tree (0x00 || body)

Verify Rekor Inclusion Proof & Query Live Entry via RapidAPI

rekor-verify.sh
# 1. Verify inclusion proof offline with rekor-cli
rekor-cli verify --log-index 148293045

# 2. Fetch live Rekor entry + parsed metadata via RungLab RapidAPI v1.3.0
curl -s "https://runglab-developer-intelligence-api1.p.rapidapi.com/v1/rekor/entry/148293045" \
  -H "x-rapidapi-key: <YOUR_RAPIDAPI_KEY>"

# 3. Search Rekor log entries by artifact SHA-256 digest
curl -s -X POST "https://runglab-developer-intelligence-api1.p.rapidapi.com/v1/rekor/lookup" \
  -H "Content-Type: application/json" \
  -H "x-rapidapi-key: <YOUR_RAPIDAPI_KEY>" \
  -d '{"sha256":"8f4b2c7d1e9a0f3b6c5d4e2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c"}'

Rekor RFC 6962 Leaf & Interior Node Hashing Formula

merkle-math.txt
# Domain separation prevents second-preimage attacks in Rekor / Certificate Transparency:
LeafHash(leaf_bytes)     = SHA256(0x00 || leaf_bytes)
NodeHash(left, right)    = SHA256(0x01 || left || right)

# 1. Decode base64 canonicalizedBody -> leaf_bytes
# 2. Compute h = LeafHash(leaf_bytes)
# 3. Fold sibling hashes[] using binary bit decomposition of logIndex vs treeSize
# 4. Assert final computed root === inclusionProof.rootHash
# 5. Verify checkpoint.envelope signature against trusted Rekor log public key

Key Security & Architecture Takeaways

  • Rekor v1+ bundles shift verification away from trusting a standalone signedEntryTimestamp (SET) promise to verifying an explicit Merkle inclusionProof + signed checkpoint envelope.
  • Because Merkle proof size scales as O(log2 N), even a log with 150 million entries needs fewer than 28 SHA-256 sibling hashes (~900 bytes) to prove inclusion.
  • Decoding canonicalizedBody directly reveals the exact hashedrekord or dsse payload digest and verifier certificate anchored at integratedTime.

Common Production Pitfalls to Avoid

  • Ignoring checkpoint signature verification and checking only rootHash equality allows an attacker to fabricate a matching fake tree.
  • Mixing up hex-encoded vs base64-encoded rootHash/hashes[] across Rekor REST responses (hex) vs protobuf-JSON Sigstore bundles (base64 or hex depending on serializer).
  • Skipping inclusionProof verification on air-gapped CI runners leaves unsigned local clocks vulnerable to backdated certificate claims.

More Supply-Chain Attestation & SBOM Guides

← Back to SBOM & Sigstore Validator Hub · VendorReady SBOM ($39 SOC 2 Dossier) → · CORS & Webhook HMAC Debugger → · 14×14 License Matrix →

Frequently Asked Questions

What is the difference between inclusionPromise (SET) and inclusionProof?

inclusionPromise is a signed promise by Rekor to include the entry later, whereas inclusionProof + checkpoint proves mathematically that the entry was already committed to Rekor's immutable Merkle tree.

Can I look up Rekor log entries by SHA-256 or logIndex via REST API?

Yes — RungLab RapidAPI Gateway v1.3.0 exposes GET /v1/rekor/entry/{uuidOrIndex} and POST /v1/rekor/lookup for programmatic CI and agent workflows.

Does this browser tool upload my Sigstore bundle to Rekor?

No. Strict CSP connect-src 'none' guarantees zero outbound requests — base64 decoding, ASN.1 X.509 parsing, and inclusionProof inspection run 100% locally.