Borehole · Project · free tier
kong/insomnia
Free reading: not for reliance
61922ae · 6,589 commits · 2,369 files
Read 2026-10-22

kong/insomnia: technical due diligence, read from its repository

What Borehole read in kong/insomnia's code and history at 61922ae: 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 Maturitystrong
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • LICENSE: Relicensed: GPL-3.0 → AGPL-3.0 (2017-05-16) → MIT (2017-11-26) → Apache-2.0 (2023-10-19)

Architecture & Codebase — including AI provenance

strong
01.6

packages/insomnia/src/main/git-service.ts is 4,300 lines, 58× this codebase's median file

adequate

The median source file here is 73 lines. 16 files exceed 1,000 lines, the largest being 4,300. 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.

Evidence
packages/insomnia/src/main/git-service.ts:1 — 4,300 lines (58× median)
packages/insomnia/src/ui/components/modals/git-project-staging-modal.tsx:1 — 2,273 lines (31× median)
packages/insomnia/src/sync/git/git-vcs.ts:1 — 2,255 lines (30× median)
packages/insomnia/src/common/insomnia-v5.ts:1 — 1,559 lines (21× median)
packages/insomnia-vcs/src/vcs.ts:1 — 1,485 lines (20× median)

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (packages/insomnia-smoke-test/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.

Product & Engineering Maturity

adequate
04.3

113 direct dependencies in a single manifest

adequate

packages/insomnia/package.json declares 113 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.

Security & Reliability Posture

adequate
05.1

1 credential-shaped string committed to the tree

adequate

Matches for private key block appear in tracked files outside test and fixture paths. They stay in the history even after they leave the tree, so what matters is whether each was rotated. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when.

Evidence
private key block pattern matched
05.6

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

Evidence
packages/insomnia-inso/Dockerfile — runs as root
05.26

65 locked dependencies have published vulnerabilities, 64 high or critical in what ships

adequate

65 of 2,304 locked dependencies match 181 published advisories in OSV, 108 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.

Evidence
package-lock.json — @simple-git/argv-parser 1.1.1: GHSA-v5rq-49vh-5v5c (critical), fixed in 2.0.1
package-lock.json — decompress 4.2.1: GHSA-hrh2-vp3x-79xf (critical)
package-lock.json — dompurify 3.4.16: GHSA-cg2g-xh64-v4q7 (critical), fixed in 3.4.17
05.49

The production build publishes source maps

adequate

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

Evidence
packages/insomnia/vite.config.ts:61 — source maps in a production build
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.60

Relicensed: GPL-3.0 → AGPL-3.0 (2017-05-16) → MIT (2017-11-26) → Apache-2.0 (2023-10-19)

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 — GPL-3.0 from 2016-04-23
LICENSE — AGPL-3.0 from 2017-05-16
LICENSE — MIT from 2017-11-26
LICENSE — Apache-2.0 from 2023-10-19
05.65

1 advisory against this project in the last 24 months, 1 high or critical

adequate

The newest was published on 2025-05-09. 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 1 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 7.1.1. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 1 record names insomnia with nothing tying it to this repository (CVE-2025-1353).

Evidence
2025-05-09: CVE-2025-1087 (critical): Kong Insomnia Desktop Application before 11.0.2 contains a template injection vulnerability that allows attackers to execute arbitrary code. The vulnerability e

Observability & Operations

adequate
06.2

No structured logging library is in use

adequate

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

Evidence
searched 2,110 files for 10 structured logging libraries; 0 matched

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on kong/insomnia: 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.