Borehole · Project · free tier
n8n-io/n8n
Free reading: not for reliance
01bd57c · 26,915 commits · 33,273 files
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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot 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 source
  • LICENSE: 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

strong
01.6

packages/frontend/@n8n/design-system/src/components/N8nIconPicker/emojiData.ts is 9,905 lines, 132× this codebase's median file

adequate

The 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.

Engineering Process & SDLC Maturity

adequate
02.24

5% of recent commits change more than 2,000 lines

adequate

664 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.

Evidence
664 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.3

168 direct dependencies in a single manifest

adequate

packages/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.

04.62

Releases are cut from another branch than the one surveyed

adequate

The 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.

Evidence
tag n8n@3.1.0

Security & Reliability Posture

adequate
05.5

40 credential-shaped strings added in the history sit in tests, examples, documentation or local development settings

adequate

Strings 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.

Evidence
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
05.6

3 Dockerfiles run the application as root

adequate

No 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.

05.27

The build runs third-party code it does not pin

adequate

1 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.

Evidence
.github/workflows/docker-build-push.yml:549 — action pinned by tag
docker/get-n8n.sh:6 — download piped into a shell
05.20

36 SQL statements built from strings

adequate

36 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.

05.21

6 shell commands built from strings

adequate

6 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.

Evidence
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
05.45

1 workload setting give a container the host

adequate

1 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.

Evidence
docker/get-n8n-compose.yml:57 — privileged or host namespace
05.48

4 places insert HTML from a variable without sanitising it

adequate

4 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.

05.9

3 vendored components with no licence

adequate

Third-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.

05.66

The licence is SUL-1.0: source available, not open source

adequate

LICENSE.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.

Evidence
LICENSE.md:1 — 88 lines, SUL-1.0
05.60

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)

adequate

The root licence changed 3 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.

Evidence
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
05.61

Part of the code is under a separate licence: packages/@n8n/cli/ (SUL-1.0)

adequate

A 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.

Evidence
packages/@n8n/cli/LICENSE.md — licence: SUL-1.0
05.65

236 advisories against this project in the last 24 months, 124 high or critical, 1 on CISA's known-exploited list

adequate

1 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.

Evidence
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

strong

No finding.

Fit with the Acquirer

not assessable

Not 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.