Third-party package dependencies · Sources & registries

Use authenticated, encrypted transport to registries

When it fails: Packages are downloaded without TLS or without certificate verification.

CB-DEP-SRC-005highdraftpartialprofile baseline

Status draft: not part of any release yet, may still change.

Description

All registry and proxy URLs use HTTPS with certificate verification enabled. No configuration disables TLS verification or marks a host as trusted to skip it.

Rationale

Without verified TLS, anyone on the network path can swap a package during download. Disabling verification "temporarily" to work around a proxy is a common and long-lived mistake.

Impact

Internal certificate authorities must be distributed to workstations and build images.

Audit

  1. Search project, user, system and pipeline configuration for registry URLs that are not HTTPS.
  2. Search for settings or flags that disable certificate verification or trust a host without it.

Automated: every check must pass. Scanners report each check by its id.

postmortem

TLS bypasses and plain-http registries in config, CI, Dockerfiles, lockfiles

command: postmortem harden --json
control: CB-DEP-SRC-005
coverage: auto

Remediation

  1. Switch every registry URL to HTTPS.
  2. Remove settings that disable verification, and install the internal CA certificate instead.

References

Mappings

FrameworkIDRelationNote
NIST SP 800-53 Rev. 55.1.1SC-8related

How this control relates to the other framework's: equivalent, stricter, looser, partial or related.

Threats mitigated

People and lifecycle

AuthorsAlice
Introduced inv1.0.0
Created, updated2026-10-16, 2026-10-16