Skip to content
AE DIGITAL
Digital SystemsBy 6 min read

Ecommerce software supply chains: SBOMs, dependencies and verifiable builds

An operational method to inventory dependencies, bind an SBOM to every release and promote only artifacts whose build provenance can be verified.

Modular software components move through a verification chain toward an intact and traceable artifact

An ecommerce platform is not shipped as an isolated block. Checkout, catalog, search, payments and back-office services embed direct libraries, transitive dependencies, base images and build tools. Each component speeds delivery, but it also creates a relationship that must be understood when a vulnerability appears, a maintainer changes or a package is replaced. The software supply chain is therefore an operational dependency of sales: if the team cannot say what entered a release and through which process, it cannot quickly decide whether to promote, stop or restore it.

Risk starts before deployment

Control cannot begin after the bundle has reached production. A small manifest change may alter many transitive versions; an installation script may execute code inside the pipeline; a later rebuild may produce bytes different from those that passed testing. The NIST Secure Software Development Framework treats protection of components, integrity verification and collection of provenance information as software lifecycle practices. For ecommerce teams, that means moving decisions into pull requests, builds and promotion rather than relying on occasional audits.

The goal is not to promise that every component is safe. It is to create enough evidence to answer specific questions: which version is present, why it was introduced, which commit produced it, which workflow built the artifact and which digest was actually deployed.

Inventory manifests, lockfiles and runtime inputs

The manifest describes project intent; the lockfile records the effective resolution selected by the package manager. npm documentation explains that package-lock.json describes the generated dependency tree and supports reproducible installations for that resolution. It should therefore be committed, reviewed with the manifest and regenerated only through controlled tool versions and procedures.

Separate direct and transitive dependencies

Teams should distinguish what they selected explicitly from what arrived through another package. Every change needs a name, previous and new version, relationship, source and affected artifacts. This map prevents a critical transitive dependency from remaining invisible simply because it is absent from the main manifest. Base images, content management plugins, checkout extensions and tools executed in CI belong in the inventory as well.

A lockfile is not evidence of trust

A lockfile stabilizes resolution, but it does not certify that code is vulnerability-free, that its source is legitimate or that the installed package complies with company policy. It is valuable input for review and SBOM generation, not a replacement for provenance analysis, signatures or change controls.

Generate an SBOM for every artifact

A Software Bill of Materials must be tied to a concrete release, not to a generic repository state. For each deployable artifact, record at least component, version, relationship and useful identifiers, then archive the SBOM beside the image or bundle digest. SPDX provides an interoperable SBOM model, while OWASP frames software supply chain failures as an application risk; operational value still comes from coverage: an incomplete bill or one detached from the artifact cannot establish what is running in production.

Generating the SBOM in the pipeline reduces manual drift. The process should fail if output cannot be parsed, mandatory components are missing or the SBOM cannot be bound to the final digest. Keep it for the period needed to support incidents and rollback, together with approved exceptions and the rationale behind each decision.

Verify source, integrity and provenance

SLSA provenance describes verifiable information about where, when and how an artifact was produced. The decisive relationship is the digest: verification must prove that the evidence refers to the exact bytes being considered for promotion. GitHub artifact attestations can establish build provenance and support verification, provided the expected workflow identity, repository and references are defined in policy.

Provenance does not mean defect-free

A valid attestation demonstrates properties about the declared process; by itself it does not prove that code is correct or free from vulnerabilities. Combine it with review, testing, dependency analysis and approval rules. Keeping those meanings separate prevents a false green light and clarifies which control addresses which risk.

Build once and promote the same digest

The pipeline should produce one candidate artifact, test it and promote the same digest through later environments. Rebuilding independently for staging and production breaks the evidence chain because tests end up describing bytes other than those served to customers. Inject configuration and secrets without modifying the artifact, and verify provenance before every promotion.

Gate dependency updates before merge

Every pull request that changes a manifest or lockfile deserves a readable summary. Showing thousands of raw lines is not enough: review should highlight new dependencies, removals, major version moves, source changes, installation scripts and relevant transitive changes. A practical gate can require:

  • a reason and accountable owner for the update;
  • checks of source, licence and applicable security advisories;
  • tests of checkout and affected integrations;
  • an SBOM and attestation for the candidate artifact;
  • time-bounded exceptions with approver and removal plan.

Automated updates remain useful, but they should not bypass these steps. Speed comes from repeatable rules and concise diffs, not from removing accountability.

Release gradually and preserve rollback

A dependency can pass technical tests and still create unexpected effects in latency, rendering or payment integrations. For high-impact changes, gradual promotion limits exposure and enables comparison of application and commercial signals. Rollback should select a previous known artifact with an already verified digest, SBOM and provenance, rather than trigger an emergency rebuild of the same tag.

Record the decision to advance or revert together with observed signals. This connects technical evidence to the operational outcome and improves rules for later updates.

Respond to incidents with evidence

When a vulnerable package is reported, the first question is whether and where it is actually deployed. SBOMs bound to digests allow teams to search for component and version, identify exposed releases and separate them from unaffected ones. The team can then pause promotion, isolate an artifact, restore a known digest or prepare a targeted fix while retaining a decision trail.

Useful metrics measure the ability to act: percentage of artifacts with an SBOM, share of promotions with verified attestations, time to identify affected deployed versions, age of exceptions and rebuilds performed after approval. They are not absolute security scores; they expose where the chain is losing information.

An operational roadmap for ecommerce

Start with the service that handles checkout or orders: pin tools and lockfiles, generate an SBOM, produce the artifact in a restricted workflow, attest it and verify digest and identity before promotion. Next, extend the same contract to the storefront, back office, base images and asynchronous functions while maintaining an exception register.

AE Digital Agency can help turn these controls into a pipeline proportionate to the existing architecture. Explore our digital systems services or contact us to design a path that connects dependencies, artifacts and releases without slowing the team.

Frequently asked questions

Does an SBOM prove that an ecommerce artifact is secure?

No. An SBOM describes components and relationships; it supports inventory and response but must be combined with provenance, tests, vulnerability analysis and risk decisions.

Why is package-lock not enough to control dependencies?

It stabilizes dependency resolution but does not certify source reputation, absence of vulnerabilities, code correctness or compliance with organizational policies.

What should a pipeline verify before deployment?

It should verify that the SBOM and attestation refer to the candidate digest, that the workflow and repository are authorized, and that testing and approval gates have passed.

Should production rebuild an existing release tag?

Prefer building once and promoting the same digest. A new build may produce different bytes and break the link to the tests, SBOM and provenance already verified.

Sources

  1. Secure Software Development Framework (SSDF) Version 1.1 — NIST
  2. Software Supply Chain Failures — OWASP
  3. SPDX 3.0.1 Software Bill of Materials — SPDX
  4. SLSA Provenance v1.2 — SLSA
  5. package-lock.json — npm
  6. Using artifact attestations to establish provenance for builds — GitHub
  7. About supply chain security — GitHub

Related articles

Tell us what isn't working.

We reply within one business day with a first opinion and, if it makes sense, a quote.

Write to us