← Back to scan
File as GitHub Issue repo: storybookjs/storybook

Push this scan report to storybookjs/storybook

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

JS: require() with non-literal

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT SEC009 [SEC009] .env File Committed: .env file with secrets committed to repository. .env
CRIT MINED035 [MINED035] Js New Function: new Function(...) compiles strings to functions. code/frameworks/angular/src/server/fram…:28
CRIT MINED019 [MINED019] Ssti Jinja From String: jinja2.Environment().from_string(user_input) — full RC… code/frameworks/angular/src/client/angu…:77
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… code/frameworks/nextjs-vite/src/find-po…:15
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… code/frameworks/ember/src/client/previe…:16
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… code/core/src/shared/utils/module.ts:89
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_TOKEN` on a `pull_request` trigger: This workflow tr… .github/workflows/publish.yml:299
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_TOKEN` on a `pull_request` trigger: This workflow tr… .github/workflows/publish.yml:272
CRIT MINED116 [MINED116] Workflow uses `secrets.NX_CLOUD_ACCESS_TOKEN` on a `pull_request` trigger: Thi… .github/workflows/publish.yml:265
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_TOKEN` on a `pull_request` trigger: This workflow tr… .github/workflows/publish.yml:247
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_TOKEN` on a `pull_request` trigger: This workflow tr… .github/workflows/publish.yml:226
CRIT MINED116 [MINED116] Workflow uses `secrets.DISCORD_MONITORING_URL` on a `pull_request` trigger: Th… .github/workflows/publish.yml:201
CRIT MINED116 [MINED116] Workflow uses `secrets.SENTRY_PROJECT` on a `pull_request` trigger: This workf… .github/workflows/publish.yml:193
CRIT MINED116 [MINED116] Workflow uses `secrets.SENTRY_ORG` on a `pull_request` trigger: This workflow … .github/workflows/publish.yml:192
CRIT MINED116 [MINED116] Workflow uses `secrets.SENTRY_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/publish.yml:191
CRIT MINED116 [MINED116] Workflow uses `secrets.NX_CLOUD_ACCESS_TOKEN` on a `pull_request` trigger: Thi… .github/workflows/publish.yml:108
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_TOKEN` on a `pull_request` trigger: This workflow tr… .github/workflows/publish.yml:55
CRIT CORE_ENV_FILE .env file committed to repository .env
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). code/frameworks/nextjs/src/font/webpack…:33
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). code/frameworks/nextjs/src/font/webpack…:41
HIGH SEC100 [SEC100] CORS permissive Access-Control-Allow-Origin: *: Permissive CORS policy (`*` orig… code/core/src/core-server/utils/index-j…:68
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… code/core/src/actions/addArgsHelpers.ts:29
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… code/builders/builder-vite/src/plugins/…:59
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… code/addons/pseudo-states/src/preview/r…:10
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… code/addons/pseudo-states/src/stories/S…:12
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… code/addons/pseudo-states/src/preview/r…:46
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… code/addons/links/src/utils.ts:51
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … code/builders/builder-vite/src/plugins/…:108
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … code/addons/docs/src/blocks/components/…:200
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … code/addons/docs/src/blocks/blocks/useS…:25
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… code/core/scripts/generate-source-files…:160
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… code/addons/docs/src/blocks/controls/Fi…:35
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… code/addons/docs/src/blocks/blocks/Docs…:43
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… code/core/src/client-logger/index.ts:89
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… code/.storybook/bench/bench.stories.tsx:34
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… .agents/skills/minor-release/get-minor-…:49
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/publish.yml:243
HIGH MINED115 [MINED115] Action `getsentry/action-release` pinned to mutable ref `@v3`: `uses: getsentr… .github/workflows/publish.yml:189
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/publish.yml:52
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/generate-sandboxes.yml:73
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/generate-sandboxes.yml:69
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/prepare-patch-release…:29
HIGH MINED115 [MINED115] Action `actions/stale` pinned to mutable ref `@v9`: `uses: actions/stale@v9` r… .github/workflows/stale.yml:15
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/fork-checks.yml:53
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/fork-checks.yml:33
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/fork-checks.yml:16
HIGH MINED115 [MINED115] Action `gaurav-nelson/github-action-markdown-link-check` pinned to mutable ref… .github/workflows/cron-weekly.yml:16
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/cron-weekly.yml:15
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/handle-release-branch…:58
HIGH MINED115 [MINED115] Action `notiz-dev/github-action-json-property` pinned to mutable ref `@release… .github/workflows/handle-release-branch…:42
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/handle-release-branch…:36
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/handle-release-branch…:27
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v7`: `uses: actions/git… .github/workflows/nx.yml:102
HIGH MINED115 [MINED115] Action `nrwl/nx-set-shas` pinned to mutable ref `@v4`: `uses: nrwl/nx-set-shas… .github/workflows/nx.yml:90
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/nx.yml:85
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v7`: `uses: actions/git… .github/workflows/nx.yml:69
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/nx.yml:33
HIGH MINED115 [MINED115] Action `balazsorban44/nissuer` pinned to mutable ref `@1.10.0`: `uses: balazso… .github/workflows/triage.yml:21
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/prepare-non-patch-rel…:47
HIGH MINED115 [MINED115] Action `fjogeleit/http-request-action` pinned to mutable ref `@v1`: `uses: fjo… .github/workflows/trigger-circle-ci-wor…:63
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… code/core/src/manager/components/sideba…:41
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… code/core/src/components/components/Pop…:157
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… code/core/src/components/components/Pop…:13
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… code/core/src/common/utils/get-addon-an…:44
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… code/core/src/channels/postmessage/inde…:151
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… code/addons/vitest/src/vitest-plugin/ut…:35
MED SEC031 [SEC031] Catastrophic Backtracking Regex (ReDoS): Regex contains nested quantifiers like … code/addons/pseudo-states/src/preview/r…:10
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. code/core/src/core-server/utils/checkli…:91
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. code/core/src/core-server/build-static.…:49
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. code/core/src/controls/components/SaveS…:103
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… code/core/src/manager/components/previe…:101
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… code/addons/docs/src/blocks/examples/Ca…:24
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… code/addons/docs/src/blocks/blocks/Canv…:86
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … code/addons/docs/src/DocsRenderer.tsx:71
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … code/core/build-config.ts:9
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … code/.storybook/bench/bench.stories.tsx:34
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … .agents/skills/minor-release/get-minor-…:49
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED WEB012 Service worker is present without a web app manifest manifest.json
MED WEB015 Public web app has no Content Security Policy index.html
LOW AIC003 Duplicated implementation block across source files code/core/src/components/components/too…:30
LOW AIC003 Duplicated implementation block across source files code/core/src/components/components/Too…:5
LOW AIC003 Duplicated implementation block across source files code/core/src/components/components/Tab…:94
LOW AIC003 Duplicated implementation block across source files code/core/src/components/components/Tab…:73
LOW AIC003 Duplicated implementation block across source files code/core/src/components/components/Tab…:64
LOW AIC003 Duplicated implementation block across source files code/core/src/components/components/Tab…:25
LOW AIC003 Duplicated implementation block across source files code/core/src/components/components/Tab…:16
LOW AIC003 Duplicated implementation block across source files code/core/src/component-testing/compone…:11
LOW AIC003 Duplicated implementation block across source files code/core/src/common/js-package-manager…:237
LOW AIC003 Duplicated implementation block across source files code/core/src/common/js-package-manager…:192
LOW AIC003 Duplicated implementation block across source files code/core/src/common/js-package-manager…:96
LOW AIC003 Duplicated implementation block across source files code/core/src/common/js-package-manager…:203
LOW AIC003 Duplicated implementation block across source files code/core/src/common/js-package-manager…:28
LOW AIC003 Duplicated implementation block across source files code/addons/vitest/build-config.ts:3
LOW AIC003 Duplicated implementation block across source files code/addons/vitest/build-config.ts:1
LOW AIC003 Duplicated implementation block across source files code/addons/themes/build-config.ts:1
LOW AIC003 Duplicated implementation block across source files code/addons/pseudo-states/src/stories/S…:8
LOW AIC003 Duplicated implementation block across source files code/addons/pseudo-states/src/stories/S…:12
LOW AIC003 Duplicated implementation block across source files code/addons/pseudo-states/src/stories/C…:28
LOW AIC003 Duplicated implementation block across source files code/addons/pseudo-states/src/stories/C…:22
LOW AIC003 Duplicated implementation block across source files code/addons/pseudo-states/src/stories/C…:20
LOW AIC003 Duplicated implementation block across source files code/addons/pseudo-states/src/stories/C…:28
LOW AIC003 Duplicated implementation block across source files code/addons/pseudo-states/src/stories/C…:22
LOW AIC003 Duplicated implementation block across source files code/addons/pseudo-states/src/stories/C…:10
LOW AIC003 Duplicated implementation block across source files code/addons/a11y/src/components/Report/…:9
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW AIC009 Multiple AI-agent scaffold marker files are present .cursorrules:1
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW AIC002 Source file name looks like an AI patch artifact code/core/src/manager/settings/whats_ne…:1
LOW AIC002 Source file name looks like an AI patch artifact code/core/src/core-server/utils/whats-n…:1
LOW AIC002 Source file name looks like an AI patch artifact code/core/src/core-events/data/whats-ne…:1
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. code/frameworks/angular/template/storie…:222
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. code/frameworks/angular/src/client/docs…:187
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… code/core/src/components/components/Pro…:5
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… code/core/src/components/components/For…:24
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… code/core/src/components/components/For…:36
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… code/builders/builder-webpack5/template…:26
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… code/core/src/component-testing/compone…:212
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… code/addons/docs/src/blocks/components/…:218
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… code/addons/docs/src/blocks/blocks/Sour…:118
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… code/core/src/component-testing/compone…:194
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… code/core/src/component-testing/compone…:225
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… code/addons/a11y/src/components/VisionS…:64
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. code/addons/docs/src/blocks/blocks/Cont…:74
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. code/addons/docs/src/blocks/blocks/ArgT…:85
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. code/addons/a11y/src/a11yRunner.ts:48
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. code/addons/a11y/src/components/Report/…:25
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. code/addons/a11y/src/components/A11YPan…:40
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. code/.storybook/isChromatic.ts:1
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … code/addons/docs/src/blocks/blocks/Cont…:68
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … code/addons/a11y/template/stories/param…:154
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … code/.storybook/isChromatic.ts:3
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … code/addons/docs/src/mdx-loader.ts:36
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .agents/skills/minor-release/write-mino…:92
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .agents/skills/minor-release/get-minor-…:68
Reset to top 5 138 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `storybookjs/storybook`

**Score: 67/100 (B+)**  ·  138 findings  ·  scanned 2026-06-05 06:59 UTC  ·  497,998 LOC

| Severity | Count |
|---|---|
| CRITICAL | 18 |
| HIGH | 42 |
| MEDIUM | 21 |
| LOW | 33 |

📊 [Full filterable report](https://repobility.com/scan/ff7f66c4-126b-4c0f-896b-d5a9a906e679/)  ·  ![scorecard](https://repobility.com/scan/ff7f66c4-126b-4c0f-896b-d5a9a906e679/report.png?v=1780642777-s2)

### Top findings

1. **CRITICAL** `SEC009` — .env File Committed: .env file with secrets committed to repository.
   `.env`
2. **CRITICAL** `MINED035` — Js New Function
   `code/frameworks/angular/src/server/framework-preset-angular-ivy.ts:28` · CWE-95 · ✓ Repobility
3. **CRITICAL** `MINED019` — Ssti Jinja From String
   `code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.ts:77` · CWE-94 · ✓ Repobility
4. **CRITICAL** `SEC084` — JS: require() with non-literal
   `code/frameworks/nextjs-vite/src/find-postcss-config.ts:15`
5. **CRITICAL** `SEC084` — JS: require() with non-literal
   `code/frameworks/ember/src/client/preview/render.ts:16`

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/ff7f66c4-126b-4c0f-896b-d5a9a906e679/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 20 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'storybookjs/storybook' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
55/163 findings (34%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.