Borehole · Project · free tier
the-pr-agent/pr-agent
Free reading: not for reliance
1897501 · 6,331 commits · 731 files
Read 2026-11-03

the-pr-agent/pr-agent: technical due diligence, read from its repository

What Borehole read in the-pr-agent/pr-agent's code and history at 1897501: 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 Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • AGENTS.md:76: This repository is a mirror; development happens elsewhere
  • LICENSE: Relicensed: Apache-2.0 → AGPL-3.0 (2025-05-22) → Apache-2.0 (2026-05-20) → MIT (2026-07-09)
  • AGENTS.md:16: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

pr_agent/algo/ai_handlers/litellm_ai_handler.py is 3,840 lines, 21× this codebase's median file

adequate

The median source file here is 178 lines. 6 files exceed 1,780 lines, the largest being 3,840. 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
pr_agent/algo/ai_handlers/litellm_ai_handler.py:1 — 3,840 lines (21× median)
pr_agent/git_providers/gitlab_provider.py:1 — 2,792 lines (15× median)
pr_agent/git_providers/github_provider.py:1 — 2,514 lines (14× median)
pr_agent/git_providers/azuredevops_provider.py:1 — 2,043 lines (11× median)
pr_agent/algo/ai_handlers/cloud_auth.py:1 — 1,913 lines (10× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.20

Fixes are 53% of recent work, up from 21%

adequate

In the last two quarters 53% of commits were fixes, against 21% in the quarters before. Rising fix work usually means quality debt is coming due, and it takes time that new work would have had.

Evidence
64%, 43%, 31%, 14%, 15%, 24%, 15%, 25%

Security & Reliability Posture

adequate
05.1

3 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings

adequate

Strings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key. 1 other match set aside: expired tokens, licence tokens a vendor verifies with a public key, or placeholder text where a key would go. None grants access to anything.

Evidence
2 cited: GitHub token, where fakes are usual
Slack token, where fakes are usual
05.22

1 deserialiser that can run code

adequate

1 places read data with a deserialiser that executes what it reads (`yaml.load` without a safe loader). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.

Evidence
pr_agent/algo/utils.py:1063 — code-executing deserialiser
05.26

1 locked dependency has published vulnerabilities, 1 high or critical in what ships

adequate

1 of 181 locked dependencies match 9 published advisories in OSV, 1 of them rated high or critical. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version.

Evidence
uv.lock — filelock 3.29.5: GHSA-v4x8-3wr5-3wq8 (high), fixed in 4.2.1
05.60

Relicensed: Apache-2.0 → AGPL-3.0 (2025-05-22) → Apache-2.0 (2026-05-20) → MIT (2026-07-09)

adequate

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

Evidence
LICENSE — Apache-2.0 from 2023-07-05
LICENSE — AGPL-3.0 from 2025-05-22
LICENSE — Apache-2.0 from 2026-05-20
LICENSE — MIT from 2026-07-09

Observability & Operations

adequate
06.2

No structured logging library is in use

adequate

Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.

Evidence
searched 653 files for 10 structured logging libraries; 0 matched
06.9

No error reporter is wired in

adequate

Nothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.

Evidence
no error reporter initialised

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on the-pr-agent/pr-agent: 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.