Read 2026-11-08
n8n-io/n8n: technical due diligence, read from its repository
What Borehole read in n8n-io/n8n's code and history at 01bd57c: 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 | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
LICENSE.md:1: The licence is SUL-1.0: source available, not open sourceLICENSE: Relicensed: Apache-2.0 with the Commons Clause and an attribution term → SUL-1.0 (2022-03-17) → SUL-1.0 AND a commercial licence (2022-08-29) → SUL-1.0 (2024-04-27)packages/@n8n/cli/LICENSE.md: Part of the code is under a separate licence: packages/@n8n/cli/ (SUL-1.0)CONTRIBUTING.md:610: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
strongpackages/frontend/@n8n/design-system/src/components/N8nIconPicker/emojiData.ts is 9,905 lines, 132× this codebase's median file
adequateThe median source file here is 75 lines. 226 files exceed 1,000 lines, the largest being 9,905. 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.
packages/frontend/@n8n/design-system/src/components/N8nIconPicker/emojiData.ts:1 — 9,905 lines (132× median) |
packages/nodes-base/nodes/UProc/Json/Tools.ts:1 — 7,968 lines (106× median) |
packages/cli/src/modules/instance-ai/instance-ai.adapter.service.ts:1 — 6,000 lines (80× median) |
packages/cli/src/modules/instance-ai/instance-ai.service.ts:1 — 5,198 lines (69× median) |
packages/nodes-base/nodes/Pipedrive/v1/PipedriveV1.node.ts:1 — 4,998 lines (66× median) |
Engineering Process & SDLC Maturity
adequate5% of recent commits change more than 2,000 lines
adequate664 of 12533 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.
| 664 commits over 2,000 lines |
Product & Engineering Maturity
adequate168 direct dependencies in a single manifest
adequatepackages/cli/package.json declares 168 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.
packages/cli/package.json — 168 declared |
packages/@n8n/nodes-langchain/package.json — 89 declared |
packages/nodes-base/package.json — 89 declared |
packages/@n8n/agents/package.json — 37 declared |
Releases are cut from another branch than the one surveyed
adequateThe newest release, n8n@3.1.0, is not on the branch this survey read; the newest release on it is n8n@2.47.0. The shipped product may differ from what this report describes. Survey the release branch too.
| tag n8n@3.1.0 |
Security & Reliability Posture
adequate40 credential-shaped strings added in the history 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. 8 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 |
| JWT, where fakes are usual |
| private key block, where fakes are usual |
| AWS access key, where fakes are usual |
3 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.
.agents/skills/testmax-n8n-ai/sandbox/Dockerfile — runs as root |
docker/images/n8n-base/Dockerfile — runs as root |
docker/images/node-pc/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate1 third-party CI action is referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 6 steps pipe 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.
.github/workflows/docker-build-push.yml:549 — action pinned by tag |
docker/get-n8n.sh:6 — download piped into a shell |
36 SQL statements built from strings
adequate36 places in product code build SQL by formatting or joining strings rather than passing parameters, and in 5 of them a value, not a table or column name, goes into the string. Where any of those values comes from a request, it is an injection point. Each site needs a look; the fix, parameters, is small.
packages/@n8n/backend-test-utils/src/test-db.ts:114 — SQL built from a string |
packages/@n8n/backend-test-utils/src/test-db.ts:131 — SQL built from a string |
packages/@n8n/db/src/repositories/scheduled-task.repository.ts:667 — SQL built from a string |
6 shell commands built from strings
adequate6 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.
packages/@n8n/node-cli/src/commands/dev/utils.ts:353 — command run through a shell |
packages/@n8n/node-cli/src/commands/dev/utils.ts:464 — command run through a shell |
packages/quality/environments/containers/helm-stack.ts:173 — command run through a shell |
1 workload setting give a container the host
adequate1 places in the deployment configuration run a container privileged or in the host's network, process or IPC namespace. A compromise of that container is a compromise of the machine, and most acquirers' security reviews block it. Node agents (network, storage, monitoring) are excluded.
docker/get-n8n-compose.yml:57 — privileged or host namespace |
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.
packages/frontend/@n8n/design-system/src/components/N8nCodeBlock/CodeBlock.vue:129 — HTML from a variable |
packages/frontend/@n8n/design-system/src/components/N8nMarkdown/Markdown.vue:315 — HTML from a variable |
packages/frontend/editor-ui/src/features/ai/instanceAi/components/InstanceAiMarkdown.vue:280 — HTML from a variable |
3 vendored components with no licence
adequateThird-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.
packages/nodes-base/nodes/QuickBooks/__schema__/v1.0.0/vendor/getAll.json — 1 tracked files, no licence file |
packages/nodes-base/nodes/QuickBooks/descriptions/Vendor/VendorAdditionalFieldsOptions.ts — 1 tracked files, no licence file |
packages/nodes-base/nodes/QuickBooks/descriptions/Vendor/VendorDescription.ts — 1 tracked files, no licence file |
The licence is SUL-1.0: source available, not open source
adequateLICENSE.md grants SUL-1.0: source available, not open source; use limited to internal business purposes. The reading comes from the licence's own title and clauses. Whether the terms fit the buyer's intended use, and whether any paid licence transfers with the code, is a question for counsel and the licensor.
LICENSE.md:1 — 88 lines, SUL-1.0 |
Relicensed: Apache-2.0 with the Commons Clause and an attribution term → SUL-1.0 (2022-03-17) → SUL-1.0 AND a commercial licence (2022-08-29) → SUL-1.0 (2024-04-27)
adequateThe root licence changed 3 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.
LICENSE — Apache-2.0 with the Commons Clause and an attribution term from 2019-06-23 |
LICENSE.md — SUL-1.0 from 2022-03-17 |
LICENSE.md — SUL-1.0 AND a commercial licence from 2022-08-29 |
LICENSE.md — SUL-1.0 from 2024-04-27 |
Part of the code is under a separate licence: packages/@n8n/cli/ (SUL-1.0)
adequateA directory named for a paid edition carries its own licence. That code is usually not open source even where the rest is; what the buyer may do with each part differs.
packages/@n8n/cli/LICENSE.md — licence: SUL-1.0 |
236 advisories against this project in the last 24 months, 124 high or critical, 1 on CISA's known-exploited list
adequate1 of them is on CISA's known-exploited list: check first whether the release you run has the fix. The 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 207 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.47.0. Answer lives in: the release you run, set against each fixed version.
| 2025-12-22: GHSA-v98v-ff95-f3cp (critical; on CISA's Known Exploited list), fixed in 1.120.4: n8n Vulnerable to Remote Code Execution via Expression Injection |
| 2026-10-28: GHSA-2x68-96jw-5r6c (moderate), fixed in >= 3.0.1: SQL Injection via Metadata Filter Key in the Vector Store (OracleDB) Node |
| 2026-10-28: GHSA-9p7v-45m2-wxgj (high), fixed in >= 3.0.1: Deprecated Code Nodes Allow Code Execution in the n8n Main Process |
| 2026-10-28: GHSA-mx4r-96jx-v278 (moderate), fixed in >= 3.0.1: Asana Trigger: Unauthenticated Request Can Reset Webhook Verification Secret |
| 2026-10-28: GHSA-4v22-g448-h4rg (moderate), fixed in >= 3.0.1: MongoDB Node Update Operations Can Modify Unintended Documents |
Observability & Operations
strongNo finding.
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on n8n-io/n8n: 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.