Borehole · Project · free tier
lf-edge/ekuiper
Free reading: not for reliance
42b6598 · 3,739 commits · 1,955 files
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.

DimensionRating
Architecture & Codebase — including AI provenanceadequate
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturityadequate
Security & Reliability Posturestrong
Observability & Operationsstrong
Fit with the Acquirernot 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

adequate
01.6

internal/xsql/parser.go is 1,899 lines, 16× this codebase's median file

adequate

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

Evidence
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)
01.42

5 model weight files committed directly to git

adequate

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

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.3

111 direct dependencies in a single manifest

adequate

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

Evidence
go.mod — 111 declared
sdk/go/go.mod — 3 declared
contract/go.mod — 0 declared
04.62

Releases are cut from another branch than the one surveyed

adequate

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

Evidence
tag v2.4.2

Security & Reliability Posture

strong
05.27

The build runs third-party code it does not pin

adequate

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

Evidence
.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
05.13

12 outbound calls can wait forever

adequate

12 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
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
05.20

6 SQL statements built from strings

adequate

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

Evidence
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
05.26

1 locked dependency has published vulnerabilities

adequate

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

Evidence
go.mod — github.com/snowflakedb/gosnowflake v1.19.0: GHSA-qqj6-54q6-cxv6 (moderate)
05.65

10 advisories against this project in the last 24 months, 4 high or critical

adequate

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

Evidence
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

strong
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

1 of 1 deployments run a single replica

adequate

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