Borehole · Project · free tier
pion/webrtc
Free reading: not for reliance
914aea7 · 2,532 commits · 398 files
Read 2026-10-23

pion/webrtc: technical due diligence, read from its repository

What Borehole read in pion/webrtc's code and history at 914aea7: 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

Architecture & Codebase — including AI provenance

strong
01.6

peerconnection.go is 3,521 lines, 30× this codebase's median file

adequate

The median source file here is 116 lines. 4 files exceed 1,160 lines, the largest being 3,521. 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
peerconnection.go:1 — 3,521 lines (30× median)
stats.go:1 — 2,481 lines (21× median)
pkg/media/oggwriter/oggwriter.go:1 — 1,361 lines (11× median)
sdp.go:1 — 1,269 lines (10× median)

Engineering Process & SDLC Maturity

strong
02.6

Almost no process scaffolding exists in the repository

adequate

Of five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.

Evidence
1 of 5 markers present across 398 tracked files

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

strong
05.27

The build runs third-party code it does not pin

adequate

14 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.

Evidence
.github/workflows/api.yaml:20 — action pinned by tag
.github/workflows/browser-interop.yaml:21 — action pinned by tag
05.26

7 locked dependencies have published vulnerabilities, 4 high or critical

adequate

7 of 83 locked dependencies match 11 published advisories in OSV, 4 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. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.

Evidence
yarn.lock — form-data 2.3.3: GHSA-fjxv-7rqg-78g4 (critical), fixed in 2.5.4
yarn.lock — json-schema 0.2.3: GHSA-896r-f27r-55mw (critical), fixed in 0.4.0
yarn.lock — qs 6.5.2: GHSA-hrpp-h998-j3pp (high), fixed in 6.5.3

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 pion/webrtc: 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.