All ShellHub container images published to Docker Hub are signed using cosign with keyless (OIDC) signing via Sigstore. Signatures are generated automatically during CI/CD using GitHub Actions' OIDC identity and recorded in the Rekor transparency log.
Install cosign: https://docs.sigstore.dev/cosign/system_config/installation/
cosign verify \
--certificate-identity-regexp="https://github.com/shellhub-io/shellhub/" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
shellhubio/<image>:<tag>Replace <image> with the component name (server, gateway, ui, agent) and <tag> with the version (e.g., v0.26.0).
cosign verify \
--certificate-identity-regexp="https://github.com/shellhub-io/shellhub/" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
shellhubio/server:v0.18.0A successful verification prints the signature payload and confirms that:
- The image has not been modified since it was published
- The image was built by a GitHub Actions workflow in the
shellhub-io/shellhubrepository - The signing event is recorded in a public transparency log
Each image also carries a signed CycloneDX SBOM wrapped in an in-toto attestation. The attestation is signed with the same keyless flow as the image itself, so verifying it proves the SBOM has not been tampered with since it was generated during the release build.
cosign verify-attestation \
--certificate-identity-regexp="https://github.com/shellhub-io/shellhub/" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
--type cyclonedx \
shellhubio/<image>:<tag>cosign verify-attestation \
--certificate-identity-regexp="https://github.com/shellhub-io/shellhub/" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
--type cyclonedx \
shellhubio/server:v0.18.0To extract the SBOM payload from the verified attestation:
cosign verify-attestation \
--certificate-identity-regexp="https://github.com/shellhub-io/shellhub/" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
--type cyclonedx \
shellhubio/<image>:<tag> | jq -r '.payload' | base64 -d | jq '.predicate'