Read 2026-10-28
spiculedata/saiku: technical due diligence, read from its repository
What Borehole read in spiculedata/saiku's code and history at 39c0063: 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
docs/AI-QUERY-API.md:1485: This repository is a mirror; development happens elsewhereAGENTS.md:103: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
strongCommit messages are templated rather than written
adequate36% of commit subjects are exact repeats of another subject, and subject length varies by only 28.6 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like.
| 53× '[maven-release-plugin] prepare for next development iteratio' |
| 52× 'Updating develop poms back to pre merge state' |
| 48× 'Updating development poms to hotfix version to avoid merge c' |
saiku-core/saiku-web/src/main/resources/org/saiku/web/export/env.rhino.js is 14,007 lines, 110× this codebase's median file
adequateThe median source file here is 127 lines. 26 files exceed 1,270 lines, the largest being 14,007. 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.
saiku-core/saiku-web/src/main/resources/org/saiku/web/export/env.rhino.js:1 — 14,007 lines (110× median) |
saiku-core/saiku-web/src/main/resources/org/saiku/web/export/jquery.js:1 — 10,309 lines (81× median) |
saiku-ui/src/lib/cube-designer/WorkbenchView.svelte:1 — 6,211 lines (48× median) |
saiku-core/saiku-web/src/main/java/org/saiku/web/rest/resources/AiQueryResource.java:1 — 4,230 lines (33× median) |
saiku-ui/src/lib/cube-designer/state.svelte.ts:1 — 2,405 lines (18× median) |
Engineering Process & SDLC Maturity
adequateCI runs tests that cannot fail the build
adequate1 test command in CI ends in `|| true` or an equivalent, so the pipeline passes whatever the tests say. A green build then means the tests ran, not that they passed.
.github/workflows/ci.yml:276 — a test command that cannot fail |
Tests are retried until they pass
adequateThe suite is configured to retry failing tests (.github/scripts/flake-ledger.test.mjs). 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.
.github/scripts/flake-ledger.test.mjs:422 — test retry |
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequate4 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.
| AWS access key, where fakes are usual |
| GitHub token, where fakes are usual |
| Slack token, where fakes are usual |
| JWT, where fakes are usual |
3 SQL statements built from strings
adequate3 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.
enigma/src/lib/server/store.ts:283 — SQL built from a string |
enigma/src/lib/server/store.ts:187 — SQL built from a string |
saiku-core/saiku-web/src/main/java/org/saiku/web/rest/resources/cubedesigner/CubeDesignerResource.java:195 — SQL built from a string |
2 locked dependencies have published vulnerabilities, 2 high or critical in what ships
adequate2 of 178 locked dependencies match 4 published advisories in OSV, 2 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.
saiku-ui/package-lock.json — dompurify 3.4.16: GHSA-cg2g-xh64-v4q7 (critical), fixed in 3.4.17 |
saiku-ui/package-lock.json — deepmerge 4.3.1: GHSA-gcqx-w48m-w2h4 (low); reached only by the build |
46 places insert HTML from a variable without sanitising it
adequate46 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.
saiku-core/saiku-web/src/main/resources/org/saiku/web/export/jquery.js:5447 — HTML from a variable |
saiku-core/saiku-web/src/main/resources/org/saiku/web/export/jquery.js:5455 — HTML from a variable |
saiku-core/saiku-web/src/main/resources/org/saiku/web/export/jquery.js:5493 — 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 2,449 files for 10 structured logging libraries; 0 matched |
One request cannot be followed through the logs
adequateNothing in the service carries a request or correlation id, and there is no tracing. When a customer reports a failure, the log lines that belong to their request cannot be picked out from everyone else's.
| no request id, correlation id or tracing found |
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 |
2 of 4 deployed images carry no version, or `latest`
adequate2 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.
observability/cloudwatch/docker-compose.yml:9 — image without a version |
observability/datadog/docker-compose.yml:29 — image without a version |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on spiculedata/saiku: 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.