Security Model
What epack verify establishes about a pack, how each check works, and what is left for the reviewer.
A reviewer receives a file and has to decide what to believe. This page explains what epack verify checks, how it knows, and what remains for the reviewer to establish. How epack protects the machine that runs collectors is covered in Collection Security.
What a verified pack establishes
- No file has changed since the pack was built, and none was added, removed, or renamed.
- Which identity signed it, through which sign-in provider, and when Sigstore's log recorded the signature.
- For a pack signed in CI, the repository, workflow file, run, and source commit that produced the signature.
What it leaves to the reviewer
- Whether the values inside are accurate. The pack records which collector produced each file and the commit it was built from, so a reviewer can read the code. Is This Evidence Accurate? walks through one value.
- Each source system's answer at the time the collector asked.
- The publisher's CI environment during the run.
Integrity: from file digests to a signature
Four records chain together. Each one covers the one before it, so a change anywhere breaks the chain at the next link.
-
Artifacts
artifacts/email-dns.email-dns.json
epack computes each file's SHA-256 digest when it builds the pack.
A change hereChanges the file's digest, so it no longer matches the manifest.
-
Manifest
manifest.json
Lists every file's path, size, and digest, with the stream and the collectors that ran.
A change hereA file the manifest does not list stops the pack from opening. Editing the list changes the pack digest.
-
Pack digest
sha256:7c2218e7af64…
One SHA-256 over the sorted list of file paths and digests, stored in the manifest.
A change hereFails verification unless the manifest is rewritten to match, which breaks the signature.
-
Signature
attestations/….sigstore.json
Covers the manifest, and so every digest in it.
A change hereFails verification. A new signature has to come from an identity the reviewer accepts.
epack verify recomputes every digest and checks the signature over the manifest. It does not read or interpret the evidence itself. Step 6 of the Quickstart shows the failure when one file changes.
Identity: how keyless signing works
- Someone runs
epack signon a machine with a browser, or a CI job runs it. - The person signs in with Google, GitHub, or Microsoft. A CI job presents its own identity token instead.
- Fulcio, Sigstore's certificate authority, issues a certificate that names that account or workflow. It is valid for about ten minutes.
- epack signs the manifest with the certificate's key.
- Rekor, Sigstore's public transparency log, records the signature and the certificate with a time.
- The signature, certificate, and log entry are stored in the pack under
attestations/. A reviewer needs nothing else from the signer.
The log makes every signature public. Anyone can list the signatures made with an identity, so the owner of a stolen login can find signatures they did not make. The log does not stop a thief from signing, which is why a reviewer always names the expected signer with --issuer and --subject.
A person's certificate names their email address, so keyless signing puts that address in a public log permanently.
Signing with a key
A run with nobody at the keyboard can sign with a key instead: epack sign --key or epack run --key. The attestation then carries the public key rather than a certificate, so the signature names no person. It is still recorded in the Rekor transparency log unless you sign with epack sign --no-tlog. A signature made that way has no log entry, so epack verify accepts it only when you add --insecure-skip-tlog beside --public-key. A verifier checks it against the signer's public key, and the key that verifies names the signer by the SHA-256 of its public key:
epack verify evidence.epack --public-key signer.pem
epack key create makes a key for the machine, keeps the private half in ~/.epack/keys/ readable only by you, and registers the public half with the remote, which can hold it until someone approves it.
A verification, line by line
This is the output for a pack signed in GitHub Actions. The format is what epack verify prints. The repository and numbers are examples.
epack verify vendor-evidence.epack \ --issuer "https://token.actions.githubusercontent.com" \ --subject "https://github.com/vendor/evidence/.github/workflows/collect.yml@refs/heads/main"
✓ Verification passed: vendor-evidence.epack
Stream: vendor/security
Pack Digest: sha256:7c2218e7af64...
Artifacts: 12 verified
Attestations: 1 verified
Signers:
✓ https://github.com/vendor/evidence/.github/workflows/collect.yml@refs/heads/main
Issuer: https://token.actions.githubusercontent.com
Signed: 2026-10-19T06:18:36Z
Log entry: 1234567890
Run: https://github.com/vendor/evidence/actions/runs/1234567890/attempts/1
Source commit: vendor/evidence@3f9c2a1e7b4d…
| Line | What it tells the reviewer |
|---|---|
| Artifacts | Every file matched its digest, and the pack digest matched the manifest. |
| Signer | The workflow file and branch that signed. Because --subject named it exactly, no other workflow or person could have produced this pass. |
| Issuer | GitHub's token service for Actions vouched for the workflow. The same workflow URL from any other issuer would be a different identity. |
| Signed | When Sigstore's log recorded the signature. The signer's own clock plays no part. |
| Log entry | The public record in Rekor. Anyone can look it up by number at search.sigstore.dev. |
| Run | The CI run that signed. If you have access, its logs show each step. |
| Source commit | The commit the workflow ran at. Read the workflow file at that commit to see that it runs the collectors and signs without editing their output. |
Threat model
What each kind of compromise gives an attacker, who would notice, and what to do about it.
| Compromised | Attacker gets | Who notices | Response |
|---|---|---|---|
| The pack in transit (email, portal, remote) | Nothing. Any change fails verification. | Anyone who runs epack verify |
Get the pack again |
| A signer's login | Valid signatures in that person's name | The owner, by searching the log for their identity. A reviewer who names that person sees a valid pack. | Secure the account, re-sign, and tell recipients which log entries are not yours |
| A collector binary | False evidence with a valid signature | epack, before the binary runs: its digest must match the lockfile and its release provenance | Pin known-good versions and run with --frozen in CI |
| The publisher edits collector output before packing, for example on a laptop | Plausible values with a valid signature | A reviewer who requires a CI signature and reads the workflow at its source commit | Require packs signed in CI |
| The publisher's CI environment | Anything the workflow could do | The publisher's own monitoring | Outside what a reviewer can check |
| Sigstore | Out of scope for epack. See Sigstore's threat model. | ||
Also out of scope
- Physical access to the machine running epack
- Compromise of the sign-in provider itself
- Side-channel attacks during cryptographic operations
Non-goals
- Checking that evidence is accurate.
epack verifydoes not, but the pack records what a reviewer needs to check it. - Stopping someone with signing rights from packing misleading evidence. Requiring CI signatures and reading the workflow narrows this.
- Sandboxing collectors beyond environment isolation. See Collector Security.
Reporting a vulnerability
Report security issues in epack to security@locktivity.com. Do not open a public GitHub issue for a vulnerability.