Read 2026-10-28
apache/seatunnel: technical due diligence, read from its repository
What Borehole read in apache/seatunnel's code and history at c8e7896: 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 | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
AGENTS.md:129: names Apache Software FoundationREADME.md:73: names CNCF.gitmodules:1: 2 submodule(s) this survey does not read: .github/actions/get-workflow-origin, .github/actions/label-when-approved-action
Architecture & Codebase — including AI provenance
strongseatunnel-connectors-v2/connector-prometheus/src/main/java/org/apache/seatunnel/connectors/seatunnel/prometheus/sink/proto/Types.java is 17,106 lines, 192× this codebase's median file
adequateThe median source file here is 89 lines. 30 files exceed 1,000 lines, the largest being 17,106. 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.
Engineering Process & SDLC Maturity
adequateAlmost no process scaffolding exists in the repository
adequateOf five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.
| 1 of 5 markers present across 10,115 tracked files |
Tests are retried until they pass
adequate6 tests are individually marked to retry. 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.
5% of recent commits change more than 2,000 lines
adequate111 of 2100 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.
| 111 commits over 2,000 lines |
Product & Engineering Maturity
strong29 files still carry code deprecated more than two years ago
adequate29 files were marked deprecated over two years ago and still are, the oldest since Jan 2022. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
seatunnel-common/src/main/java/org/apache/seatunnel/common/config/CheckConfigUtil.java — deprecated since Jan 2022 |
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/SinkWriter.java — deprecated since Apr 2022 |
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/TaskExecutionService.java — deprecated since Nov 2022 |
seatunnel-engine/seatunnel-engine-client/src/main/java/org/apache/seatunnel/engine/client/SeaTunnelClient.java — deprecated since Feb 2023 |
seatunnel-api/src/main/java/org/apache/seatunnel/api/table/catalog/CatalogTableUtil.java — deprecated since Mar 2023 |
Releases are cut from another branch than the one surveyed
adequateThe newest release, v3.0.0, is not on the branch this survey read; the newest release on it is v2.0.4. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v3.0.0 |
Security & Reliability Posture
adequate2 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings
adequateStrings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key. 4 other matchs set aside: expired tokens, licence tokens a vendor verifies with a public key, or placeholder text where a key would go. None grants access to anything.
| 2 cited: Slack token, where fakes are usual |
None of the standard security guard rails are configured
adequateThere is no disclosure policy, no automated dependency updates, no named code owners and no pre-commit configuration. None of these is load-bearing on its own. Their collective absence says that security posture here is whatever the current team happens to remember to do, which is not a posture that survives the team changing.
| checked 5 kinds of guard rail across 10,115 tracked files; 0 present |
1 environment file is committed
adequateseatunnel-engine/seatunnel-engine-ui/.env.production is tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.
seatunnel-engine/seatunnel-engine-ui/.env.production — committed environment file |
The build runs third-party code it does not pin
adequate5 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/backend.yml:61 — action pinned by tag |
.github/workflows/backend.yml:596 — action pinned by tag |
29 SQL statements built from strings
adequate29 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.
3 deserialisers that can run code
adequate3 places read data with a deserialiser that executes what it reads (Java object streams). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.
seatunnel-common/src/main/java/org/apache/seatunnel/common/utils/SerializationUtils.java:61 — code-executing deserialiser |
seatunnel-common/src/main/java/org/apache/seatunnel/common/utils/SerializationUtils.java:84 — code-executing deserialiser |
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/event/JobEventReportOperation.java:67 — code-executing deserialiser |
4 places insert HTML from a variable without sanitising it
adequate4 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.
seatunnel-trace/seatunnel-trace-analyzer/src/main/resources/template/report.html:1030 — HTML from a variable |
seatunnel-trace/seatunnel-trace-analyzer/src/main/resources/template/report.html:1867 — HTML from a variable |
seatunnel-trace/seatunnel-trace-analyzer/src/main/resources/template/report.html:1906 — HTML from a variable |
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 9,727 files for 10 structured logging libraries; 0 matched |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on apache/seatunnel: 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.