> For the complete documentation index, see [llms.txt](https://docs.sealsecurity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealsecurity.io/trust/sealing-pipeline-security.md).

# Sealing pipeline security

How Seal protects the pipeline that builds, signs, and publishes sealed packages, and how each control can be verified on your side.

A sealed package runs inside your application, so the pipeline that produces it is part of your software supply chain. This page describes the controls on that pipeline, from the change that introduces a patch to the moment your build installs the result, and which of them you can verify yourself.

## Every sealed version is a reviewed change

Each sealed version starts as a pull request in Seal's sealing repository: the patch, its build, and its metadata are committed there together. The repository's main branch is protected, and the protection applies to administrators as well:

* **Pull request required.** Nothing reaches the main branch except through a pull request.
* **Independent approval.** At least one approving review is required. Approvals are dismissed when new commits are pushed, and the most recent push must be approved by someone other than its author.
* **Required checks.** Validation checks must pass against an up-to-date branch, and merges go through a merge queue so each change is checked against the exact state it lands on.
* **Signed commits.** Every commit on the main branch must carry a verified signature.

The repository settings and branch protection are themselves managed as code and changed only through reviewed pull requests.

## Builds and publishing run in CI, not on workstations

* **Publishing runs from the protected main branch.** Sealed versions are uploaded to the Seal Artifact Server by a GitHub Actions workflow that runs when a pull request merges to the main branch.
* **Short-lived cloud credentials.** The publishing and signing workflows authenticate to AWS through OpenID Connect federation, which issues credentials for a single run.
* **Signing keys are held in managed key stores.** The ECDSA key behind the signature on every sealed artifact, and the key that signs Seal CLI releases, are held in AWS KMS and never leave its hardware security modules; signing happens through the KMS API. The OpenPGP and APK keys used for [ecosystem-native signatures](https://docs.sealsecurity.io/trust/signing.md#ecosystem-native-signatures) are stored in AWS Secrets Manager and are retrieved only by Seal's signing workflows.

## Signatures on what Seal ships

Every sealed artifact is signed, and most carry more than one signature:

| What                                          | Signature                                                                                                                                | How to verify                                                                                                                                                                                                            |
| --------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Every sealed artifact                         | ECDSA P-256 over the SHA-512 digest of the artifact                                                                                      | Automatically by the Seal CLI on every `seal fix`; manually with Seal's public key. See [Cryptographic signing and hash verification](https://docs.sealsecurity.io/trust/signing.md).                                    |
| Sealed npm, Maven, PyPI, Go, and RPM packages | SLSA build provenance (Sigstore bundle) signed by Seal's GitHub Actions pipeline, bound to the merge commit on the protected main branch | Automatically by the Seal CLI; manually with `gh attestation verify`. See [SLSA provenance check](https://docs.sealsecurity.io/trust/signing.md#slsa-provenance-check).                                                  |
| Sealed Maven artifacts                        | Detached OpenPGP (`.asc`) signature                                                                                                      | `gpg --verify` with Seal's OpenPGP key. See [Ecosystem-native signatures](https://docs.sealsecurity.io/trust/signing.md#ecosystem-native-signatures).                                                                    |
| Sealed RPM packages                           | OpenPGP signature in the RPM header, with the same key as Maven                                                                          | `rpm --import` Seal's OpenPGP key, then `rpm -K <package>.rpm`. See [Ecosystem-native signatures](https://docs.sealsecurity.io/trust/signing.md#ecosystem-native-signatures).                                            |
| Sealed APK packages                           | Alpine package signature                                                                                                                 | `apk` verifies on install once Seal's APK public key is in `/etc/apk/keys`. See [Configuring apk](https://docs.sealsecurity.io/legacy-documentation/artifact-server/configuring-the-package-manager/configuring-apk.md). |
| Seal Base Images                              | cosign signature, with SBOM and VEX attestations attached                                                                                | `cosign verify`. See [Pulling a sealed base image](https://docs.sealsecurity.io/setup-containers/seal-base-images/pulling.md).                                                                                           |
| Seal CLI releases                             | cosign signature (Linux, Windows), recorded in the Rekor transparency log; Apple Developer ID and notarization (macOS)                   | `cosign verify-blob`. See [Installing the Seal CLI](https://docs.sealsecurity.io/setup-apps-os/cli-in-cicd/installing-the-cli.md).                                                                                       |

The Seal CLI fails the run with `failed validating package signatures` if any downloaded artifact is missing a signature or does not verify, so a tampered or unsigned artifact is never installed.

## What you can verify without trusting Seal's word

* **The change itself.** Every sealed version has a [code diff](https://docs.sealsecurity.io/trust/code-diff.md) against its origin version, and a [patch validation prompt](https://docs.sealsecurity.io/trust/patch-validation-prompt.md) for an independent review.
* **Who built it, from what.** The SLSA provenance names Seal's repository, workflow, and commit, and is verified against GitHub's public Sigstore trusted root.
* **That the bytes are unchanged.** Signatures and published SHA-256 hashes cover the exact bytes your build installs.
* **What it closes.** The [PDF attestation and VEX record](https://docs.sealsecurity.io/trust/attestations.md) list the vulnerabilities each sealed version addresses.

## Related

* [Cryptographic signing and hash verification](https://docs.sealsecurity.io/trust/signing.md)
* [Attestations](https://docs.sealsecurity.io/trust/attestations.md)
* [Seal access and break-glass accounts](https://docs.sealsecurity.io/trust/seal-access.md)
* [Seal's compliance certifications](https://docs.sealsecurity.io/trust/compliance/certifications.md)
