Read 2026-10-23
yaoapp/yao: technical due diligence, read from its repository
What Borehole read in yaoapp/yao's code and history at 22a7a2c: 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 | adequate |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE:1: The licence is Apache-2.0 with a commercial-licence condition: source available, not open sourceLICENSE: Relicensed: Apache-2.0 → Apache-2.0 with additional terms (2025-05-18) → Apache-2.0 with a commercial-licence condition (2026-05-06)
Architecture & Codebase — including AI provenance
adequateopenapi/user/member.go is 1,691 lines, 11× this codebase's median file
adequateThe median source file here is 147 lines. 4 files exceed 1,470 lines, the largest being 1,691. 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.
openapi/user/member.go:1 — 1,691 lines (11× median) |
openapi/user/team_invitation.go:1 — 1,645 lines (11× median) |
openapi/setting/llm.go:1 — 1,551 lines (10× median) |
attachment/manager.go:1 — 1,532 lines (10× median) |
1 base image floats: no version, or `latest`
adequate1 of 1 `FROM` lines in product Dockerfiles name an image without a version, or with `latest`. Each build pulls whatever the registry serves that day, so the image that ships can change without a commit, and last month's build cannot be reproduced. Pin a version, or a digest.
docker/production/Dockerfile:6 — base image without a version |
Engineering Process & SDLC Maturity
adequateAlmost 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 2,574 tracked files |
9% of recent commits change more than 2,000 lines
adequate139 of 1569 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.
| 139 commits over 2,000 lines |
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequate2 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings
adequateStrings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.
| 2 cited: JWT, where fakes are usual |
None of the standard security guard rails are configured
adequateThere is no disclosure policy, no automated dependency updates, no named code owners and no pre-commit configuration. None of these is load-bearing on its own. Their collective absence says that security posture here is whatever the current team happens to remember to do, which is not a posture that survives the team changing.
| checked 5 kinds of guard rail across 2,574 tracked files; 0 present |
The build runs third-party code it does not pin
adequate7 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; 1 step pipes a download straight into a shell. 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/agent-unit-test-windows.yml:104 — action pinned by tag |
.github/workflows/agent-unit-test-windows.yml:179 — action pinned by tag |
.github/workflows/unit-test-v1.yml:231 — download piped into a shell |
13 outbound calls can wait forever
adequate13 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.
agent/robot/events/integrations/weixin/reply.go:228 — outbound call without a timeout |
cmd/get/get.go:118 — outbound call without a timeout |
cmd/get/get.go:150 — outbound call without a timeout |
3 locked dependencies have published vulnerabilities, 9 high or critical in what ships
adequate3 of 245 locked dependencies match 19 published advisories in OSV, 9 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.
The licence is Apache-2.0 with a commercial-licence condition: source available, not open source
adequateLICENSE grants Apache-2.0 with a commercial-licence condition: source available, not open source; some uses need a commercial licence from the licensor. The reading comes from the licence's own title and clauses. Whether the terms fit the buyer's intended use, and whether any paid licence transfers with the code, is a question for counsel and the licensor.
LICENSE:1 — 30 lines, Apache-2.0 AND LicenseRef-Terms-CommercialLicence |
Relicensed: Apache-2.0 → Apache-2.0 with additional terms (2025-05-18) → Apache-2.0 with a commercial-licence condition (2026-05-06)
adequateThe root licence changed 2 time(s). The latest terms restrict what users, hosts or a buyer may do in ways the earlier ones did not. Code taken under the old terms stays under them, so both matter in diligence.
Observability & Operations
strongNo 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 yaoapp/yao: 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.