Borehole · Project · free tier
ossrs/srs
Free reading: not for reliance
069016c · 9,004 commits · 6,660 files
Read 2026-10-23

ossrs/srs: technical due diligence, read from its repository

What Borehole read in ossrs/srs's code and history at 069016c: 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 Maturityadequate
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed

Architecture & Codebase — including AI provenance

strong
01.6

trunk/research/console/js/3rdparty/angular.js is 21,674 lines, 126× this codebase's median file

adequate

The median source file here is 172 lines. 158 files exceed 1,720 lines, the largest being 21,674. 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
trunk/research/console/js/3rdparty/angular.js:1 — 21,674 lines (126× median)
trunk/3rdparty/srt-1-fit/srtcore/core.cpp:1 — 12,589 lines (73× median)
trunk/3rdparty/gperftools-2-fit/ltmain.sh:1 — 11,252 lines (65× median)
trunk/src/protocol/srs_protocol_http_stack_llhttp.cpp:1 — 10,163 lines (59× median)
trunk/3rdparty/openssl-1.1-fit/crypto/ec/ecp_nistz256_table.c:1 — 9,543 lines (55× median)

Engineering Process & SDLC Maturity

adequate
02.3

Tests cover a thin slice of the codebase

adequate

269 test files against 3,517 source files (7.6%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.

Evidence
269 test files / 3,517 source files
02.24

20% of recent commits change more than 2,000 lines

adequate

59 of 294 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.

Evidence
59 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.17

Go 1.25 is past end of life

adequate

The code is pinned to Go 1.25 (end of life 2026-08-11). None of these receives security fixes any more; the first stopped on 2026-08-11. Moving off an unsupported runtime is rarely a one-line change, so a buyer should ask whether the upgrade is planned and what it touches.

Evidence
cmd/perf/Dockerfile — Go 1.25, end of life 2026-08-11
04.19

15% of bug fixes add or change a test

adequate

Of 74 fixes in the last 24 months, 11 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.

Evidence
11 of 74
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest pre-release, v7.0-a2, is not on the branch this survey read; the newest release on it is v6.0.48. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v7.0-a2

Security & Reliability Posture

adequate
05.6

3 Dockerfiles run the application as root

adequate

No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.

Evidence
Dockerfile — runs as root
cmd/perf/Dockerfile — runs as root
trunk/3rdparty/signaling/Dockerfile — runs as root
05.13

3 outbound calls can wait forever

adequate

3 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.

Evidence
trunk/3rdparty/srs-bench/blackbox/util.go:670 — outbound call without a timeout
trunk/3rdparty/srs-bench/blackbox/util.go:1359 — outbound call without a timeout
trunk/3rdparty/srs-bench/srs/util.go:2154 — outbound call without a timeout
05.26

2 locked dependencies have published vulnerabilities

adequate

2 of 78 locked dependencies match 2 published advisories in OSV. 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
trunk/3rdparty/signaling/go.mod — golang.org/x/net v0.0.0-20210502030024-e5908800b52b: GHSA-qppj-fm5r-hxr3 (moderate); pinned to a commit or a branch, so whether it has the fix needs the dependency's own source
trunk/3rdparty/srs-bench/go.mod — github.com/pion/dtls/v3 v3.0.6: GHSA-9f3f-wv7r-qc8r (moderate), fixed in 3.0.11
05.9

10 vendored components with no licence

adequate

Third-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.

Evidence
trunk/3rdparty/README.md — 1 tracked files, no licence file
trunk/3rdparty/gprof — 1 tracked files, no licence file
trunk/3rdparty/openssl-OpenSSL_1_0_2u.tar.gz — 1 tracked files, no licence file
trunk/3rdparty/opus-1.3.1.tar.gz — 1 tracked files, no licence file
trunk/3rdparty/patches — 5 tracked files, no licence file
trunk/3rdparty/srs-docs — 77 tracked files, no licence file
05.65

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

adequate

The newest was published on 2026-10-06. 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 1 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 6.0.48. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 8 records name srs with nothing tying them to this repository (CVE-2020-5766, CVE-2021-21517, CVE-2021-38544, …).

Evidence
2026-10-06: CVE-2026-105486 (moderate): A vulnerability was detected in OSSRS srs up to 7.0-a1. This affects the function systemAPI.Run of the file internal/proxy/api.go of the component System API. P
2026-08-17: CVE-2026-68004 (critical): An issue in OSSRS SRS (Simple Realtime Server) <v5.0.213 allows a remote attacker to execute arbitrary code via RTMP publish authorization, vhost-level security

Observability & Operations

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

None of 4,283 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one.

Evidence
searched 4,283 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 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 ossrs/srs: 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.