← Back to scan
File as GitHub Issue repo: gatsbyjs/gatsby

Push this scan report to gatsbyjs/gatsby

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 New Function

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 SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… integration-tests/cache-resilience/gats…:86
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… deprecated-packages/gatsby-theme/gatsby…:23
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… deprecated-packages/gatsby-theme/gatsby…:27
CRIT MINED035 [MINED035] Js New Function: new Function(...) compiles strings to functions. deprecated-packages/gatsby-recipes/src/…:44
CRIT MINED035 [MINED035] Js New Function: new Function(...) compiles strings to functions. deprecated-packages/gatsby-recipes/src/…:31
CRIT DKC007 Compose service contains a literal secret environment value integration-tests/gatsby-source-wordpre…:35
CRIT DKC007 Compose service contains a literal secret environment value integration-tests/gatsby-source-wordpre…:17
CRIT DKC007 Compose service contains a literal secret environment value integration-tests/gatsby-source-wordpre…:3
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). packages/gatsby-core-utils/src/filename…:37
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). packages/gatsby-core-utils/src/create-c…:6
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). packages/gatsby-adapter-netlify/src/fil…:24
HIGH MINED031 [MINED031] React Direct State Mutation: this.state.X = Y mutates without setState. React … packages/create-gatsby/src/components/t…:22
HIGH MINED031 [MINED031] React Direct State Mutation: this.state.X = Y mutates without setState. React … packages/create-gatsby/src/components/s…:55
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/gatsby-adapter-netlify/src/fil…:60
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… deprecated-packages/gatsby-recipes/src/…:16
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… deprecated-packages/gatsby-recipes/src/…:42
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… integration-tests/gatsby-cli/test-helpe…:14
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… deprecated-packages/gatsby-telemetry/sr…:21
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… deprecated-packages/gatsby-admin/src/ut…:18
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… benchmarks/markdown_table/page-template…:22
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… benchmarks/markdown_slug/md.tpl.js:27
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… benchmarks/markdown_id/md.tpl.js:27
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … deprecated-packages/gatsby-recipes/src/…:184
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … deprecated-packages/gatsby-plugin-gatsb…:203
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … benchmarks/image-processing/plugins/gat…:11
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… benchmarks/source-agilitycms/src/agilit…:29
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… benchmarks/docker-runner/scripts/test.js:37
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… benchmarks/docker-runner/scripts/test-s…:40
HIGH MINED118 [MINED118] Dockerfile FROM `node:10-slim` not pinned by digest: `FROM node:10-slim` resol… .github/actions/gatsby-site-showcase-va…:1
HIGH MINED118 [MINED118] Dockerfile FROM `node:10-slim` not pinned by digest: `FROM node:10-slim` resol… .github/actions/high-priority-prs/Docke…:1
HIGH MINED115 [MINED115] Action `pullreminders/slack-action` pinned to mutable ref `@master`: `uses: pu… .github/workflows/schedule-stale.yml:51
HIGH MINED115 [MINED115] Action `actions/stale` pinned to mutable ref `@v10`: `uses: actions/stale@v10`… .github/workflows/schedule-stale.yml:15
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/schedule-stale.yml:14
HIGH MINED118 [MINED118] Dockerfile FROM `node:14-buster` not pinned by digest: `FROM node:14-buster` r… benchmarks/docker-runner/Dockerfile:1
HIGH MINED118 [MINED118] Dockerfile FROM `wordpress:cli-php7.4` not pinned by digest: `FROM wordpress:c… integration-tests/gatsby-source-wordpre…:1
HIGH MINED118 [MINED118] Dockerfile FROM `wordpress:6.1` not pinned by digest: `FROM wordpress:6.1` res… integration-tests/gatsby-source-wordpre…:1
HIGH MINED118 [MINED118] Dockerfile FROM `gitpod/workspace-full (no tag)` not pinned by digest: `FROM g… .gitpod.Dockerfile:1
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… benchmarks/source-drupal/scripts/update…:56
HIGH DKC011 Database service publishes a host port integration-tests/gatsby-source-wordpre…:3
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/gatsby-cli/scripts/postinstall…:18
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. integration-tests/gatsby-pipeline/utils…:48
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. deprecated-packages/gatsby-admin/src/ut…:41
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … benchmarks/source-sanity/update-post.js:8
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … benchmarks/source-kontent/update-articl…:17
MED SEC046 [SEC046] Client-side open redirect — window.location = server-supplied URL: Assigning win… benchmarks/source-agilitycms/src/agilit…:10
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … benchmarks/source-agilitycms/src/agilit…:29
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … benchmarks/docker-runner/scripts/test.js:37
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … benchmarks/docker-runner/scripts/test-s…:40
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKC015 Database service has no healthcheck integration-tests/gatsby-source-wordpre…:3
MED DKR018 Database dump or local database file is included in Docker build context .dockerignore
MED DKR001 Docker final stage has no non-root USER integration-tests/gatsby-source-wordpre…:1
MED DKR001 Docker final stage has no non-root USER benchmarks/docker-runner/Dockerfile:1
MED DKR001 Docker final stage has no non-root USER .github/actions/high-priority-prs/Docke…:1
MED DKR001 Docker final stage has no non-root USER .github/actions/gatsby-site-showcase-va…:1
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore .github/actions/high-priority-prs/Docke…:12
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore .github/actions/gatsby-site-showcase-va…:9
MED WEB015 Public web app has no Content Security Policy index.html
MED AGT015 Remote install command pipes network code directly to a shell docs/docs/how-to/local-development/gats…:25
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… benchmarks/gabe-fs-markdown-images/gen.…:285
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… benchmarks/gabe-csv-text/gen.js:10
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… benchmarks/gabe-csv-markdown/gen.js:13
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:5
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:8
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:5
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:20
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:17
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:20
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:15
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:29
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:19
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:28
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:1
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:1
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/pages…:8
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/compo…:5
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/src/compo…:15
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/plugins/g…:1
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/plugins/g…:5
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/cypress/i…:43
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/cypress/i…:39
LOW AIC003 Duplicated implementation block across source files e2e-tests/development-runtime/cypress/i…:32
LOW AIC003 Duplicated implementation block across source files e2e-tests/contentful/src/pages/rich-tex…:153
LOW AIC003 Duplicated implementation block across source files e2e-tests/adapters/src/pages/routes/ssr…:61
LOW AIC003 Duplicated implementation block across source files e2e-tests/adapters/src/pages/routes/ssr…:6
LOW AIC003 Duplicated implementation block across source files e2e-tests/adapters/src/pages/routes/ssg…:60
LOW AIC003 Duplicated implementation block across source files e2e-tests/adapters/src/pages/500.jsx:1
LOW AIC003 Duplicated implementation block across source files deprecated-packages/gatsby-telemetry/sr…:224
LOW AIC003 Duplicated implementation block across source files deprecated-packages/gatsby-recipes/src/…:6
LOW AIC003 Duplicated implementation block across source files deprecated-packages/gatsby-recipes/src/…:218
LOW AIC003 Duplicated implementation block across source files deprecated-packages/gatsby-recipes/src/…:191
LOW AIC003 Duplicated implementation block across source files deprecated-packages/gatsby-recipes/src/…:325
LOW WEB005 robots.txt does not advertise a sitemap benchmarks/gabe-csv-markdown/static/rob…
LOW DKR010 Dockerfile leaves apt package indexes in the image layer benchmarks/docker-runner/Dockerfile:13
LOW DKR010 Dockerfile leaves apt package indexes in the image layer benchmarks/docker-runner/Dockerfile:5
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW DKR011 Dockerfile installs recommended OS packages integration-tests/gatsby-source-wordpre…:13
LOW DKR011 Dockerfile installs recommended OS packages benchmarks/docker-runner/Dockerfile:13
LOW DKR011 Dockerfile installs recommended OS packages benchmarks/docker-runner/Dockerfile:5
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKC016 App service does not wait for database health integration-tests/gatsby-source-wordpre…:35
LOW DKC016 App service does not wait for database health integration-tests/gatsby-source-wordpre…:17
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW DKC010 Compose service lacks no-new-privileges hardening integration-tests/gatsby-source-wordpre…:35
LOW DKC010 Compose service lacks no-new-privileges hardening integration-tests/gatsby-source-wordpre…:17
LOW AIC002 Source file name looks like an AI patch artifact e2e-tests/development-runtime/cypress/i…:1
LOW AIC002 Source file name looks like an AI patch artifact deprecated-packages/gatsby-theme/gatsby…:1
LOW DKC006 Compose service does not declare a runtime user integration-tests/gatsby-source-wordpre…:35
LOW DKC006 Compose service does not declare a runtime user integration-tests/gatsby-source-wordpre…:17
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/gatsby-cli/src/index.ts:65
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/create-gatsby/src/plugin-optio…:81
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/babel-preset-gatsby/src/optimi…:30
INFO MINED078 [MINED078] Eslint Disable File: /* eslint-disable */ at top disables all lint rules for t… examples/using-js-search/src/components…:183
INFO MINED078 [MINED078] Eslint Disable File: /* eslint-disable */ at top disables all lint rules for t… examples/using-js-search/src/components…:184
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… examples/styleguide/src/templates/Compo…:27
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… e2e-tests/development-runtime/src/pages…:25
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… e2e-tests/contentful/src/pages/text.js:28
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/gatsby-cli/src/reporter/report…:337
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/gatsby-cli/src/reporter/redux/…:9
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. deprecated-packages/gatsby-telemetry/sr…:140
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. deprecated-packages/gatsby-admin/src/ur…:12
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. deprecated-packages/gatsby-admin/src/pa…:120
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. benchmarks/source-datocms/scripts/updat…:14
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… benchmarks/source-agilitycms/src/agilit…:10
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… deprecated-packages/gatsby-plugin-graph…:20
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… benchmarks/image-processing/plugins/gat…:7
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… benchmarks/gabe-yaml-text/gen.js:37
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… benchmarks/gabe-csv-text/src/pages/inde…:28
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… benchmarks/gabe-csv-markdown/src/templa…:23
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… benchmarks/gabe-csv-markdown/src/pages/…:33
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … benchmarks/docker-runner/scripts/test-s…:37
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … benchmarks/docker-runner/gatsby-node.js:113
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .github/actions/gatsby-site-showcase-va…:26
Reset to top 5 135 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `gatsbyjs/gatsby`

**Score: 82/100 (A-)**  ·  135 findings  ·  scanned 2026-06-05 10:23 UTC  ·  183,393 LOC

| Severity | Count |
|---|---|
| CRITICAL | 8 |
| HIGH | 31 |
| MEDIUM | 21 |
| LOW | 51 |

📊 [Full filterable report](https://repobility.com/scan/25ed47e7-6790-4c10-9de4-70ab74036d8a/)  ·  ![scorecard](https://repobility.com/scan/25ed47e7-6790-4c10-9de4-70ab74036d8a/report.png?v=1780655006-s2)

### Top findings

1. **CRITICAL** `SEC084` — JS: require() with non-literal
   `integration-tests/cache-resilience/gatsby-node.js:86`
2. **CRITICAL** `SEC084` — JS: require() with non-literal
   `deprecated-packages/gatsby-theme/gatsby-theme-eject.js:23`
3. **CRITICAL** `SEC084` — JS: require() with non-literal
   `deprecated-packages/gatsby-theme/gatsby-theme-debug.js:27`
4. **CRITICAL** `MINED035` — Js New Function
   `deprecated-packages/gatsby-recipes/src/renderer/index.js:44` · CWE-95 · ✓ Repobility
5. **CRITICAL** `MINED035` — Js New Function
   `deprecated-packages/gatsby-recipes/src/components/step-renderer.js:31` · CWE-95 · ✓ Repobility

---

**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/25ed47e7-6790-4c10-9de4-70ab74036d8a/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 19 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 'gatsbyjs/gatsby' 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
56/154 findings (36%) 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.