A dependency is part of the product you ship
An authentication gateway depends on an open-source parsing library. During a feature sprint, a developer adds a popular package to meet a deadline. The package builds successfully, tests pass and the change is merged. Three months later a serious security advisory appears, but nobody can say which deployed gateway version includes the affected component. This is less a failure of developer diligence than a failure to assign responsibility for the component’s lifecycle.
Open-source code is not inherently less trustworthy than proprietary code. Both can have security defects, abandoned maintenance, compromised distribution accounts or licensing obligations. The distinction that matters is whether the business can identify what it actually ships, assess a new finding promptly and produce a safe replacement. A dependency owner makes those activities part of ordinary release engineering rather than a crisis once an alert arrives.
Separate component selection from component ownership
The developer proposing a package should explain why the feature needs it, which alternatives were considered and which capabilities will execute in production. The service owner should accept the ongoing obligation to monitor the dependency, while the security or platform team defines shared controls. A useful register links package name and ecosystem to the precise version, upstream repository, approved source, consuming service, release lineage and accountable team.
Assigning ownership only to a central security function is a common trap. Security can operate scanners and set risk thresholds, but it may not know which runtime behaviour will break when a library is replaced. The team that deploys the service must be able to test compatibility, prioritise customer impact and schedule a fix. For critical authentication components, record a named alternate owner so a leave period does not halt response.
Different components need different scrutiny. A tiny formatting library used only in a build step does not have the same exposure as a runtime deserialiser handling unauthenticated traffic. Criticality depends on how code is reached, what privileges it holds, how it is distributed and the effect of compromise. The governance process should be proportional to those facts rather than driven solely by download counts or star ratings.
Record exactly what entered the release
A lockfile helps reproduce a dependency tree, but it is not always a complete account of the built artefact. Inspect direct and transitive packages, build plugins, generated assets, base container images and platform-provided libraries. Preserve a component inventory or software bill of materials tied to an identifiable release. Where feasible, keep a checksum or provenance statement for the deployed build so investigations do not rely on guessing from the current source branch.
This matters when a vulnerability appears in a transitive component. The engineering team should be able to answer whether the vulnerable code is present, whether the affected function is reachable and which customers or environments run the release. A scanner finding is a starting signal, not proof of exploitability; similarly, ‘no scanner alert’ is not proof of safety. Use source inspection and application behaviour to establish exposure.
The build pipeline should install from approved package registries and verify expected versions. Restrict publication credentials, avoid committing secrets and ensure release workers do not hold unnecessarily broad production permissions. A compromised build runner can alter output even when the original package repository remains intact. Dependency governance and build integrity therefore belong in the same conversation.
Make the vulnerability decision reproducible
When an advisory arrives, create one decision record per affected service, not dozens of disconnected tickets with the same CVE. Identify version ranges, observed deployment, attack prerequisites, exposed interfaces, available fixed release, mitigating controls and customer consequence. Attach evidence for each judgement. If the vulnerable feature is never used, document how that was established and when the assertion must be revisited.
An emergency upgrade can introduce its own risk. For an identity gateway, a breaking change might invalidate existing sessions, reject legitimate tokens or alter login redirects. Specify the test set before upgrading: successful login, failed authentication, token expiry, admin-only actions, session revocation and compatibility with downstream services. The product owner chooses the supported release path with security advice, rather than accepting an untested patch solely to clear a dashboard.
Where no fix exists, document the temporary measure and who approves it. Options could include disabling a reachable feature, narrowing network exposure or replacing the component, subject to functional testing. Every temporary acceptance requires an expiry and a trigger for renewed review. ‘Vendor working on it’ is a status update, not a long-term control.
Practise a component recall before the real one
Select a package used by a non-critical staging service and simulate a supplier advisory. Ask the release owner to identify all affected artefacts, map their deployment locations, build the fixed version and stage a rollback. Measure elapsed time from notice to confirmed scope and from approved remediation to verified production-equivalent operation. This exercise tests the inventory and ownership model without intentionally exploiting a live vulnerability.
Introduce a complication: the package is also bundled into a scheduled worker that does not appear in the public application list. Does the inventory expose it? Then test a conflicting dependency range where the desired patched component cannot coexist with the current framework. The decision must balance temporary exposure, development effort and a realistic release schedule. Record unresolved cases explicitly so they do not disappear once the emergency call ends.
A credible test finishes with evidence: selected advisory; dependency queries; deployed build identifiers; owner approvals; staging results; rollback test; and final affected-service list. If the team cannot reproduce the inventory query next month, the exercise has produced a process improvement requirement, not a clean pass.
Integrate ownership into the delivery workflow
Add a lightweight acceptance gate when a new direct dependency is introduced: business purpose, owner, approved source, licence review when needed, security scanning, expected maintenance path and fallback. Update the inventory as part of the release pipeline, not during an annual spreadsheet exercise. Make removals visible too, so the organisation can demonstrate when a vulnerable component stopped shipping.
Product leadership should see exceptions that could affect a customer promise. A component without maintenance, a major upgrade deferred indefinitely or an unverified binary source deserves a documented risk decision. Those decisions are most useful when they identify which feature or service would be degraded if the component were withdrawn.
Decide what to do when a maintainer disappears
A low-maintenance package can be perfectly adequate until the only active maintainer stops responding. The product team should periodically examine release activity, issue responsiveness and whether suitable alternatives exist. A lack of frequent changes is not itself evidence of insecurity; mature software may be stable. The useful question is whether the organisation can respond if the component needs an urgent fix.
For a critical authentication dependency, maintain a replacement or isolation strategy before maintenance fails. Estimate the effort to remove the package, the interfaces that would change and the test coverage needed to preserve login behaviour. If the chosen approach is to maintain a private fork, assign ownership for security updates and build integrity. A fork without a maintainer simply moves the problem inside the company.
The release owner is the missing control
A strong programme combines an accurate component map, secure build practices, a process for assessing advisories and someone empowered to change the service. Tools can discover packages and raise alerts; they cannot independently judge customer disruption or approve a safe release. The business achieves resilience when it can make that judgement quickly and prove what it shipped. This article’s authentication-gateway example is hypothetical and does not describe a specific compromised product.
Sources and further reading
How Next Defence can help
Give each production dependency an owner who can act on an advisory, not just a scanner result. For one vulnerable package, trace the component to the deployed release, confirm whether the vulnerable function is reachable and record a patch, mitigation or accepted exception with a deadline. Application Security & DevSecOps can help design release gates and evidence reviews without assuming that every reported version is exploitable in this application.