Read 2026-10-23
icewhaletech/casaos: technical due diligence, read from its repository
What Borehole read in icewhaletech/casaos's code and history at 0d3b2f4: 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 | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
.gitmodules:1: 1 submodule(s) this survey does not read: UI
Architecture & Codebase — including AI provenance
strongCommit messages are templated rather than written
adequate38% of commit subjects are exact repeats of another subject, and subject length varies by only 18.8 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like.
| 24× 'Update README.md' |
| 21× 'Modify the publishing process' |
| 20× 'Update demo.yml' |
route/v1/file.go is 1,111 lines, 29× this codebase's median file
adequateThe median source file here is 38 lines. 1 file exceed 1,000 lines, the largest being 1,111. 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.
route/v1/file.go:1 — 1,111 lines (29× median) |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate8 test files against 146 source files (5.5%). 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.
| 8 test files / 146 source files |
Almost no process scaffolding exists in the repository
adequateOf 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.
| 1 of 5 markers present across 207 tracked files |
Product & Engineering Maturity
strongEffort is shifting from building to rewriting
adequateDeleted lines per line added rose from 0.90 to 3.92 between the first and second halves of this history. Rework is normal and often healthy, but a rising ratio means an increasing share of the team's time is spent replacing code that already exists rather than building what does not. Whether that is deliberate repayment or churn is a question for the team.
| first half 0.90, second half 3.92 (split 2023-09-01) |
Security & Reliability Posture
adequate5 dependencies float, and no lockfile is committed
adequateDependency versions are declared as ranges and no lockfile is committed, so a build today does not necessarily produce what a build last month produced. That matters twice over in a transaction: the thing being bought cannot be reproduced exactly, and a compromised upstream release arrives without anyone choosing to take it.
package.json:28 — ^1.1.0 |
package.json:31 — ^6.24.0 |
package.json:33 — ^18.8.3 |
package.json:34 — ^0.23.0 |
package.json:35 — ^4.9.5 |
The build runs third-party code it does not pin
adequate11 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.
.github/workflows/casa.yml:39 — action pinned by tag |
.github/workflows/casa.yml:91 — action pinned by tag |
4 outbound calls can wait forever
adequate4 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.
drivers/base/client.go:12 — outbound call without a timeout |
pkg/utils/httper/zerotier.go:32 — outbound call without a timeout |
pkg/utils/httper/zerotier.go:66 — outbound call without a timeout |
10 locked dependencies have published vulnerabilities, 19 high or critical in what ships
adequate10 of 116 locked dependencies match 36 published advisories in OSV, 20 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.
6 advisories against this project in the last 24 months, 3 high or critical
adequateThe newest was published on 2026-01-02. 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 0.4.15. Answer lives in: the release you run, set against each fixed version.
| 2026-01-02: CVE-2025-34171 (moderate): CasaOS versions up to and including 0.4.15 expose multiple unauthenticated endpoints that allow remote attackers to retrieve sensitive configuration files and s |
| 2024-04-01: CVE-2024-28232 (moderate): Go package IceWhaleTech/CasaOS-UserService provides user management functionalities to CasaOS. The Casa OS Login page has disclosed the username enumeration vul |
| 2024-03-06: CVE-2024-24765 (high): CasaOS-UserService provides user management functionalities to CasaOS. Prior to version 0.4.7, path filtering of the URL for user avatar image files was not str |
| 2024-03-06: CVE-2024-24767 (critical): CasaOS-UserService provides user management functionalities to CasaOS. Starting in version 0.4.4.3 and prior to version 0.4.7, CasaOS doesn't defend against pas |
| 2024-03-06: CVE-2024-24766 (moderate): CasaOS-UserService provides user management functionalities to CasaOS. Starting in version 0.4.4.3 and prior to version 0.4.7, the Casa OS Login page disclosed |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 176 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 176 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 |
One request cannot be followed through the logs
adequateNothing in the service carries a request or correlation id, and there is no tracing. When a customer reports a failure, the log lines that belong to their request cannot be picked out from everyone else's.
| no request id, correlation id or tracing found |
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 icewhaletech/casaos: 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.