Borehole · Project · free tier
pypa/pip
Free reading: not for reliance
a7002c9 · 16,255 commits · 1,073 files
Read 2026-11-07

pypa/pip: technical due diligence, read from its repository

What Borehole read in pypa/pip's code and history at a7002c9: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Posturestrong
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • LICENSE.txt: Relicensed: MIT → LGPL-2.1-or-later (2013-02-19) → MIT (2013-10-26)
  • .github/CONTRIBUTING.md:8: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

src/pip/_internal/cli/cmdoptions.py is 1,410 lines, 13× this codebase's median file

adequate

The median source file here is 104 lines. 2 files exceed 1,040 lines, the largest being 1,410. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.

Evidence
src/pip/_internal/cli/cmdoptions.py:1 — 1,410 lines (13× median)
src/pip/_internal/index/package_finder.py:1 — 1,153 lines (11× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, 26.2.2, is not on the branch this survey read; the newest release on it is 26.2.1. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag 26.2.2

Security & Reliability Posture

strong
05.60

Relicensed: MIT → LGPL-2.1-or-later (2013-02-19) → MIT (2013-10-26)

adequate

The root licence changed 2 time(s). The last change widened rights. Code taken under earlier terms stays under them; check which terms any fork or customer relied on.

Evidence
LICENSE.txt — MIT from 2011-03-06
LICENSE.txt — LGPL-2.1-or-later from 2013-02-19
LICENSE.txt — MIT from 2013-10-26
05.65

11 advisories against this project in the last 24 months, 2 high or critical

adequate

The newest was published on 2026-10-20. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 5 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 26.2.1. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 12 records name pip with nothing tying them to this repository (CVE-2013-5123, CVE-2024-21574, CVE-2025-61774, …).

Evidence
2026-10-20: CVE-2026-113714 (low): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, download_wheel() writes package-index downloads directly into the reus
2026-10-20: CVE-2026-113717 (low): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, PipInvoke.get_pip_install_cmd() handles --seeder pip --download by cal
2026-10-20: CVE-2026-113720 (moderate): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the app-data copy seeder uses shutil.copy() to copy cached package fil
2026-10-20: CVE-2026-113722 (high): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, virtualenv's ScriptMakerCustom and pip pass an incompletely quoted int
2026-09-29: CVE-2026-102930 (high): virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.12, download_wheel() accepts pip and setuptools seed wheels fetched for pe

Observability & Operations

not assessable

Not rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on pypa/pip: every dimension, the questions for the room, and the audit log.

Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.