Read 2026-11-03
lf-edge/ekuiper: technical due diligence, read from its repository
What Borehole read in lf-edge/ekuiper's code and history at 42b6598: 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 | adequate |
| Security & Reliability Posture | strong |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
SECURITY.md:41: names Linux Foundation
Architecture & Codebase — including AI provenance
adequateinternal/xsql/parser.go is 1,899 lines, 16× this codebase's median file
adequateThe median source file here is 118 lines. 5 files exceed 1,180 lines, the largest being 1,899. 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.
internal/xsql/parser.go:1 — 1,899 lines (16× median) |
cmd/kuiper/main.go:1 — 1,418 lines (12× median) |
internal/xsql/valuer.go:1 — 1,374 lines (11× median) |
pkg/cast/cast.go:1 — 1,332 lines (11× median) |
internal/topo/planner/planner.go:1 — 1,238 lines (10× median) |
5 model weight files committed directly to git
adequate5 model weight files are stored in git itself, not in LFS, DVC or a model hub. Every clone carries them, the history keeps every version for good, and nothing records which run or data produced them.
extensions/functions/dependencies/tensorflow/models/fizzbuzz_model.tflite — weights in git |
extensions/functions/dependencies/tensorflow/models/label.tflite — weights in git |
extensions/functions/dependencies/tensorflow/models/sin_model.tflite — weights in git |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequate111 direct dependencies in a single manifest
adequatego.mod declares 111 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.
go.mod — 111 declared |
sdk/go/go.mod — 3 declared |
contract/go.mod — 0 declared |
Releases are cut from another branch than the one surveyed
adequateThe newest release, v2.4.2, is not on the branch this survey read; the newest release on it is v2.4.0. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v2.4.2 |
Security & Reliability Posture
strongThe build runs third-party code it does not pin
adequate14 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; 1 step pipes a download straight into a shell. 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/build_base_image.yaml:32 — action pinned by tag |
.github/workflows/build_base_image.yaml:33 — action pinned by tag |
.github/workflows/run_fvt_tests.yaml:323 — download piped into a shell |
12 outbound calls can wait forever
adequate12 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.
fvt/sdk.go:45 — outbound call without a timeout |
fvt/sdk.go:70 — outbound call without a timeout |
fvt/sdk.go:93 — outbound call without a timeout |
6 SQL statements built from strings
adequate6 places in product code build SQL by formatting or joining strings rather than passing parameters. 2 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.
internal/server/rule_migration.go:558 — SQL built from a string |
internal/topo/planner/planner_graph.go:631 — SQL built from a string |
extensions/impl/sql/sqldatabase/sqlgen/commonSqlDialect.go:34 — SQL built from a string |
1 locked dependency has published vulnerabilities
adequate1 of 417 locked dependencies match 1 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.
go.mod — github.com/snowflakedb/gosnowflake v1.19.0: GHSA-qqj6-54q6-cxv6 (moderate) |
10 advisories against this project in the last 24 months, 4 high or critical
adequateThe newest was published on 2026-09-07. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 5 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 2.4.0. Answer lives in: the release you run, set against each fixed version.
| 2026-09-07: GHSA-c23q-fw86-9h5x (moderate), fixed in 2.4.1: LF Edge eKuiper: Arbitrary File and Directory Deletion via Path Traversal in Plugin Installation Endpoint |
| 2026-09-07: GHSA-f99r-c45m-cj8r (moderate), fixed in 2.4.1: SQL Injection in SQL Sink via Unvalidated Column Identifiers |
| 2026-09-01: GHSA-g8rh-fjm6-h2h9 (low), fixed in 2.4.0: LF Edge eKuiper: Self-XSS in External Service Creation |
| 2026-09-01: GHSA-pqqc-8v73-9gg2 (moderate), fixed in 2.4.0: LF Edge eKuiper: SSRF in External Service |
| 2025-11-24: GHSA-rj4j-2jph-gg43 (critical), fixed in 2.3.0: LF Edge eKuiper is vulnerable to Arbitrary File Read/Write via unsanitized names and zip extraction |
Observability & Operations
strongNo 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 |
1 of 1 deployments run a single replica
adequate1 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.
deploy/chart/ekuiper/templates/statefulset.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 lf-edge/ekuiper: 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.