Read 2026-11-03
growilabs/growi: technical due diligence, read from its repository
What Borehole read in growilabs/growi's code and history at ea2d9cb: 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 | strong |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongCommit messages are templated rather than written
adequate32% of commit subjects are exact repeats of another subject, and subject length varies by only 23.9 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. This was read from the most recent 50,000 commits (30 Oct 2020 to 2 Nov 2026) only; older history was not read.
| 1001× 'clean code' |
| 389× 'fix' |
| 242× 'refactor' |
apps/app/src/server/service/page/index.ts is 5,808 lines, 79× this codebase's median file
adequateThe median source file here is 73 lines. 27 files exceed 1,000 lines, the largest being 5,808. 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.
apps/app/src/server/service/page/index.ts:1 — 5,808 lines (79× median) |
apps/app/src/server/service/page/v5.public-page.integ.ts:1 — 3,154 lines (43× median) |
apps/app/src/server/service/page/v5.non-public-page.integ.ts:1 — 2,486 lines (34× median) |
apps/app/src/server/models/v5.page.integ.ts:1 — 2,256 lines (30× median) |
apps/app/src/server/service/g2g-transfer.ts:1 — 1,936 lines (26× median) |
Engineering Process & SDLC Maturity
strongAlmost 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 4,822 tracked files |
Tests are retried until they pass
adequateThe suite is configured to retry failing tests (apps/app/playwright.config.ts). 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.
apps/app/playwright.config.ts:51 — test retry |
Product & Engineering Maturity
adequate270 direct dependencies in a single manifest
adequateapps/app/package.json declares 270 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.
apps/app/package.json — 270 declared |
apps/slackbot-proxy/package.json — 28 declared |
apps/growi-vault-manager/package.json — 21 declared |
apps/pdf-converter/package.json — 21 declared |
Security & Reliability Posture
adequate2 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.
apps/app/docker/Dockerfile — runs as root |
apps/growi-vault-manager/docker/Dockerfile — runs as root |
3 environment files are committed
adequateapps/app/.env.production, apps/pdf-converter/.env, apps/slackbot-proxy/.env are 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.
apps/app/.env.production — committed environment file |
apps/pdf-converter/.env — committed environment file |
apps/slackbot-proxy/.env — committed environment file |
The build runs third-party code it does not pin
adequate30 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/auto-approve.yml:19 — action pinned by tag |
.github/workflows/auto-labeling.yml:34 — action pinned by tag |
1 deserialiser that can run code
adequate1 places read data with a deserialiser that executes what it reads (PHP `unserialize`). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.
apps/app/src/server/service/g2g-transfer-session-invalidation.ts:19 — code-executing deserialiser |
178 places insert HTML from a variable without sanitising it
adequate178 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.
apps/app/src/client/components/Admin/AdminHome/AdminHome.tsx:101 — HTML from a variable |
apps/app/src/client/components/Admin/App/AwsSetting.tsx:25 — HTML from a variable |
apps/app/src/client/components/Admin/App/AzureSetting.tsx:101 — HTML from a variable |
The production build publishes source maps
adequateThe build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead.
packages/core/vite.config.ts:22 — source maps in a production build |
packages/editor/vite.config.ts:88 — source maps in a production build |
packages/pluginkit/vite.config.ts:24 — source maps in a production build |
9 advisories against this project in the last 24 months, 3 high or critical
adequateThe newest was published on 2026-10-28. 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 3 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 8.0.8. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 52 records name growi with nothing tying them to this repository (CVE-2018-0652, CVE-2018-0653, CVE-2018-0654, …).
| 2026-10-28: CVE-2026-105272 (low): GROWI contains an authorization bypass vulnerability in its page viewing and commenting functionality due to improper use of a user-controlled key. By exploitin |
| 2026-10-28: CVE-2026-109848 (low): GROWI contains an authorization bypass vulnerability in its tag update API and the page update API due to improper use of a user-controlled key. By exploiting t |
| 2026-10-28: CVE-2026-115624 (moderate): GROWI contains a missing authorization check vulnerability in its collaborative editing feature. By exploiting this vulnerability, a user with read-only permiss |
| 2026-10-27: GHSA-m72c-xgjf-56ww (moderate), fixed in 8.0.7: A logged-in user can read the body or comments of a revision of a page they cannot view by pairing its ID with a viewable page ID |
| 2026-10-27: GHSA-pqx5-gx68-83h4 (moderate), fixed in 8.0.7: A logged-in user can copy the body of any page revision into a page they can access via /_api/tags.update |
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 |
The code branches on the environment's name at 19 places
adequate19 places outside configuration test whether they are running in production or staging. Staging then does not exercise production's code, and each deploy is the first run of those branches. Differences belong in configuration the code reads, not in the code.
apps/app/src/server/crowi/index.ts:736 — branch on the environment name |
apps/app/src/utils/logger/index.ts:7 — branch on the environment name |
apps/app/src/utils/logger/index.ts:8 — branch on the environment name |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on growilabs/growi: 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.