Borehole · Project · free tier
edgenesis/shifu
Free reading: not for reliance
c902ba3 · 890 commits · 756 files
Read 2026-11-03

edgenesis/shifu: technical due diligence, read from its repository

What Borehole read in edgenesis/shifu's code and history at c902ba3: 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 Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Posturestrong
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • README.md:44: names CNCF

Architecture & Codebase — including AI provenance

adequate
01.25

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

adequate

1 of 2 `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
pkg/k8s/crd/Dockerfile:30 — base image without a version

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v0.107.0, is not on the branch this survey read; the newest release on it is v0.1.1. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v0.107.0

Security & Reliability Posture

strong
05.3

10 dependencies float, and no lockfile is committed

adequate

Dependency versions are declared as ranges and no lockfile is committed, so a build today does not necessarily produce what a build last month produced. That matters twice over in a transaction: the thing being bought cannot be reproduced exactly, and a compromised upstream release arrives without anyone choosing to take it.

05.27

The build runs third-party code it does not pin

adequate

3 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/codecov.yml:24 — action pinned by tag
.github/workflows/golangci-lint.yml:24 — action pinned by tag
05.13

3 outbound calls can wait forever

adequate

3 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/gateway/lwm2m/gatewaylwm2m.go:184 — outbound call without a timeout
pkg/gateway/lwm2m/gatewaylwm2m.go:234 — outbound call without a timeout
pkg/k8s/crd/usermetrics/utils/utils.go:29 — outbound call without a timeout
05.20

3 SQL statements built from strings

adequate

3 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.

Evidence
pkg/telemetryservice/sql/mysql/mysql.go:75 — SQL built from a string
pkg/telemetryservice/sql/sqlserver/sqlserver.go:75 — SQL built from a string
pkg/telemetryservice/sql/tdengine/tdengine.go:51 — SQL built from a string
05.34

2 of 5 Kubernetes workloads declare no resource limits

adequate

2 workload manifests set no CPU or memory limits. One pod that leaks memory or spins can starve everything else on its node, and the scheduler cannot plan capacity for what it cannot see.

05.26

4 locked dependencies have published vulnerabilities

adequate

4 of 145 locked dependencies match 4 published advisories in OSV. 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 — knative.dev/pkg v0.0.0-20250915135827-db4c336acdbe: GHSA-2hw4-c9m4-f2fj (moderate); pinned to a commit or a branch, so whether it has the fix needs the dependency's own source
go.mod — go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0: GHSA-8wmf-6v46-5gfg (low), fixed in 1.45.0
go.mod — go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.44.0: GHSA-8wmf-6v46-5gfg (low), fixed in 1.45.0

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

Has a reporting host, telemetry.shifu.dev; its default could not be read

adequate

pkg/k8s/crd/usermetrics/utils/utils.go names telemetry.shifu.dev as a place to report to, and no setting read here shows whether reporting is on as shipped. For a buyer running it inside their own product, ask whether copies report by default, what is sent, how often, and whether the buyer's customers were told.

Evidence
pkg/k8s/crd/usermetrics/utils/utils.go:13 — names telemetry.shifu.dev
06.18

1 of 2 deployed images carry no version, or `latest`

adequate

1 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.

Evidence
pkg/k8s/crd/config/manager/manager.yaml:38 — image without a version
06.33

3 of 5 deployments run a single replica

adequate

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

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on edgenesis/shifu: 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.