← Back to scan
File as GitHub Issue repo: mercurjs/mercur

Push this scan report to mercurjs/mercur

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

Async function without await — fire-and-forget Promise (AI mistake)

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
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… packages/cli/src/registry/env.ts:8
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/cli/src/utils/build-vendor-ext…:74
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/cli/src/registry/errors.ts:195
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/admin/src/pages/orders/order-l…:58
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/admin/src/components/filtering…:21
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/admin/src/components/filtering…:89
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/admin/src/components/data-tabl…:239
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/admin/src/pages/product-tags/p…:14
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/admin/src/pages/orders/order-d…:414
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/admin/src/components/common/fi…:80
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/cli/src/utils/create-db.ts:83
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/cli/src/registry/env.ts:8
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… packages/admin/src/components/data-tabl…:295
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 AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 41.7% of discovered …
MED WEB015 Public web app has no Content Security Policy index.html
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/api/src/api/store/custom/route.ts:3
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… packages/registry/src/reviews/api/admin…:6
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… packages/registry/src/reviews/api/admin…:6
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… packages/registry/src/requests/api/admi…:8
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… packages/registry/src/requests/api/admi…:8
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… packages/registry/src/requests/api/admi…:6
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… packages/registry/src/requests/api/admi…:7
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… apps/api/src/api/admin/custom/route.ts:3
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/regions.tsx:1
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/product-ty…:1
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/price-pref…:1
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/price-list…:5
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/price-list…:1
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/payments.t…:75
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/order-edit…:22
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/invites.tsx:1
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/exchanges.…:169
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/customers.…:1
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/customer-g…:1
LOW AIC003 Duplicated implementation block across source files packages/admin/src/hooks/api/commission…:1
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/table/tab…:10
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/table/tab…:7
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/table/tab…:9
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/table/dat…:24
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/table/dat…:26
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/table/dat…:66
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/table/dat…:133
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/layout/us…:265
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/layout/se…:227
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/layout/pa…:15
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/data-grid…:19
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/data-grid…:11
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/data-grid…:9
LOW AIC003 Duplicated implementation block across source files packages/admin/src/components/data-grid…:16
LOW AIC003 Duplicated implementation block across source files integration-tests/medusa-config.ts:22
LOW AIC003 Duplicated implementation block across source files integration-tests/helpers/create-seller…:22
LOW AIC003 Duplicated implementation block across source files integration-tests/helpers/create-custom…:27
LOW AIC003 Duplicated implementation block across source files integration-tests/.mercur/_generated/in…:1
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/core/src/utils/dashboard/dashb…:91
INFO MINED057 [MINED057] Todo Bomb: Code path with a TODO/FIXME/HACK comment that gates correctness — l… packages/admin/src/pages/profile/profil…:150
INFO MINED057 [MINED057] Todo Bomb: Code path with a TODO/FIXME/HACK comment that gates correctness — l… packages/admin/src/pages/profile/profil…:66
INFO MINED047 [MINED047] Emoji In Source: Emoji ✅ ❌ 🚀 in code/comments — common AI output unless explic… packages/admin/src/i18n/languages.ts:133
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/admin/src/components/layout/pa…:34
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/admin/src/components/layout/pa…:27
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/admin/src/components/data-grid…:62
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/admin/src/components/data-grid…:105
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/admin/src/components/data-grid…:30
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/admin/src/components/data-grid…:59
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… packages/admin/src/components/data-grid…:224
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… packages/admin/src/components/common/cu…:128
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… packages/admin/src/components/common/ac…:61
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/admin/src/components/tabbed-fo…:32
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/admin/src/components/inputs/pe…:80
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. integration-tests/helpers/create-seller…:80
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/admin/src/components/common/so…:17
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/admin/src/components/common/me…:21
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … apps/api/src/scripts/seed.ts:244
Reset to top 5 77 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `mercurjs/mercur`

**Score: 79/100 (B-)**  ·  77 findings  ·  scanned 2026-05-19 14:54 UTC  ·  218,818 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 10 |
| MEDIUM | 15 |
| LOW | 33 |

📊 [Full filterable report](https://repobility.com/scan/11a59421-a7a1-4fb7-a18e-f00276c92e73/)  ·  ![scorecard](https://repobility.com/scan/11a59421-a7a1-4fb7-a18e-f00276c92e73/report.png?v=1779202454-s2)

### Top findings

1. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `packages/cli/src/registry/env.ts:8`
2. **HIGH** `SEC040` — innerHTML XSS — template literal with server-supplied data
   `packages/cli/src/utils/build-vendor-extensions.ts:74` · CWE-79 · A03:2021 Injection (XSS)
3. **HIGH** `SEC040` — innerHTML XSS — template literal with server-supplied data
   `packages/cli/src/registry/errors.ts:195` · CWE-79 · A03:2021 Injection (XSS)
4. **HIGH** `SEC040` — innerHTML XSS — template literal with server-supplied data
   `packages/admin/src/pages/orders/order-list/components/order-list-table/order-list-data-table.tsx:58` · CWE-79 · A03:2021 Injection (XSS)
5. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `packages/admin/src/components/filtering/query/query.tsx:21`

---

**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/11a59421-a7a1-4fb7-a18e-f00276c92e73/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 10 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 'mercurjs/mercur' 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.

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.