Borehole · Project · free tier
teamwiseflow/xiaobei
Free reading: not for reliance
47aea0b · 974 commits · 913 files
Read 2026-11-03

teamwiseflow/xiaobei: technical due diligence, read from its repository

What Borehole read in teamwiseflow/xiaobei's code and history at 47aea0b: 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 Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • LICENSE:1: The licence is MIT with a commercial-licence condition: source available, not open source
  • LICENSE: Relicensed: Apache-2.0 → Apache-2.0 with a commercial-licence condition (2025-09-10) → MIT with a commercial-licence condition (2026-04-02)

Architecture & Codebase — including AI provenance

strong
01.6

crews/main/skills/_shared/xhs_utils/live.py is 1,510 lines, 18× this codebase's median file

adequate

The median source file here is 82 lines. 2 files exceed 1,000 lines, the largest being 1,510. 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
crews/main/skills/_shared/xhs_utils/live.py:1 — 1,510 lines (18× median)
crews/main/skills/_shared/xhs_utils/xhs_pc/api.py:1 — 1,450 lines (17× median)

Engineering Process & SDLC Maturity

adequate
02.3

Tests cover a thin slice of the codebase

adequate

1 test files against 170 source files (0.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.

Evidence
1 test files / 170 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 913 tracked files
02.24

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

adequate

65 of 715 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
65 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.5

Effort is shifting from building to rewriting

adequate

Deleted lines per line added rose from 0.46 to 1.03 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.46, second half 1.03 (split 2025-07-19)
04.19

8% of bug fixes add or change a test

adequate

Of 222 fixes in the last 24 months, 18 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.

Evidence
18 of 222

Security & Reliability Posture

adequate
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 913 tracked files; 0 present
05.6

1 Dockerfile runs the application as root

adequate

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

Evidence
docker/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

1 third-party CI action is referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 5 steps pipe 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/build-dist.yml:48 — action pinned by tag
scripts/install-atomgit.sh:1549 — download piped into a shell
05.66

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

adequate

LICENSE grants MIT 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, MIT AND LicenseRef-Terms-CommercialLicence
05.60

Relicensed: Apache-2.0 → Apache-2.0 with a commercial-licence condition (2025-09-10) → MIT with a commercial-licence condition (2026-04-02)

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 2024-04-07
LICENSE — Apache-2.0 with a commercial-licence condition from 2025-09-10
LICENSE — MIT with a commercial-licence condition from 2026-04-02
05.65

1 advisory against this project in the last 24 months, 1 high or critical

adequate

The newest was published on 2026-09-04. 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 5.8.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 1 record names xiaobei with nothing tying it to this repository (CVE-2025-63258).

Evidence
2026-09-04: CVE-2026-85667 (critical): xiaobei through 5.5.2 fails to implement authentication or signature validation on webhook endpoints, allowing unauthenticated attackers to inject arbitrary mes

Observability & Operations

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

None of 836 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 836 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.2

No structured logging library is in use

adequate

Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.

Evidence
searched 836 files for 10 structured logging libraries; 0 matched
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 teamwiseflow/xiaobei: 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.