Read 2026-11-03
kubeshop/monokle: technical due diligence, read from its repository
What Borehole read in kubeshop/monokle's code and history at 64cac77: 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 | strong |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongNo finding.
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate21 test files against 1,096 source files (1.9%). 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.
| 21 test files / 1,096 source files |
Tests are retried until they pass
adequateThe suite is configured to retry failing tests (playwright.config.ts). A retry turns a flaky test green without saying why it failed, so a green build means the tests passed eventually. Ask how many retries a typical run needs, and which tests need them.
playwright.config.ts:10 — test retry |
Product & Engineering Maturity
adequate82 direct dependencies in a single manifest
adequatepackage.json declares 82 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits.
package.json — 82 declared |
Effort is shifting from building to rewriting
adequateDeleted lines per line added rose from 0.65 to 1.43 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.
| first half 0.65, second half 1.43 (split 2023-08-02) |
Node.js 18 is past end of life
adequateThe code is pinned to Node.js 18 (end of life 2025-04-30). None of these receives security fixes any more; the first stopped on 2025-04-30. Moving off an unsupported runtime is rarely a one-line change, so a buyer should ask whether the upgrade is planned and what it touches.
.node-version — Node.js 18, end of life 2025-04-30 |
0% of bug fixes add or change a test
adequateOf 38 fixes in the last 24 months, 0 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.
| 0 of 38 |
Security & Reliability Posture
adequate7 of 8 Kubernetes workloads declare no resource limits
adequate7 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.
src/redux/services/__test__/helm-charts/aks-helloworld/templates/acs-helloworld.yaml — workload with no limits |
src/redux/services/__test__/manifests/argo-rollouts/base/argo-rollouts-deployment.yaml — workload with no limits |
src/redux/services/__test__/manifests/argo-rollouts/namespace-install/add-namespaced-flag.yaml — workload with no limits |
37 locked dependencies have published vulnerabilities, 88 high or critical in what ships
adequate37 of 615 locked dependencies match 144 published advisories in OSV, 88 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.
package-lock.json — form-data 2.3.3: GHSA-fjxv-7rqg-78g4 (critical), fixed in 2.5.4 |
package-lock.json — form-data 2.5.1: GHSA-fjxv-7rqg-78g4 (critical), fixed in 2.5.4 |
package-lock.json — form-data 4.0.0: GHSA-fjxv-7rqg-78g4 (critical), fixed in 4.0.4 |
The production build publishes source maps
adequateThe build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead.
craco.config.js:44 — source maps in a production build |
Observability & Operations
adequateNo structured logging library is in use
adequateNothing 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.
| searched 1,320 files for 10 structured logging libraries; 0 matched |
An error reporter is installed but never initialised
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 |
3 of 5 deployed images carry no version, or `latest`
adequate3 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.
src/redux/services/__test__/manifests/argo-rollouts/base/argo-rollouts-deployment.yaml:21 — image without a version |
src/redux/services/__test__/manifests/resourceRefsWithNamespaces/deployment.yaml:25 — image without a version |
src/redux/services/__test__/manifests/pairRefs/deployment.yaml:18 — image without a version |
Readiness and liveness probes are identical in 1 of 9 workloads
adequateBoth probes call the same endpoint. When a dependency slows down, the liveness probe fails with the readiness probe, so the platform restarts pods that only needed taking out of rotation, and a partial outage becomes a full one. Liveness should ask whether the process is alive; readiness whether it can serve.
src/redux/services/__test__/manifests/invalid-deployment/invalid-deployment.yaml — same probe endpoint twice |
2 of 8 deployments run a single replica
adequate2 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.
src/redux/services/__test__/helm-charts/aks-helloworld/templates/acs-helloworld.yaml — replicas: 1 |
src/redux/services/__test__/manifests/pairRefs/deployment.yaml — 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 kubeshop/monokle: 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.