Borehole · Project · free tier
openyurtio/openyurt
Free reading: not for reliance
077652c · 1,456 commits · 1,010 files
Read 2026-11-03

openyurtio/openyurt: technical due diligence, read from its repository

What Borehole read in openyurtio/openyurt's code and history at 077652c: 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 Maturitystrong
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • GOVERNANCE.md:3: names CNCF
  • README.md:9: names OpenSSF
  • README.md:19: names Cloud Native Computing Foundation

Architecture & Codebase — including AI provenance

strong
01.6

pkg/yurtmanager/controller/nodelifecycle/node_life_cycle_controller.go is 1,310 lines, 10× this codebase's median file

adequate

The median source file here is 124 lines. 1 file exceed 1,240 lines, the largest being 1,310. 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.

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.2

573 unresolved debt markers, 3.1 per thousand lines

adequate

The codebase carries 573 TODO, FIXME, HACK or XXX markers across 182,066 lines. These are the team's own notes about work they knew was unfinished. A high density is not automatically bad — it can mean an honest team — but every one of them is a decision deferred, and after an acquisition they are deferred onto someone who was not in the room.

Evidence
Makefile:205 — # hack/make-rule/generate_openapi.sh // TODO by kadisi
charts/yurt-iot-dock/crds/iot.openyurt.io_devices.yaml:75 — description: TODO support the following field A list of auto-generated
charts/yurt-iot-dock/crds/iot.openyurt.io_devices.yaml:86 — empty interface so it can be anything) TODO: location type in edgex
cmd/yurt-iot-dock/app/core.go:256 — if _, err := client.CoreV1().Namespaces().Get(context.TODO(), opts.Namespace, metav1.GetOp
cmd/yurt-manager/app/client/token.go:69 — tr, inErr := ts.cli.CoreV1().ServiceAccounts(ts.namespace).CreateToken(context.TODO(), ts.

Security & Reliability Posture

adequate
05.1

10 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
5 cited: JWT, where fakes are usual
05.27

The build runs third-party code it does not pin

adequate

8 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/back-port.yaml:36 — action pinned by tag
.github/workflows/ci.yaml:31 — action pinned by tag
05.13

2 outbound calls can wait forever

adequate

2 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
pkg/node-servant/static-pod-upgrade/util/pods.go:70 — outbound call without a timeout
pkg/yurtadm/util/yurthub/yurthub.go:469 — outbound call without a timeout
05.21

3 shell commands built from strings

adequate

3 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.

Evidence
pkg/node-servant/components/kubelet.go:175 — command run through a shell
pkg/node-servant/components/kubelet.go:180 — command run through a shell
pkg/yurtadm/util/system/system.go:58 — command run through a shell
05.26

4 locked dependencies have published vulnerabilities, 2 high or critical in what ships

adequate

4 of 167 locked dependencies match 6 published advisories in OSV, 2 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/go-jose/go-jose/v3 v3.0.5: GHSA-mgcc-cww5-fp2q (high)
go.mod — github.com/golang-jwt/jwt v3.2.2+incompatible: GHSA-mh63-6h87-95cp (high)
go.mod — go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0: GHSA-8wmf-6v46-5gfg (low), fixed in 1.45.0
05.45

3 workload settings give a container the host

adequate

3 places in the deployment configuration run a container privileged or in the host's network, process or IPC namespace. A compromise of that container is a compromise of the machine, and most acquirers' security reviews block it. Node agents (network, storage, monitoring) are excluded.

Evidence
charts/yurthub/templates/yurthub-cloud-yurtstaticset.yaml:79 — privileged or host namespace
charts/yurthub/templates/yurthub-yurtstaticset.yaml:79 — privileged or host namespace
config/setup/yurthub.yaml:62 — privileged or host namespace

Observability & Operations

adequate
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
06.33

2 of 3 deployments run a single replica

adequate

2 deployments set `replicas: 1`, and nothing (an autoscaler, a disruption budget) adds more. Every deploy and every node drain is downtime, and the availability the buyer inherits has a ceiling.

Evidence
config/setup/raven-proxy-dns.yaml — replicas: 1
config/setup/yurt-tunnel-dns.yaml — replicas: 1

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on openyurtio/openyurt: 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.