← Back to scan
File as GitHub Issue repo: tailwindlabs/tailwindcss

Push this scan report to tailwindlabs/tailwindcss

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

path.join / Path() on user-controlled segment without containment check

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/@tailwindcss-upgrade/src/utils…:301
CRIT MINED116 [MINED116] Workflow uses `secrets.DISCORD_WEBHOOK_URL` on a `pull_request` trigger: This … .github/workflows/ci.yml:121
CRIT MINED116 [MINED116] Workflow uses `secrets.DISCORD_WEBHOOK_URL` on a `pull_request` trigger: This … .github/workflows/integration-tests.yml:124
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/tailwindcss/src/css-functions.…:169
HIGH SEC114 [SEC114] path.join / Path() on user-controlled segment without containment check: filepat… packages/@tailwindcss-webpack/src/index…:92
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/@tailwindcss-upgrade/src/utils…:53
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/@tailwindcss-upgrade/src/codem…:253
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/@tailwindcss-upgrade/src/codem…:256
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/tailwindcss/src/css-functions.…:171
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/@tailwindcss-standalone/script…:104
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… packages/@tailwindcss-upgrade/src/utils…:46
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… packages/@tailwindcss-upgrade/src/codem…:132
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… packages/@tailwindcss-node/src/urls.ts:200
HIGH MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. crates/oxide/src/extractor/modifier_mac…:134
HIGH MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. crates/oxide/src/extractor/css_variable…:129
HIGH MINED039 [MINED039] Rust Todo Macro: todo!() panics when reached. Unimplemented code path. crates/oxide/src/extractor/arbitrary_va…:162
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… crates/oxide/src/extractor/pre_processo…:196
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… crates/oxide/src/extractor/pre_processo…:110
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… crates/oxide/src/extractor/arbitrary_va…:157
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … crates/node/src/lib.rs:141
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … crates/ignore/src/overrides.rs:188
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … crates/ignore/examples/walk.rs:6
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/@tailwindcss-upgrade/src/utils…:46
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/@tailwindcss-upgrade/src/utils…:46
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/@tailwindcss-upgrade/src/codem…:132
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/@tailwindcss-node/src/urls.ts:200
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
LOW AIC003 Duplicated implementation block across source files packages/tailwindcss/src/css-functions.…:166
LOW AIC003 Duplicated implementation block across source files packages/tailwindcss/playwright.config.…:1
LOW AIC003 Duplicated implementation block across source files packages/@tailwindcss-webpack/tsup.conf…:6
LOW AIC003 Duplicated implementation block across source files packages/@tailwindcss-webpack/src/index…:110
LOW AIC003 Duplicated implementation block across source files packages/@tailwindcss-upgrade/src/utils…:1
LOW AIC003 Duplicated implementation block across source files packages/@tailwindcss-upgrade/src/utils…:2
LOW AIC003 Duplicated implementation block across source files packages/@tailwindcss-upgrade/src/utils…:1
LOW AIC003 Duplicated implementation block across source files packages/@tailwindcss-upgrade/src/utils…:8
LOW AIC003 Duplicated implementation block across source files packages/@tailwindcss-upgrade/src/comma…:58
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/utility_mach…:164
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/pre_processo…:16
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/pre_processo…:15
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/pre_processo…:8
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/pre_processo…:47
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/pre_processo…:33
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/pre_processo…:15
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/mod.rs:825
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/mod.rs:823
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/mod.rs:343
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/css_variable…:72
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/arbitrary_va…:100
LOW AIC003 Duplicated implementation block across source files crates/oxide/src/extractor/arbitrary_va…:28
LOW AUC005 [AUC005] No authorization-focused tests detected: No test files with common authorization…
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/tailwindcss/src/at-import.ts:40
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/@tailwindcss-upgrade/src/codem…:74
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/@tailwindcss-upgrade/src/codem…:134
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/@tailwindcss-standalone/script…:111
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/@tailwindcss-node/src/optimize…:113
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/@tailwindcss-upgrade/src/codem…:86
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/@tailwindcss-upgrade/src/codem…:244
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/@tailwindcss-node/src/instrume…:78
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/@tailwindcss-upgrade/src/codem…:149
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/@tailwindcss-upgrade/src/codem…:339
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/@tailwindcss-node/src/instrume…:128
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/@tailwindcss-upgrade/src/codem…:117
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/@tailwindcss-upgrade/src/codem…:215
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/@tailwindcss-browser/src/instr…:6
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… crates/oxide/src/extractor/bracket_stac…:23
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… crates/oxide/src/cursor.rs:22
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… crates/node/src/utf16.rs:34
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… crates/oxide/src/extractor/pre_processo…:49
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… crates/node/src/utf16.rs:22
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… crates/classification-macros/src/lib.rs:136
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. crates/oxide/src/extractor/pre_processo…:126
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. crates/node/src/lib.rs:141
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. crates/classification-macros/src/lib.rs:86
Reset to top 5 74 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `tailwindlabs/tailwindcss`

**Score: 82/100 (B+)**  ·  74 findings  ·  scanned 2026-06-05 06:50 UTC  ·  99,870 LOC

| Severity | Count |
|---|---|
| CRITICAL | 3 |
| HIGH | 19 |
| MEDIUM | 6 |
| LOW | 23 |

📊 [Full filterable report](https://repobility.com/scan/87b2d1e1-fc68-452c-9f93-8e943f10b5e2/)  ·  ![scorecard](https://repobility.com/scan/87b2d1e1-fc68-452c-9f93-8e943f10b5e2/report.png?v=1780642211-s2)

### Top findings

1. **CRITICAL** `SEC084` — JS: require() with non-literal
   `packages/@tailwindcss-upgrade/src/utils/extract-static-plugins.ts:301`
2. **CRITICAL** `MINED116` — Workflow uses `secrets.DISCORD_WEBHOOK_URL` on a `pull_request` trigger
   `.github/workflows/ci.yml:121` · ✓ Repobility
3. **CRITICAL** `MINED116` — Workflow uses `secrets.DISCORD_WEBHOOK_URL` on a `pull_request` trigger
   `.github/workflows/integration-tests.yml:124` · ✓ Repobility
4. **HIGH** `SEC083` — JS: new RegExp() with non-literal
   `packages/tailwindcss/src/css-functions.ts:169`
5. **HIGH** `SEC114` — path.join / Path() on user-controlled segment without containment check
   `packages/@tailwindcss-webpack/src/index.ts:92` · A01:2021 Broken Access Control (path traversal)

---

**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/87b2d1e1-fc68-452c-9f93-8e943f10b5e2/_
Megaproject â high spam risk
Could not determine 'tailwindlabs/tailwindcss' 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.