
hardened-nodejs
Hardened Containers images with NodeJS.Updated 7 hours ago
Quick Pull
$ docker pull bellsoft/hardened-nodejs:latestProvenance
A hardened Node.js container image built on Alpaquita Linux, providing a lean, CVE-minimized runtime environment for JavaScript and TypeScript server-side applications.
Registry and Tags
- Image:
docker.io/bellsoft/hardened-nodejs - Example tag:
24-glibc
Attestations are provided per image build. Specify the exact tag when pulling attestations.
Verifying Image Signature
The images are signed with Cosign. Download the BellSoft public key and save it locally before verifying:
mkdir -p ~/keys
curl -fsSL -o ~/keys/cosign-bellsoft.pub https://download.bell-sw.com/pki/cosign-bellsoft.pub
cosign verify \
--key ~/keys/cosign-bellsoft.pub \
docker.io/bellsoft/hardened-nodejs:24-glibc
Expected output:
Verification for docker.io/bellsoft/hardened-nodejs:24-glibc --
The following checks were performed on each of these signatures:
- The cosign claims were validated
- Existence of the claims in the transparency log was verified offline
- The signatures were verified against the specified public key
Attestations
Each image comes with the following attestations:
| Attestation | Predicate | Description |
|---|---|---|
| SBOM (CycloneDX) | cyclonedx | Software Bill of Materials listing all packages and dependencies — recommended for vulnerability scanners. |
| SBOM (SPDX) | spdxjson | SBOM in SPDX format — compatible with compliance and license management tooling. |
To download and verify an attestation, use the following cosign verify-attestation command providing it with the predicate value from the above table:
IMG='docker.io/bellsoft/hardened-nodejs:24-glibc'
cosign verify-attestation \
--key ~/keys/cosign-bellsoft.pub \
--type cyclonedx \
$IMG | jq -r '.payload' | base64 -d | jq '.predicate'
For example, in order to download a SBOM in the SPDX format, execute:
IMG='docker.io/bellsoft/hardened-nodejs:24-glibc'
cosign verify-attestation \
--key ~/keys/cosign-bellsoft.pub \
--type spdxjson \
$IMG | jq -r '.payload' | base64 -d | jq '.predicate'