Borehole · Project · free tier
longguikeji/arkid
Free reading: not for reliance
b7a7c07 · 4,195 commits · 1,178 files
Read 2026-11-03

longguikeji/arkid: technical due diligence, read from its repository

What Borehole read in longguikeji/arkid's code and history at b7a7c07: 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.md: Relicensed: LGPL-3.0 → AGPL-3.0 (2022-07-04)

Architecture & Codebase — including AI provenance

strong
01.6

arkid/core/perm/permission_data.py is 3,834 lines, 103× this codebase's median file

adequate

The median source file here is 37 lines. 5 files exceed 1,000 lines, the largest being 3,834. 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
arkid/core/perm/permission_data.py:1 — 3,834 lines (103× median)
arkid/common/arkstore.py:1 — 1,090 lines (29× median)
api/v1/views/arkstore.py:1 — 1,072 lines (28× median)
arkid/core/models.py:1 — 1,015 lines (27× median)
arkid/core/extension/__init__.py:1 — 1,009 lines (27× median)

Engineering Process & SDLC Maturity

adequate
02.3

Tests cover a thin slice of the codebase

adequate

42 test files against 570 source files (7.4%). 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
42 test files / 570 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 1,178 tracked files

Product & Engineering Maturity

adequate
04.19

1% of bug fixes add or change a test

adequate

Of 465 fixes in the last 24 months, 5 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
5 of 465

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 1,178 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
Dockerfile — runs as root
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. 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/dev2.0.yaml:20 — action pinned by tag
.github/workflows/dev2.0.yaml:22 — action pinned by tag
05.13

41 outbound calls can wait forever

adequate

41 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
api/v1/views/arkstore.py:466 — outbound call without a timeout
arkid/common/arkstore.py:175 — outbound call without a timeout
arkid/common/arkstore.py:186 — outbound call without a timeout
05.22

1 deserialiser that can run code

adequate

1 places read data with a deserialiser that executes what it reads (pickle). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.

Evidence
arkid/core/event.py:263 — code-executing deserialiser
05.60

Relicensed: LGPL-3.0 → AGPL-3.0 (2022-07-04)

adequate

The root licence changed 1 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.md — LGPL-3.0 from 2019-08-05
LICENSE — AGPL-3.0 from 2022-07-04

Observability & Operations

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

None of 1,076 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 1,076 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 1,076 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 longguikeji/arkid: 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.