Borehole · Project · free tier
yaoapp/yao
Free reading: not for reliance
22a7a2c · 4,332 commits · 2,574 files
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.

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

What the repository says

  • LICENSE:1: The licence is Apache-2.0 with a commercial-licence condition: source available, not open source
  • LICENSE: 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

adequate
01.6

openapi/user/member.go is 1,691 lines, 11× this codebase's median file

adequate

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

Evidence
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)
01.25

1 base image floats: no version, or `latest`

adequate

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

Evidence
docker/production/Dockerfile:6 — base image without a version

Engineering Process & SDLC Maturity

adequate
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 2,574 tracked files
02.24

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

adequate

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

Evidence
139 commits over 2,000 lines

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.1

2 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings

adequate

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

Evidence
2 cited: JWT, where fakes are usual
05.2

None of the standard security guard rails are configured

adequate

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

Evidence
checked 5 kinds of guard rail across 2,574 tracked files; 0 present
05.27

The build runs third-party code it does not pin

adequate

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

Evidence
.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
05.13

13 outbound calls can wait forever

adequate

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

3 locked dependencies have published vulnerabilities, 9 high or critical in what ships

adequate

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

Evidence
go.mod — github.com/xuri/excelize/v2 v2.11.0: GHSA-2j4c-ffch-9f23 (high), fixed in 2.11.1-0.20260915055537-22f76f9acb94
go.mod — github.com/docker/docker v28.5.2+incompatible: GHSA-pxq6-2prw-chj9 (moderate)
go.mod — golang.org/x/crypto v0.55.0: GO-2026-6354 (unrated), fixed in 0.56.0
05.66

The licence is Apache-2.0 with a commercial-licence condition: source available, not open source

adequate

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

Evidence
LICENSE:1 — 30 lines, Apache-2.0 AND LicenseRef-Terms-CommercialLicence
05.60

Relicensed: Apache-2.0 → Apache-2.0 with additional terms (2025-05-18) → Apache-2.0 with a commercial-licence condition (2026-05-06)

adequate

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

Evidence
LICENSE — Apache-2.0 from 2022-02-18
LICENSE — Apache-2.0 with additional terms from 2025-05-18
LICENSE — Apache-2.0 with a commercial-licence condition from 2026-05-06

Observability & Operations

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