Borehole · Project · free tier
icewhaletech/casaos
Free reading: not for reliance
0d3b2f4 · 688 commits · 207 files
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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • .gitmodules:1: 1 submodule(s) this survey does not read: UI

Architecture & Codebase — including AI provenance

strong
01.3

Commit messages are templated rather than written

adequate

38% 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.

Evidence
24× 'Update README.md'
21× 'Modify the publishing process'
20× 'Update demo.yml'
01.6

route/v1/file.go is 1,111 lines, 29× this codebase's median file

adequate

The 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.

Evidence
route/v1/file.go:1 — 1,111 lines (29× median)

Engineering Process & SDLC Maturity

adequate
02.3

Tests cover a thin slice of the codebase

adequate

8 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.

Evidence
8 test files / 146 source files
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 207 tracked files

Product & Engineering Maturity

strong
04.5

Effort is shifting from building to rewriting

adequate

Deleted 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.

Evidence
first half 0.90, second half 3.92 (split 2023-09-01)

Security & Reliability Posture

adequate
05.3

5 dependencies float, and no lockfile is committed

adequate

Dependency 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.

Evidence
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
05.27

The build runs third-party code it does not pin

adequate

11 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/casa.yml:39 — action pinned by tag
.github/workflows/casa.yml:91 — action pinned by tag
05.13

4 outbound calls can wait forever

adequate

4 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
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
05.26

10 locked dependencies have published vulnerabilities, 19 high or critical in what ships

adequate

10 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.

Evidence
go.mod — github.com/getkin/kin-openapi v0.117.0: GHSA-r277-6w6q-xmqw (critical), fixed in 0.144.0
go.mod — github.com/labstack/echo/v4 v4.12.0: GHSA-cxf3-9h37-7rr8 (critical), fixed in 4.16.1
go.mod — golang.org/x/crypto v0.23.0: GHSA-89gr-r52h-f8rx (critical), fixed in 0.52.0
05.65

6 advisories against this project in the last 24 months, 3 high or critical

adequate

The 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.

Evidence
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

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

None 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.

Evidence
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
06.8

One request cannot be followed through the logs

adequate

Nothing 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.

Evidence
no request id, correlation id or tracing found
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 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.