GitHub
TMA-GITHUB-3.1.5
Ensure trusted package managers and repositories are defined and prioritized
MediumLevel 1Manual reviewgithub
Description
Prioritize trusted package registries over others when pulling a package. When pulling a package by name, the package manager might look for it in several package registries, some of which may be untrusted or badly configured. Reported as a manual review item: no reliable read-only gh api check exists for this control.
How it is checked
Audit method: Manual review
This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.
For each package registry in use, ensure it is trusted. Expected state: For each package to be downloaded, configure it to be downloaded from a trusted source.
How it is fixed
Fix method: Guidance or infrastructure patch
For each package to be downloaded, configure it to be downloaded from a trusted source.
Properties
- Operating systems
- Any
- Tags
- githubdependencies
- Reference
- CIS GitHub Benchmark v1.2.0 - 3.1.5 Ensure trusted package managers and repositories are defined and prioritized