← Back to scan
File as GitHub Issue repo: ant-design/ant-design

Push this scan report to ant-design/ant-design

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.CODECOV_TOKEN` 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 MINED024 [MINED024] Js Eval Usage: eval() executes arbitrary code. Code injection risk. .dumi/rehypeAntd.ts:80
CRIT MINED116 [MINED116] Workflow uses `secrets.ALI_OSS_AK_SECRET` on a `pull_request` trigger: This wo… .github/workflows/test.yml:197
CRIT MINED116 [MINED116] Workflow uses `secrets.ALI_OSS_AK_ID` on a `pull_request` trigger: This workfl… .github/workflows/test.yml:196
CRIT MINED116 [MINED116] Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger: This workfl… .github/workflows/test.yml:176
CRIT MINED116 [MINED116] Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger: This workfl… .github/workflows/test.yml:141
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). .dumi/theme/plugins/build-assets.ts:13
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … components/_util/responsiveObserver.ts:124
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … components/_util/hooks/useMultipleSelec…:30
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … .dumi/theme/layouts/GlobalLayout.tsx:127
HIGH SEC027 [SEC027] XML External Entity (XXE) — Node.js xml parsers: Node.js XML parsers can expand … .dumi/theme/common/ComponentChangelog/C…:191
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… .dumi/theme/common/BezierVisualizer/ind…:28
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… .dumi/scripts/mirror-notify.js:12
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… .dumi/pages/index/components/Theme/colo…:80
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… .dumi/pages/index/components/BannerSpon…:86
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… .dumi/scripts/mirror-notify.js:32
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… .dumi/pages/index/components/ThemePrevi…:155
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… .dumi/hooks/useIssueCount.ts:50
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED SEC130 [SEC130] Hallucinated package name — looks like a real package but isn't: Import of a pac… .dumi/theme/plugins/tech-stack.ts:3
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … .dumi/theme/common/BezierVisualizer/ind…:28
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … .dumi/rehypeAntd.ts:80
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED WEB015 Public web app has no Content Security Policy index.html
LOW AIC003 Duplicated implementation block across source files .dumi/theme/common/TreeSelectSemanticTe…:60
LOW AIC003 Duplicated implementation block across source files .dumi/theme/common/ThemeSwitch/usePromp…:16
LOW AIC003 Duplicated implementation block across source files .dumi/theme/common/BehaviorMap/index.tsx:9
LOW AIC003 Duplicated implementation block across source files .dumi/theme/builtins/InstallDependencie…:1
LOW AIC003 Duplicated implementation block across source files .dumi/theme/builtins/InstallDependencie…:1
LOW AIC003 Duplicated implementation block across source files .dumi/theme/builtins/InstallDependencie…:1
LOW AIC003 Duplicated implementation block across source files .dumi/pages/index/components/ThemePrevi…:192
LOW AIC003 Duplicated implementation block across source files .dumi/pages/index/components/ThemePrevi…:30
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 MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… .dumi/theme/builtins/Previewer/DesignPr…:111
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… .dumi/theme/builtins/Previewer/CodePrev…:245
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… .dumi/theme/builtins/ImagePreview/index…:122
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… .dumi/pages/index/components/Theme/Mobi…:113
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… .dumi/pages/index/components/DesignFram…:135
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… .dumi/pages/index/components/BannerReco…:152
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … .dumi/theme/common/ThemeSwitch/index.tsx:163
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … .dumi/rehypeAntd.ts:68
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … .dumi/hooks/useThemeAnimation.ts:70
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .dumi/theme/common/ThemeSwitch/usePromp…:110
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .dumi/scripts/mirror-notify.js:256
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .dumi/hooks/useThemeAnimation.ts:97
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. .dumi/pages/index/components/PreviewBan…:28
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. .dumi/pages/404/index.tsx:36
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. .dumi/hooks/useMenu.tsx:70
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. .dumi/remarkAnchor.ts:11
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. .dumi/rehypeChangelog.ts:42
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. .dumi/hooks/useIssueCount.ts:5
Reset to top 5 52 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `ant-design/ant-design`

**Score: 86/100 (B-)**  ·  52 findings  ·  scanned 2026-06-05 06:48 UTC  ·  29,703 LOC

| Severity | Count |
|---|---|
| CRITICAL | 5 |
| HIGH | 12 |
| MEDIUM | 6 |
| LOW | 11 |

📊 [Full filterable report](https://repobility.com/scan/499510ad-69a1-44f4-b052-ba0e65987cd3/)  ·  ![scorecard](https://repobility.com/scan/499510ad-69a1-44f4-b052-ba0e65987cd3/report.png?v=1780642102-s2)

### Top findings

1. **CRITICAL** `MINED024` — Js Eval Usage
   `.dumi/rehypeAntd.ts:80` · CWE-95 · ✓ Repobility
2. **CRITICAL** `MINED116` — Workflow uses `secrets.ALI_OSS_AK_SECRET` on a `pull_request` trigger
   `.github/workflows/test.yml:197` · ✓ Repobility
3. **CRITICAL** `MINED116` — Workflow uses `secrets.ALI_OSS_AK_ID` on a `pull_request` trigger
   `.github/workflows/test.yml:196` · ✓ Repobility
4. **CRITICAL** `MINED116` — Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger
   `.github/workflows/test.yml:176` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger
   `.github/workflows/test.yml:141` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/499510ad-69a1-44f4-b052-ba0e65987cd3/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 11 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 'ant-design/ant-design' 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.