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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
Architecture & Codebase — including AI provenance
strongtrunk/research/console/js/3rdparty/angular.js is 21,674 lines, 126× this codebase's median file
adequateThe 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.
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
adequateTests cover a thin slice of the codebase
adequate269 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.
| 269 test files / 3,517 source files |
20% of recent commits change more than 2,000 lines
adequate59 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.
| 59 commits over 2,000 lines |
Product & Engineering Maturity
adequateGo 1.25 is past end of life
adequateThe 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.
cmd/perf/Dockerfile — Go 1.25, end of life 2026-08-11 |
15% of bug fixes add or change a test
adequateOf 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.
| 11 of 74 |
Releases are cut from another branch than the one surveyed
adequateThe 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.
| tag v7.0-a2 |
Security & Reliability Posture
adequate3 Dockerfiles run the application as root
adequateNo 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.
Dockerfile — runs as root |
cmd/perf/Dockerfile — runs as root |
trunk/3rdparty/signaling/Dockerfile — runs as root |
3 outbound calls can wait forever
adequate3 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.
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 |
2 locked dependencies have published vulnerabilities
adequate2 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.
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 |
10 vendored components with no licence
adequateThird-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.
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 |
2 advisories against this project in the last 24 months, 1 high or critical
adequateThe 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, …).
| 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
adequateNo telemetry or error reporting is wired in anywhere
adequateNone 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.
| 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 |
No error reporter is wired in
adequateNothing 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.
| no error reporter initialised |
Fit with the Acquirer
not assessableNot 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.