Join our Newsletter — 33% off our NHI Course

Globally Installed Packages

Globally installed packages are software components added at the container level rather than inside an application’s local dependency tree. They can expand the attack surface because they may not be visible in code-centric reviews. In containers, these packages must be included in vulnerability scanning and remediation decisions.

What Globally Installed Packages Are

Globally installed packages sit at the container or image level instead of inside an application’s local dependency tree. That makes them part of the runtime baseline, which can hide them from code-only review and obscure which workloads actually depend on them.

Why They Matter in Container Security

Because globally installed packages are shared across the container environment, they can affect more than one application path and may introduce drift between what the image contains and what the application manifest declares. In practice, that means inventory accuracy, patch visibility, and dependency ownership all become harder unless container scanning includes the full filesystem and installed software set.

Open source package risk is not limited to application manifests, and supply-chain review needs to account for what was installed into the image itself, not just what was declared in source control. Guidance from OpenSSF is useful here because it reinforces broader software supply-chain hygiene for packaged components.

How They Change Vulnerability Scanning

Container scanners need to detect globally installed packages because those components can carry known vulnerabilities even when the application’s direct dependency list looks clean. If the scanner only inspects language manifests or lockfiles, it can miss packages added by the base image, build steps, or ad hoc container customization.

This is especially important when remediation decisions must distinguish between a package that is intentionally required by the container and one that was inherited accidentally. If the package is global, the fix may belong in the image build process, not in the application repository.

Security control catalogs reinforce this broader view of software integrity and configuration. For example, NIST SP 800-53 Rev 5 Security and Privacy Controls supports scanning, configuration management, and system integrity controls, while SLSA helps frame how build provenance and artifact integrity reduce surprise components in images.

Operational Implications for Teams

Globally installed packages often create ownership ambiguity: the application team did not declare them, but the runtime still depends on them. That can slow remediation, because teams may not know whether to update the app, the base image, or the container build pipeline.

They also make incident response more nuanced. If a vulnerable package is installed globally across many images, the blast radius can be wider than a single service, and a single base-image update may be the fastest containment path. That is why container hygiene and dependency hygiene must be treated as related, but not identical, problems.

Supply-chain governance resources such as SLSA and authoritative control guidance such as NIST SP 800-53 Rev 5 Security and Privacy Controls are useful because they connect software provenance and configuration integrity to the operational reality of container images.

Risk and Threat Considerations

Globally installed packages increase exposure when they are overlooked during review, inherited from a base image, or added during build time without strong provenance. Attackers can also benefit from shared image-level packages because a single vulnerable component may be reachable across multiple workloads built from the same container lineage.

Failure mechanism: security teams scan only declared application dependencies, while the real vulnerability lives in an image-level package that was added outside the local tree or introduced through the base image.

Impact: missed vulnerabilities, inconsistent remediation, and a larger blast radius when the same container package is deployed broadly across services.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, SLSA and OWASP ASVS set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST SP 800-53 Rev 5 CM-2 — Baseline Configuration Global packages change the container baseline and must be tracked in configuration control.
SI-2 — Flaw Remediation Image-level packages can contain known flaws that require patching or replacement.
SA-10 — Developer Configurations Container build-time software choices affect what global packages get installed.
Recommendation — Inventory and control container-level packages as part of the approved baseline. Scan and remediate vulnerable global packages as part of flaw remediation. Review build and deployment configurations to prevent unintended package installation.
SLSA Supply-chain integrity and build provenance Build provenance explains where image-level packages came from and whether they are trusted.
Recommendation — Prove image provenance so globally installed packages are attributable and reviewable.
OWASP ASVS V13 — Configuration Container image packages are a configuration concern that affects runtime security posture.
Recommendation — Verify container configuration includes all installed software, not only declared app dependencies.

Practitioner Guidance

What to watch for: Treat globally installed packages as image content, not application code. If a package appears in a container scan but not in the app manifest, trace it to the base image, build stage, or container hardening layer before deciding whether to patch, remove, or replace it.

Governance implication: Ownership should sit with the team that controls the container build and image release process, because that is where global packages are introduced and where their lifecycle can be managed most consistently.