← Back to scan
File as GitHub Issue repo: strapi/strapi

Push this scan report to strapi/strapi

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

Workflow uses `secrets.SONAR_HOST_URL` on a `pull_request` trigger

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… packages/core/core/src/loaders/plugins/…:100
CRIT MINED116 [MINED116] Workflow uses `secrets.SLACK_WEBHOOK_DOCUMENTATION_OPS` on a `pull_request` tr… .github/workflows/docs-flag-notificatio…:17
CRIT MINED116 [MINED116] Workflow uses `secrets.SONAR_HOST_URL` on a `pull_request` trigger: This workf… .github/workflows/tests.yml:623
CRIT MINED116 [MINED116] Workflow uses `secrets.SONAR_TOKEN` on a `pull_request` trigger: This workflow… .github/workflows/tests.yml:622
CRIT MINED116 [MINED116] Workflow uses `secrets.SONAR_HOST_URL` on a `pull_request` trigger: This workf… .github/workflows/tests.yml:614
CRIT MINED116 [MINED116] Workflow uses `secrets.SONAR_TOKEN` on a `pull_request` trigger: This workflow… .github/workflows/tests.yml:613
CRIT MINED116 [MINED116] Workflow uses `secrets.TRUNK_API_TOKEN` on a `pull_request` trigger: This work… .github/workflows/tests.yml:335
CRIT MINED116 [MINED116] Workflow uses `secrets.TRUNK_API_TOKEN` on a `pull_request` trigger: This work… .github/workflows/tests.yml:284
CRIT MINED116 [MINED116] Workflow uses `secrets.PR_REVIEW_ANTHROPIC_API_KEY` on a `pull_request` trigge… .github/workflows/pr-reviewer.yml:25
CRIT MINED116 [MINED116] Workflow uses `secrets.CHECK_OWNERSHIP_TOKEN` on a `pull_request` trigger: Thi… .github/workflows/changeFreeze.yml:19
HIGH MINED031 [MINED031] React Direct State Mutation: this.state.X = Y mutates without setState. React … packages/core/database/src/query/query-…:457
HIGH SEC033 [SEC033] Prototype Pollution — unfiltered merge of user object: Merging user-controlled o… packages/core/core/src/loaders/admin.ts:13
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/core/content-manager/server/sr…:26
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/core/content-manager/admin/src…:263
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/core/content-manager/admin/src…:66
HIGH MINED027 [MINED027] React State Array Mutation: state.X.push/splice/sort followed by setState — Re… packages/core/database/src/query/query-…:240
HIGH MINED027 [MINED027] React State Array Mutation: state.X.push/splice/sort followed by setState — Re… packages/core/content-type-builder/admi…:79
HIGH MINED027 [MINED027] React State Array Mutation: state.X.push/splice/sort followed by setState — Re… packages/core/admin/admin/src/pages/Set…:80
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/core/admin/admin/src/pages/Set…:45
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/core/admin/admin/src/pages/Set…:234
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/cli/create-strapi-app/src/util…:67
HIGH MINED014 [MINED014] Disabled Tls Verify: verify=False in requests, rejectUnauthorized:false in nod… examples/complex/scripts/setup-v4-proje…:159
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… examples/complex/scripts/db-postgres.js:61
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… examples/complex/scripts/db-mysql.js:54
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… examples/complex/scripts/db-mariadb.js:53
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/cli/cloud/src/deploy-project/a…:137
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/admin-test-utils/src/setup.ts:222
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … examples/complex/scripts/bench-hook.js:60
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/core/content-manager/server/sr…:110
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/core/content-manager/server/sr…:32
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… examples/complex/scripts/bench-compare.…:490
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/pr-reviewer.yml:18
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:199
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:191
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:172
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:162
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:144
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:134
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:112
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:102
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:75
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:65
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:42
HIGH MINED115 [MINED115] Action `actions-cool/issues-helper` pinned to mutable ref `@v3`: `uses: action… .github/workflows/issues_handleLabel.yml:22
HIGH MINED115 [MINED115] Action `actions/stale` pinned to mutable ref `@v10`: `uses: actions/stale@v10`… .github/workflows/close_stale_issues.yml:14
HIGH MINED115 [MINED115] Action `c2corg/browserslist-update-action` pinned to mutable ref `@v2`: `uses:… .github/workflows/caniuse.yml:25
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/caniuse.yml:17
HIGH MINED115 [MINED115] Action `thollander/actions-comment-pull-request` pinned to mutable ref `@v2`: … .github/workflows/changeFreeze.yml:30
HIGH MINED115 [MINED115] Action `tspascoal/get-user-teams-membership` pinned to mutable ref `@v3`: `use… .github/workflows/changeFreeze.yml:16
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/publish-release.yml:41
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/publish-release.yml:35
HIGH MINED115 [MINED115] Action `actions/create-github-app-token` pinned to mutable ref `@v1`: `uses: a… .github/workflows/publish-release.yml:30
HIGH MINED115 [MINED115] Action `preactjs/compressed-size-action` pinned to mutable ref `@v2`: `uses: p… .github/workflows/adminBundleSize.yml:35
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/adminBundleSize.yml:25
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/adminBundleSize.yml:24
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/clean-up-pr-caches.yml:15
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… packages/core/core/src/services/server/…:6
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/core/openapi/src/assemblers/do…:52
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/core/content-manager/admin/src…:32
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/core/content-manager/server/sr…:31
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/core/content-manager/admin/src…:266
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/cli/create-strapi-app/src/util…:74
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… packages/core/content-type-builder/admi…:110
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… packages/core/admin/admin/src/utils/use…:52
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… examples/complex/scripts/db-utils.js:60
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED JRN002 Browser storage is used for session token material packages/core/content-type-builder/admi…:60
MED JRN002 Browser storage is used for session token material packages/core/content-type-builder/admi…:48
MED JRN002 Browser storage is used for session token material packages/core/admin/admin/src/utils/get…:202
MED JRN002 Browser storage is used for session token material packages/core/admin/admin/src/utils/get…:75
MED JRN002 Browser storage is used for session token material packages/core/admin/admin/src/utils/get…:72
MED JRN002 Browser storage is used for session token material packages/core/admin/admin/src/reducer.ts:80
MED JRN002 Browser storage is used for session token material packages/core/admin/admin/src/reducer.ts:32
MED AGT012 Agent control bridge may listen on a network interface without visible auth examples/complex/scripts/setup-v4-proje…:205
LOW AIC003 Duplicated implementation block across source files packages/core/admin/server/src/content-…:9
LOW AIC003 Duplicated implementation block across source files packages/core/admin/server/src/content-…:8
LOW AIC003 Duplicated implementation block across source files packages/core/admin/server/src/content-…:15
LOW AIC003 Duplicated implementation block across source files packages/core/admin/server/src/content-…:9
LOW AIC003 Duplicated implementation block across source files packages/core/admin/server/src/content-…:10
LOW AIC003 Duplicated implementation block across source files packages/core/admin/server/src/content-…:9
LOW AIC003 Duplicated implementation block across source files packages/core/admin/ee/admin/src/pages/…:76
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:79
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:23
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:255
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:193
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:109
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:301
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:112
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:167
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:97
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:84
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:42
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:20
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:21
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:60
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Set…:114
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Not…:9
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Hom…:8
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Aut…:127
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Aut…:32
LOW AIC003 Duplicated implementation block across source files packages/core/admin/admin/src/pages/Aut…:38
LOW AIC003 Duplicated implementation block across source files jest-preset.unit.js:19
LOW AIC003 Duplicated implementation block across source files .github/actions/community-pr-triage/src…:41
LOW WEB005 robots.txt does not advertise a sitemap examples/complex/public/robots.txt
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. packages/core/strapi/src/cli/commands/a…:37
INFO MINED088 [MINED088] React Conditional Hook: useState/useEffect inside if/loop violates Rules of Ho… packages/core/content-type-builder/admi…:718
INFO MINED047 [MINED047] Emoji In Source: Emoji ✅ ❌ 🚀 in code/comments — common AI output unless explic… packages/core/admin/admin/src/translati…:12
INFO MINED053 [MINED053] Placeholder Default Username: [email protected] / [email protected] / admin/admin… packages/core/admin/jest.config.front.js:5
INFO MINED053 [MINED053] Placeholder Default Username: [email protected] / [email protected] / admin/admin… packages/core/admin/admin/src/services/…:73
INFO MINED053 [MINED053] Placeholder Default Username: [email protected] / [email protected] / admin/admin… packages/core/admin/admin/src/pages/Set…:293
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/core/core/src/configuration/ur…:92
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/core/admin/admin/src/component…:14
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… packages/core/content-manager/admin/src…:29
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… packages/core/admin/admin/src/component…:265
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/cli/cloud/src/services/token.ts:132
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/cli/cloud/src/login/action.ts:175
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/cli/cloud/src/link/action.ts:93
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/cli/cloud/src/environment/list…:38
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/cli/cloud/src/environment/link…:135
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/cli/cloud/src/deploy-project/a…:121
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/core/admin/admin/src/core/stor…:62
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/core/admin/admin/src/component…:160
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/admin-test-utils/src/setup.ts:57
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… packages/core/admin/admin/src/pages/Pro…:296
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… packages/core/admin/admin/src/component…:161
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… examples/getstarted/src/admin/preview/d…:155
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … examples/complex/scripts/bench.js:63
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … examples/complex/scripts/bench-hook.js:34
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … examples/complex/scripts/bench-compare.…:61
Reset to top 5 129 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `strapi/strapi`

**Score: 71/100 (A-)**  ·  129 findings  ·  scanned 2026-05-19 15:50 UTC  ·  546,441 LOC

| Severity | Count |
|---|---|
| CRITICAL | 10 |
| HIGH | 46 |
| MEDIUM | 18 |
| LOW | 30 |

📊 [Full filterable report](https://www.repobility.com/scan/fd0d49e3-fbea-455c-9358-68c783fa4c4a/)  ·  ![scorecard](https://www.repobility.com/scan/fd0d49e3-fbea-455c-9358-68c783fa4c4a/report.png?v=1779205822-s2)

### Top findings

1. **CRITICAL** `SEC084` — JS: require() with non-literal
   `packages/core/core/src/loaders/plugins/get-enabled-plugins.ts:100`
2. **CRITICAL** `MINED116` — Workflow uses `secrets.SLACK_WEBHOOK_DOCUMENTATION_OPS` on a `pull_request` trigger
   `.github/workflows/docs-flag-notification.yml:17` · ✓ Repobility
3. **CRITICAL** `MINED116` — Workflow uses `secrets.SONAR_HOST_URL` on a `pull_request` trigger
   `.github/workflows/tests.yml:623` · ✓ Repobility
4. **CRITICAL** `MINED116` — Workflow uses `secrets.SONAR_TOKEN` on a `pull_request` trigger
   `.github/workflows/tests.yml:622` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.SONAR_HOST_URL` on a `pull_request` trigger
   `.github/workflows/tests.yml:614` · ✓ 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://www.repobility.com/scan/fd0d49e3-fbea-455c-9358-68c783fa4c4a/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 17 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 'strapi/strapi' 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
50/153 findings (33%) 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.