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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not 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
strongpackages/insomnia/src/main/git-service.ts is 4,300 lines, 58× this codebase's median file
adequateThe 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.
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
strongTests are retried until they pass
adequateThe 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.
packages/insomnia-smoke-test/playwright.config.ts:49 — test retry |
Product & Engineering Maturity
adequate113 direct dependencies in a single manifest
adequatepackages/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.
packages/insomnia/package.json — 113 declared |
packages/insomnia-inso/package.json — 16 declared |
packages/insomnia-scripting-environment/package.json — 15 declared |
packages/insomnia-component-docs/package.json — 9 declared |
Security & Reliability Posture
adequate1 credential-shaped string committed to the tree
adequateMatches 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.
| private key block pattern matched |
1 Dockerfile runs 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.
packages/insomnia-inso/Dockerfile — runs as root |
65 locked dependencies have published vulnerabilities, 64 high or critical in what ships
adequate65 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.
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 |
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/insomnia/vite.config.ts:61 — source maps in a production build |
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/insomnia/src/common/templating/third_party/object-path.ts — 1 tracked files, no licence file |
packages/insomnia/src/templating/sandbox/vendored/ajv.generated.ts — 1 tracked files, no licence file |
packages/insomnia/src/templating/sandbox/vendored/uuid.generated.ts — 1 tracked files, no licence file |
Relicensed: GPL-3.0 → AGPL-3.0 (2017-05-16) → MIT (2017-11-26) → Apache-2.0 (2023-10-19)
adequateThe root licence changed 3 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.
1 advisory against this project in the last 24 months, 1 high or critical
adequateThe 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).
| 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
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,110 files for 10 structured logging libraries; 0 matched |
Fit with the Acquirer
not assessableNot 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.