Read 2026-11-03
dtstack/taier: technical due diligence, read from its repository
What Borehole read in dtstack/taier's code and history at 00ac252: 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 | adequate |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
adequatesql/init.sql is 2,554 lines, 30× this codebase's median file
adequateThe median source file here is 85 lines. 29 files exceed 1,000 lines, the largest being 2,554. 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.
sql/init.sql:1 — 2,554 lines (30× median) |
sql/1.0/insert.sql:1 — 2,142 lines (25× median) |
taier-datasource/taier-datasource-plugin/taier-datasource-plugin-hive/src/main/java/org/apache/orc/impl/TreeReaderFactory.java:1 — 2,095 lines (24× median) |
taier-datasource/taier-datasource-plugin/taier-datasource-plugin-spark/src/main/java/org/apache/orc/impl/TreeReaderFactory.java:1 — 2,095 lines (24× median) |
taier-worker/taier-worker-plugin/spark/yarn-hdfs-spark320-core/src/main/java/org/apache/hadoop/security/UserGroupInformation.java:1 — 2,063 lines (24× median) |
1 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.
Dockerfile:1 — base image without a version |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate95 test files against 2,326 source files (4.1%). 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.
| 95 test files / 2,326 source files |
Almost 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 3,123 tracked files |
Product & Engineering Maturity
strong12 files still carry code deprecated more than two years ago
adequate12 files were marked deprecated over two years ago and still are, the oldest since Mar 2022. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
taier-data-develop/src/main/java/com/dtstack/taier/develop/flink/sql/source/param/OffsetModeEnum.java — deprecated since Mar 2022 |
taier-ui/src/constant/index.ts — deprecated since Apr 2022 |
taier-ui/src/interface.ts — deprecated since Apr 2022 |
taier-data-develop/src/main/java/com/dtstack/taier/develop/sql/formate/DtStringUtil.java — deprecated since Apr 2022 |
taier-ui/src/pages/rightBar/flinkDimension/index.tsx — deprecated since May 2022 |
Security & Reliability Posture
adequateNone 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 3,123 tracked files; 0 present |
2 Dockerfiles run the application as root
adequateNo USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.
Dockerfile — runs as root |
sql/Dockerfile — runs as root |
10 SQL statements built from strings
adequate10 places in product code build SQL by formatting or joining strings rather than passing parameters. 1 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.
90 locked dependencies have published vulnerabilities, 13 high or critical in what ships
adequate90 of 2,267 locked dependencies match 171 published advisories in OSV, 82 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. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.
taier-ui/pnpm-lock.yaml — handlebars 4.7.8: GHSA-2w6w-674q-4c4q (critical), fixed in 4.7.9 |
website/yarn.lock — @babel/traverse 7.16.7: GHSA-67hx-6x53-jw92 (critical), fixed in 7.23.2 |
taier-ui/pnpm-lock.yaml — immer 7.0.15: GHSA-33f9-j839-rf8h (critical), fixed in 9.0.6; reached only by the build |
5 advisories against this project in the last 24 months, 1 high or critical
adequateThe newest was published on 2026-08-14. 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 2 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 1.5.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 1 record names taier with nothing tying it to this repository (CVE-2026-9437).
| 2026-08-14: CVE-2026-19761 (moderate): A vulnerability has been found in DTStack Taier 1.4.0. Affected is the function MultipartFile.getOriginalFilename of the file UploadController.java of the compo |
| 2026-08-14: CVE-2026-19762 (moderate): A vulnerability was found in DTStack Taier 1.4.0. Affected by this vulnerability is the function Paths.ge of the file FileChunkController.java of the component |
| 2026-08-14: CVE-2026-19763 (moderate): A vulnerability was determined in DTStack Taier 1.4.0. Affected by this issue is the function FileUtils.deleteDirectory of the file ClusterController.java of th |
| 2026-06-09: CVE-2026-11618 (moderate): A vulnerability was determined in DTStack Taier up to 1.4.0. The affected element is the function preHandle of the file taier-data-develop/src/main/java/com/dts |
| 2024-12-05: CVE-2024-41579 (critical): DTStack Taier 1.4.0 allows remote attackers to specify the jobName parameter in the console listNames function to cause a SQL injection vulnerability |
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 2,595 files for 10 structured logging libraries; 0 matched |
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 |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on dtstack/taier: 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.