Borehole · Project · free tier
storybookjs/storybook
Free reading: not for reliance
febf7e0 · 50,000 commits · 9,102 files
Read 2026-11-03

storybookjs/storybook: technical due diligence, read from its repository

What Borehole read in storybookjs/storybook's code and history at febf7e0: 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 Maturitystrong
Security & Reliability Posturestrong
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • CONTRIBUTING.md:23: states a policy on AI-generated contributions
  • README.md:43: names OpenSSF

Architecture & Codebase — including AI provenance

strong
01.6

code/core/src/manager/components/sidebar/mockdata.large.ts is 26,727 lines, 524× this codebase's median file

adequate

The median source file here is 51 lines. 18 files exceed 1,000 lines, the largest being 26,727. 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

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (code/core/src/csf-tools/ConfigObject.test.ts); 3 tests are individually marked to retry. 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

strong
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v10.6.5, is not on the branch this survey read; the newest release on it is v10.6.0. The shipped product may differ from what this report describes. Survey the release branch too. This was read from the most recent 50,000 commits (22 Apr 2022 to 3 Nov 2026) only; older history was not read.

Evidence
tag v10.6.5

Security & Reliability Posture

strong
05.25

1 environment file is committed

adequate

.env is 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.

Evidence
.env — committed environment file
05.21

3 shell commands built from strings

adequate

3 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
code/core/src/common/utils/process-ancestry.ts:37 — command run through a shell
code/core/src/common/utils/process-ancestry.ts:70 — command run through a shell
code/core/src/core-server/utils/open-browser/opener.ts:147 — command run through a shell
05.26

74 locked dependencies have published vulnerabilities, 108 high or critical

adequate

74 of 3,408 locked dependencies match 198 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. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.

Evidence
yarn.lock — handlebars 4.7.8: GHSA-2w6w-674q-4c4q (critical), fixed in 4.7.9
yarn.lock — happy-dom 17.6.3: GHSA-37j7-fg3j-429f (critical), fixed in 20.0.0
yarn.lock — next 15.5.6: GHSA-2464-fhr4-w9xw (critical), fixed in 15.5.28
05.48

49 places insert HTML from a variable without sanitising it

adequate

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

Evidence
code/.storybook/preview.tsx:150 — HTML from a variable
code/.storybook/preview.tsx:153 — HTML from a variable
code/addons/a11y/src/components/VisionSimulator.tsx:64 — HTML from a variable
05.65

4 advisories against this project in the last 24 months, 4 high or critical

adequate

The newest was published on 2026-10-12. 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 2 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 10.6.0. Answer lives in: the release you run, set against each fixed version.

Evidence
2026-10-12: GHSA-f2ph-cmg5-wxc8 (critical), fixed in 8.6.19: Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites
2026-10-12: GHSA-px85-f4q5-jh77 (high), fixed in 8.6.19: Storybook dev server vulnerable to code injection from the local network
2026-02-25: GHSA-mjf5-7g4m-gx5w (high), fixed in 8.6.17: Storybook Dev Server is Vulnerable to WebSocket Hijacking
2025-12-17: GHSA-8452-54wp-rmv6 (high), fixed in 7.6.21: Storybook manager bundle may expose environment variables during build

Observability & Operations

not assessable

Not rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on storybookjs/storybook: 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.