← Back to scan
File as GitHub Issue repo: Shopify/polaris-react

Push this scan report to Shopify/polaris-react

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

Python: yaml.load without SafeLoader

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 MINED018 [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLo… polaris.shopify.com/src/utils/markdown.…:9
CRIT MINED018 [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLo… .eslintrc.js:6
CRIT SEC116 [SEC116] Ruby YAML.load / Marshal.load on untrusted input: `YAML.load` (pre-3.1) and `Mar… polaris.shopify.com/src/utils/markdown.…:9
CRIT SEC116 [SEC116] Ruby YAML.load / Marshal.load on untrusted input: `YAML.load` (pre-3.1) and `Mar… .eslintrc.js:6
CRIT SEC079 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader ca… polaris.shopify.com/src/utils/markdown.…:9
CRIT SEC079 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader ca… .eslintrc.js:6
CRIT MINED116 [MINED116] Workflow uses `secrets.CHROMATIC_PROJECT_TOKEN` on a `pull_request` trigger: T… .github/workflows/ci-a11y-vrt.yml:166
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). polaris.shopify.com/pages/api/tokens/v0…:92
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … polaris.shopify.com/pages/examples/comb…:35
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … polaris-react/src/utilities/breakpoints…:158
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… polaris.shopify.com/pages/api/tokens/v0…:84
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… polaris.shopify.com/pages/_app.tsx:60
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… polaris-react/src/components/Form/Form.…:62
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… polaris-react/src/components/Picker/Pic…:164
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… polaris-react/config/rollup/plugin-styl…:182
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… polaris-react/config/rollup/namespaced-…:16
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… polaris-react/src/components/Picker/Pic…:53
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… polaris-migrator/src/utilities/matches.…:69
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… polaris-migrator/src/utilities/imports.…:32
HIGH SEC114 [SEC114] path.join / Path() on user-controlled segment without containment check: filepat… polaris-migrator/src/utilities/check.ts:51
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… polaris-tokens/scripts/toStyleSheet.ts:53
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… polaris-react/src/components/Image/Imag…:25
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… polaris-migrator/src/cli.ts:73
HIGH MINED115 [MINED115] Action `Shopify/snapit` pinned to mutable ref `@v0.0.14`: `uses: Shopify/snapi… .github/workflows/snapit.yml:22
HIGH MINED115 [MINED115] Action `Shopify/shopify-cla-action` pinned to mutable ref `@v1`: `uses: Shopif… .github/workflows/cla.yml:19
MED SEC046 [SEC046] Client-side open redirect — window.location = server-supplied URL: Assigning win… polaris.shopify.com/src/components/Inte…:199
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… polaris.shopify.com/playroom/FrameCompo…:44
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… polaris.shopify.com/pages/examples/data…:15
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… polaris.shopify.com/pages/examples/data…:12
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… polaris-react/src/components/Tag/Tag.st…:68
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… polaris-react/src/components/IndexTable…:177
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … polaris-react/src/components/Picker/Pic…:164
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … polaris-react/config/rollup/plugin-styl…:182
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … polaris-react/config/rollup/namespaced-…:16
MED SEC007 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code. polaris.shopify.com/src/utils/markdown.…:9
MED SEC007 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code. polaris-icons/rollup.config.mjs:28
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. polaris.shopify.com/pages/_app.tsx:30
MED SEC007 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code. .eslintrc.js:6
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/VideoThumb…:34
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/VideoThumb…:7
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/UnstyledBu…:21
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/TopBar/Top…:86
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Toast/Toas…:221
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Tabs/utili…:4
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Tabs/compo…:15
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Tabs/compo…:100
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Tabs/compo…:48
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Tabs/compo…:101
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Tabs/compo…:4
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Tabs/compo…:11
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Tabs/Tabs.…:306
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Sheet/Shee…:322
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Sheet/Shee…:166
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/SelectAllA…:41
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Popover/Po…:407
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Picker/com…:26
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Picker/Pic…:99
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Modal/Moda…:36
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/LegacyCard…:373
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/Combobox/C…:17
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/ColorPicke…:15
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/BulkAction…:61
LOW AIC003 Duplicated implementation block across source files polaris-react/src/components/BulkAction…:32
LOW AIC003 Duplicated implementation block across source files polaris-migrator/jest.config.js:1
LOW AUC005 [AUC005] No authorization-focused tests detected: No test files with common authorization…
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. polaris.shopify.com/src/components/Code…:55
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. polaris-react/src/utilities/merge.ts:33
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. polaris-react/src/components/ThemeProvi…:22
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… polaris.shopify.com/pages/_app.tsx:78
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… polaris-react/src/components/TextField/…:42
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… polaris.shopify.com/scripts/gen-site-ma…:22
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… polaris.shopify.com/pages/examples/icon…:7
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… polaris-react/src/components/Icon/Icon.…:160
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… polaris-react/src/components/ButtonGrou…:45
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… polaris-react/src/components/BulkAction…:70
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… polaris-react/src/components/BulkAction…:246
INFO MINED057 [MINED057] Todo Bomb: Code path with a TODO/FIXME/HACK comment that gates correctness — l… polaris.shopify.com/pages/examples/inde…:83
INFO MINED057 [MINED057] Todo Bomb: Code path with a TODO/FIXME/HACK comment that gates correctness — l… polaris.shopify.com/pages/examples/inde…:83
INFO MINED057 [MINED057] Todo Bomb: Code path with a TODO/FIXME/HACK comment that gates correctness — l… polaris-react/src/components/BulkAction…:16
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … polaris-react/playground/KitchenSink.tsx:32
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … polaris-migrator/src/utilities/jsx.ts:178
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … polaris-migrator/src/utilities/imports.…:51
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. polaris-migrator/src/utilities/jsx.ts:170
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. polaris-migrator/src/utilities/check.ts:10
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. polaris-migrator/src/migrate.ts:71
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … polaris-react/src/components/ActionList…:54
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … polaris-react/.storybook/RenderPerforma…:47
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … polaris-migrator/src/migrate.ts:46
Reset to top 5 89 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `Shopify/polaris-react`

**Score: 79/100 (A-)**  ·  89 findings  ·  scanned 2026-05-24 01:23 UTC  ·  195,463 LOC

| Severity | Count |
|---|---|
| CRITICAL | 7 |
| HIGH | 18 |
| MEDIUM | 14 |
| LOW | 27 |

📊 [Full filterable report](https://repobility.com/scan/35d5e407-be21-4f07-a11b-d74b3c497e35/)  ·  ![scorecard](https://repobility.com/scan/35d5e407-be21-4f07-a11b-d74b3c497e35/report.png?v=1779585807-s2)

### Top findings

1. **CRITICAL** `MINED018` — Unsafe Deserialization Pickle
   `polaris.shopify.com/src/utils/markdown.mjs:9` · CWE-502 · ✓ Repobility
2. **CRITICAL** `MINED018` — Unsafe Deserialization Pickle
   `.eslintrc.js:6` · CWE-502 · ✓ Repobility
3. **CRITICAL** `SEC116` — Ruby YAML.load / Marshal.load on untrusted input
   `polaris.shopify.com/src/utils/markdown.mjs:9` · A08:2021 Software & Data Integrity Failures
4. **CRITICAL** `SEC116` — Ruby YAML.load / Marshal.load on untrusted input
   `.eslintrc.js:6` · A08:2021 Software & Data Integrity Failures
5. **CRITICAL** `SEC079` — Python: yaml.load without SafeLoader
   `polaris.shopify.com/src/utils/markdown.mjs:9` · A05:2021 Security Misconfiguration

---

**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/35d5e407-be21-4f07-a11b-d74b3c497e35/_
Premium account
This scan was submitted by a Enterprise-tier account. Premium accounts have full outreach control â Repobility doesn't pre-fill the 'file as GitHub issue' button for paid users. You can still file the issue manually using the markdown body above (Copy markdown), or contact us if you'd like batch-filing enabled for your account.
Megaproject â high spam risk
Could not determine 'Shopify/polaris-react' 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.