Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
47 of your 154 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.
Upstream (GitHub) caused delay on this scan — not Repobility.
  • GitHub API rate-limited (HTTP 403) — preflight skipped, fell back to direct git clone.
  • Clone from GitHub took 273.72s for a 223.2 MB repo slow.
  • Repobility's analysis ran in 15.12s after the clone landed.

gatsbyjs/gatsby

https://github.com/gatsbyjs/gatsby · scanned 2026-06-05 10:23 UTC (5 days, 14 hours ago) · 10 languages

135 findings 11/13 scanners ran 86th percentile · Javascript · large (100-500K LoC)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

55 actionable findings from 1 signal source. 80 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 60.0 0.15 9.00
security_score 100.0 0.25 25.00
testing_score 77.0 0.20 15.40
documentation_score 100.0 0.15 15.00
practices_score 99.0 0.15 14.85
code_quality 80.0 0.10 8.00
Overall 1.00 87.2
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all

Showing 28 of 55 actionable findings. 135 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

critical Security checks quality Quality conf 1.00 ✓ Repobility [MINED035] Js New Function: new Function(...) compiles strings to functions.
Review and fix per the pattern semantics. See CWE-95 / for context.
deprecated-packages/gatsby-recipes/src/renderer/index.js:44
critical Security checks quality Quality conf 1.00 ✓ Repobility [MINED035] Js New Function: new Function(...) compiles strings to functions.
Review and fix per the pattern semantics. See CWE-95 / for context.
deprecated-packages/gatsby-recipes/src/components/step-renderer.js:31
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED031] React Direct State Mutation: this.state.X = Y mutates without setState. React wont re-render.
Review and fix per the pattern semantics. See CWE-682 / for context.
packages/create-gatsby/src/components/text.js:22
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED031] React Direct State Mutation: this.state.X = Y mutates without setState. React wont re-render.
Review and fix per the pattern semantics. See CWE-682 / for context.
packages/create-gatsby/src/components/select.js:55
high Security checks software dependencies conf 0.90 ✓ Repobility 6 occurrences [MINED118] Dockerfile FROM `node:10-slim` not pinned by digest: `FROM node:10-slim` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM node:10-slim@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
6 files, 6 locations
.github/actions/gatsby-site-showcase-validator/Dockerfile:1
.github/actions/high-priority-prs/Dockerfile:1
.gitpod.Dockerfile:1
benchmarks/docker-runner/Dockerfile:1
integration-tests/gatsby-source-wordpress/docker/wordpress/Dockerfile:1
integration-tests/gatsby-source-wordpress/docker/wp-cli/Dockerfile:1
high Security checks cicd CI/CD security conf 0.90 ✓ Repobility GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `pullreminders/slack-action` pinned to mutable ref `@master`: `uses: pullreminders/slack-action@master` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin …
.github/workflows/schedule-stale.yml:51 CI/CD securitySupply chainGitHub Actions
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 2 occurrences GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lo…
lines 14, 15
.github/workflows/schedule-stale.yml:14, 15 (2 hits)
CI/CD securitySupply chainGitHub Actions
medium Security checks security auth conf 0.92 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks but does not define .repobility/access.yml or equivalent authorization documentation.
Add .repobility/access.yml mapping routes to anonymous, authenticated, owner, admin, and super_admin. Keep business-specific rules in the repo so CI can enforce them.
medium Security checks quality Error handling conf 1.00 3 occurrences [ERR002] Empty Catch Block: Empty catch blocks hide errors.
Log the error or rethrow it. Use console.error() at minimum.
3 files, 3 locations
deprecated-packages/gatsby-admin/src/utils/use-telemetry.tsx:41
integration-tests/gatsby-pipeline/utils/create-devserver.js:48
packages/gatsby-cli/scripts/postinstall.js:18
medium Security checks software Open redirect conf 1.00 [SEC046] Client-side open redirect — window.location = server-supplied URL: Assigning window.location from a server-supplied URL trusts the server endpoint to never return a hostile destination. If that endpoint is ever subverted (compromised admin, JSON injection, MITM on a webhook), users get redirected to a phishing site they trust because the original page is yours. CWE-601 (server-side OR client-side). Complement to server-side SEC030.
Validate the URL is same-origin or on an explicit allowlist before assignment: const u = new URL(serverUrl, location.href); if (u.origin !== location.origin && !ALLOWED.includes(u.host)) return; location.assign(u); Even better: have the server return a path (/checkout/done) instead of a full …
benchmarks/source-agilitycms/src/agility/components/DynamicPreviewPage.js:10
medium Security checks quality Quality conf 1.00 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; using it for tokens/keys/nonces is predictable. Ported from gosec G404 / eslint detect-pseudoRandomBytes concept (Apache-2.0).
Use `crypto.randomBytes(32).toString('hex')` (Node) or `crypto.getRandomValues()` (browser).
benchmarks/source-sanity/update-post.js:8
medium Security checks quality Quality conf 1.00 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; using it for tokens/keys/nonces is predictable. Ported from gosec G404 / eslint detect-pseudoRandomBytes concept (Apache-2.0).
Use `crypto.randomBytes(32).toString('hex')` (Node) or `crypto.getRandomValues()` (browser).
benchmarks/source-kontent/update-article.js:17
medium Security checks cicd CI/CD security conf 0.86 Database dump or local database file is included in Docker build context
Move database dumps outside the Docker build context or exclude them with .dockerignore. Keep backup and restore artifacts in private object storage or a dedicated backup workflow.
.dockerignore CI/CD securitycontainers
high Security checks cicd CI/CD security conf 0.82 4 occurrences Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
4 files, 4 locations
.github/actions/gatsby-site-showcase-validator/Dockerfile:1
.github/actions/high-priority-prs/Dockerfile:1
benchmarks/docker-runner/Dockerfile:1
integration-tests/gatsby-source-wordpress/docker/wordpress/Dockerfile:1
CI/CD securitycontainers
medium Security checks cicd CI/CD security conf 0.76 Dockerfile copies broad context with incomplete .dockerignore
Tighten .dockerignore or replace COPY . with explicit COPY statements.
.github/actions/high-priority-prs/Dockerfile:12 CI/CD securitycontainers
medium Security checks cicd CI/CD security conf 0.76 Dockerfile copies broad context with incomplete .dockerignore
Tighten .dockerignore or replace COPY . with explicit COPY statements.
.github/actions/gatsby-site-showcase-validator/Dockerfile:9 CI/CD securitycontainers
medium Security checks quality Quality conf 0.70 Public web app has no Content Security Policy
Add a Content-Security-Policy header through the web framework or hosting config. For static apps, add a CSP meta tag that restricts default-src, script-src, connect-src, img-src, and frame-ancestors.
index.html
medium Security checks quality Quality conf 0.78 Public web service has no security.txt
Add /.well-known/security.txt with Contact, Expires, Canonical, Preferred-Languages, and Policy fields. Keep the contact endpoint monitored.
.well-known/security.txt
high Security checks software dependencies conf 0.70 Remote install command pipes network code directly to a shell
Publish a package-manager install path or add checksum/signature verification before execution. For docs, show the inspect-then-run flow and pin the downloaded artifact version.
docs/docs/how-to/local-development/gatsby-on-linux.md:25
low Security checks cicd CI/CD security conf 0.72 .dockerignore misses sensitive defaults
Add missing patterns such as .env, .git, private keys, certificates, dependency folders, and local databases.
.dockerignore CI/CD securitycontainers
low Security checks cicd CI/CD security conf 0.72 3 occurrences Dockerfile installs recommended OS packages
Add `--no-install-recommends` and explicitly list only packages the image needs.
2 files, 3 locations
benchmarks/docker-runner/Dockerfile:5, 13 (2 hits)
integration-tests/gatsby-source-wordpress/docker/wordpress/Dockerfile:13
CI/CD securitycontainers
low Security checks cicd CI/CD security conf 0.74 2 occurrences Dockerfile leaves apt package indexes in the image layer
End the apt install layer with `rm -rf /var/lib/apt/lists/*`.
lines 5, 13
benchmarks/docker-runner/Dockerfile:5, 13 (2 hits)
CI/CD securitycontainers
low Security checks quality Quality conf 0.60 30 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
12 files, 15 locations
deprecated-packages/gatsby-recipes/src/providers/gatsby/site-metadata.js:191, 218 (2 hits)
e2e-tests/adapters/src/pages/routes/ssr/remote-file.jsx:6, 61 (2 hits)
e2e-tests/development-runtime/src/pages/head-function-export/ssr.js:17, 20 (2 hits)
deprecated-packages/gatsby-recipes/src/cli/index.js:325
deprecated-packages/gatsby-recipes/src/providers/npm/script.js:6
deprecated-packages/gatsby-telemetry/src/telemetry.ts:224
e2e-tests/adapters/src/pages/500.jsx:1
e2e-tests/adapters/src/pages/routes/ssg/remote-file.jsx:60
duplicationquality
low Security checks quality Quality conf 0.64 Public docs site has no llms.txt
Add llms.txt with the product summary, canonical docs, API endpoints, security guidance, and preferred CLI workflow for AI agents.
llms.txt
low Security checks quality Quality conf 0.50 Public web app has no humans.txt
Add humans.txt with team ownership, contact URL, key documentation links, and the last-updated date.
humans.txt
low Security checks quality Quality conf 0.72 Public web app has no sitemap
Add sitemap.xml, a sitemap index, or a framework-native sitemap route and reference it from robots.txt.
sitemap.xml
low Security checks quality Quality conf 0.74 robots.txt does not advertise a sitemap
Add `Sitemap: https://your-domain.example/sitemap.xml` to robots.txt.
benchmarks/gabe-csv-markdown/static/robots.txt
high Security checks quality Quality conf 0.62 Source file name looks like an AI patch artifact
Rename it to the domain concept it implements or merge it into the existing module it was meant to change.
deprecated-packages/gatsby-theme/gatsby-theme-new.js:1
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/25ed47e7-6790-4c10-9de4-70ab74036d8a/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/25ed47e7-6790-4c10-9de4-70ab74036d8a/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.