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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | adequate |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | strong |
| Observability & Operations | adequate |
| Fit with the Acquirer | not 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
adequate1 base image floats: no version, or `latest`
adequate1 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.
pkg/k8s/crd/Dockerfile:30 — base image without a version |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strongReleases are cut from another branch than the one surveyed
adequateThe 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.
| tag v0.107.0 |
Security & Reliability Posture
strong10 dependencies float, and no lockfile is committed
adequateDependency 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.
examples/httpDeviceShifu/requirements.txt:1 — any version |
examples/mqttTelemetryService/requirements.txt:1 — any version |
examples/opcuaDeviceShifu/server/requirements.txt:1 — any version |
examples/rtspDeviceShifu/requirements.txt:1 — any version |
examples/rtspDeviceShifu/requirements.txt:2 — any version |
The build runs third-party code it does not pin
adequate3 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.
.github/workflows/codecov.yml:24 — action pinned by tag |
.github/workflows/golangci-lint.yml:24 — action pinned by tag |
3 outbound calls can wait forever
adequate3 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.
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 |
3 SQL statements built from strings
adequate3 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.
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 |
2 of 5 Kubernetes workloads declare no resource limits
adequate2 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.
pkg/k8s/crd/config/default/manager_config_patch.yaml — workload with no limits |
pkg/telemetryservice/install/telemetryservice_install.yaml — workload with no limits |
4 locked dependencies have published vulnerabilities
adequate4 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.
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
adequateOne request cannot be followed through the logs
adequateNothing 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.
| no request id, correlation id or tracing found |
No error reporter is wired in
adequateNothing 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.
| no error reporter initialised |
Has a reporting host, telemetry.shifu.dev; its default could not be read
adequatepkg/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.
pkg/k8s/crd/usermetrics/utils/utils.go:13 — names telemetry.shifu.dev |
1 of 2 deployed images carry no version, or `latest`
adequate1 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.
pkg/k8s/crd/config/manager/manager.yaml:38 — image without a version |
3 of 5 deployments run a single replica
adequate3 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.
pkg/k8s/crd/config/manager/manager.yaml — replicas: 1 |
pkg/k8s/crd/install/config_default.yaml — replicas: 1 |
pkg/k8s/crd/install/shifu_install.yml — replicas: 1 |
Fit with the Acquirer
not assessableNot 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.