Go back

Guide · CRAClock · EU Cyber Resilience Act

What is the risk of unpinned dependencies?

By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026

Short answer: Four concrete risks, all from one cause — the version is not stated exactly. Matching risk: OSV records are version-specific, so an unpinned component cannot be checked; a clean scan silently excludes it. Scoping risk: when a vulnerability is announced, you cannot say whether your product is affected. Drift risk: a range admits new versions on any install, changing your product's risk without any decision or record. Reproducibility risk: two builds of 'the same' release may contain different components. Pinning closes all four at once, which is why CRAClock counts unpinned components in every summary and scores pinning on the checklist.

Generate your free SBOM + readiness pack →   Compare two releases free · See pricing

What is unpinned-dependency risk?

Unpinned-dependency risk is the exposure created when a dependency is declared without an exact version — a range in package.json, a loose specifier in requirements.txt, or no version at all. The risk is primarily epistemic: the vendor does not know, and cannot compute, which version is in the product, so every version-keyed process — vulnerability matching, incident scoping, build reproduction, change review — degrades or fails for that component. CRAClock makes the risk countable: the free job's summary reports unpinned components by number, and the readiness checklist's pinning item stays open until the count reaches zero.

Risk one: the unmatchable component

Vulnerability data speaks in exact versions and affected ranges. To check a component, a scanner needs the version you run; an unpinned declaration offers a set of possibilities instead. CRAClock's SBOM therefore records the component without a version, and its scans cannot match it — not 'matched and clear', but unmatchable. The scan report's silence on that component is the sound of a control not operating.

Scale the problem by the count, because the summary gives you one: a product with 3 unpinned components has 3 holes in its monitoring; a product with 40 has a monitoring story that is mostly holes. The dangerous property is invisibility — the scan still runs, still returns results, still looks like assurance. Only the pinned-versus-parsed numbers reveal how much of the product the assurance actually covers, which is why this guide treats reading those numbers as a first-class security habit.

Risk two: unscopable incidents

When a serious component vulnerability is announced, the first question is scoping: are we affected? For pinned components the answer is a lookup against the SBOM. For unpinned ones the answer is an investigation — what version did the build actually resolve, on which date, in which environment — conducted under time pressure, possibly while an Article 14 analysis waits on the conclusion. Unpinned components convert every external vulnerability announcement into internal archaeology.

The cost compounds across the installed base. Different customers may run builds resolved at different times, hence different versions of the unpinned component: the honest answer to 'are we affected?' becomes 'it depends on the build', per customer, per version. Vendors discover in that moment that pinning was never about tidiness — it was about being able to answer the scoping question at the speed incidents demand.

Risk three: silent drift

A range specifier is a standing instruction to change the product without asking. Any fresh install — a new customer environment, a rebuilt server, a CI refresh — may resolve a newer version inside the range, with its own vulnerabilities, behaviours and transitive tree. No commit records the change, no diff reviews it, no scan targets it until the SBOM is regenerated and someone notices the component's version moved. The product's risk profile becomes a function of install dates.

Drift also poisons the evidence trail. The SBOM generated in March describes March's resolution; June's installs may differ, silently, so the conformity file's central artefact can be false for exactly the deployments nobody checked. Pinning collapses drift to zero by making the version a declared constant: change then requires a decision, a commit and a diff — the three things change control is made of.

Risk four: irreproducible builds

Two builds from the same source should be the same product. Unpinned dependencies break that identity: build today and build next month resolve differently, and the difference hides inside the component set. Debugging inherits the ambiguity ('the failure appears in builds after Tuesday' may be a component, not your code), and so does incident response, where the exact composition of a customer's build is a factual question with no factual answer.

For the CRA specifically, irreproducibility undermines the conformity claim at its root: the file certifies a product whose composition varies by build date. Pinning — or a lockfile, which is pinning performed by a resolver — restores the identity between what was assessed, what was scanned and what was shipped. It is the precondition for every other artefact meaning what it says.

Closing the risk: a finite project

Unlike most security risks, this one is enumerable and finishable. The summary counts the unpinned components; the fix list is exactly that list. Work it from the running environment's truth: capture the versions actually installed, write them back as exact pins (== in requirements.txt, exact strings in package.json, a resolver pass for the lockfile), regenerate the SBOM, and confirm the count reaches zero. Thereafter the team rule — no dependency merges unpinned — keeps it at zero, verified by the ratio at every generation.

The payoff arrives at the next scan and the next announcement: full-coverage matching, instant scoping, builds that reproduce, diffs that mean something. Few security projects offer a complete, verifiable end state achievable in an afternoon; the fleet's vendors consistently name pinning as the highest-value single sitting in the whole CRA programme, which is why it appears in the checklist as a computed item rather than advice.

Your 5-action checklist

  1. Get your unpinned count from the free job's summary — parsed minus pinned — and treat the number as a named risk, not a statistic.
  2. Capture the versions actually running (freeze / lock / installed set) and write them back as exact pins for every gap.
  3. Regenerate the SBOM and verify: pinned equals parsed, and the checklist's pinning item turns done.
  4. Set the merge rule: no new dependency lands unpinned; the per-release diff review enforces it.
  5. Re-check the ratio monthly — any rise is drift announcing itself while it is still cheap to correct.

Work through the list in order. The free CRAClock job on the home page produces the SBOM, the dated checklist and the reporting runbook that several of these actions depend on.

Worked example: the range that changed the product overnight

A fictional vendor's monitoring product resolved a utility dependency by range. On a Monday the range's newest version shipped with a regression that broke their agent's data parsing — and, they later realised, the previous month the same mechanism had silently admitted a version inside a known vulnerability's range for eleven days, on fresh installs only. Nothing in their process had recorded either event: no commit, no diff, no scan target change. The product had changed twice without a single decision being made.

The post-incident sitting pinned all 9 ranged dependencies from the running environment and adopted the merge rule. In the following year the product's components changed 23 times — every one of them by a commit, with a diff, scanned before shipping. The founder's summary in the conformity notes is quoted by the team whenever pinning is questioned: 'We did not have a dependency problem. We had a decision problem — changes were being made to our product by nobody.'

Keep going

Frequently asked questions

Isn't pinning risky too — you get stuck on old versions?

Pinning fixes identity, not time. Pins are meant to move through reviewed upgrades: change the pin, read the diff, scan the destination. What pinning removes is unreviewed movement. A team that pins and never updates has a different problem — visible in its scan results, which is precisely the point.

We use a lockfile. Are we pinned?

For inventory purposes, yes — the lockfile states exact resolved versions, and CRAClock parses Pipfile.lock as a first-class source. Keep the manifest honest alongside it where the workflow allows, so installs that bypass the lock cannot silently revert to ranges.

How does an unpinned component appear in the SBOM?

With its name and purl but no version — identity asserted, version honestly absent. It counts in the parsed total, not in the pinned total, and scans cannot version-match it. The gap is visible in every summary until the manifest is fixed.

Does one unpinned component really matter?

It matters in proportion to the component — an unpinned core library is a monitoring hole at the product's centre; an unpinned minor utility is a smaller one. But the count is the discipline: the checklist item closes only at zero, because 'mostly pinned' is how the unscopable incident finds its component.

What's the fastest way to pin a legacy manifest?

From the truth: generate the version list from the environment that actually runs (the freeze/lock output), transcribe those exact versions into the manifest as pins, regenerate the SBOM, and let the first full-coverage scan triage whatever it finds. Pin first, remediate second — in that order.

CRAClock prepares drafts and evidence; regulatory submission is always performed by you in ENISA's Single Reporting Platform. This guide is general information about the duties CRAClock supports, not legal advice.