Windows install command flagged by Defender (Trojan) and uBlock (ClickFix)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 54/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- powershell, rust
- Domain
- documentation, security
Research direction
Start by locating the Windows installation instructions linked in the report and inspect the documented PowerShell command and available CLI release download. The issue suggests documenting a direct ZIP download and extraction path, with SHA256 verification, as the primary Windows option. Done means the Windows instructions provide a usable alternative to the flagged command; the issue does not name tests or specific documentation files.
Written by the indexing model from the issue text.
Description
Summary
The documented Windows installation command for the Laravel CLI triggers security tooling on a stock Windows machine:
powershell -ExecutionPolicy Bypass -c "irm https://laravel.com/install.ps1 | iex"
- Windows Defender blocks it as
Severe / Trojan / Removed(Threat ID2147852719, command-line resource). Reproduced twice, minutes apart. - uBlock Origin blocks the same command inline on the installation docs page as a "potential ClickFix attack".
I believe both are false positives caused by the irm … | iex + -ExecutionPolicy Bypass pattern (the textbook ClickFix shape), not by the payload itself — but the practical effect is that a new user following the official docs hits a Trojan warning on step one. Since this is reproducible from your side (docs + installer), I'm reporting it here.
Reproduction
- Stock Windows 11 + default Windows Defender signatures.
- Run the exact command from https://laravel.com/rust/docs/installation (Windows tab).
- Defender immediately reports
Severe / Trojan / Removedfor thepowershell.exe … ExecutionPolicy Bypass -c irm https://laravel.com/install.ps1 | ie…command line. - Open the same docs page with uBlock Origin enabled: it shows "Beware, uBlock Origin blocked a potential ClickFix attack" quoting the install command.
Detections observed (local time, same machine):
| Time | Threat ID | Resource |
|---|---|---|
| 01-Dec-26 5:32 PM | 2147852719 | CmdLine: …powershell.exe -ExecutionPolicy Bypass -c irm https://laravel.com/install.ps1 | ie… |
| 01-Dec-26 5:37 PM | 2147852719 | same command line (re-run after cleaning, reproduced) |
Important nuance
The downloaded binary itself is not flagged: on one attempt the install completed (laravel-cli 0.3.0, laravel --version works, file remains in ~/.laravel/bin). Only the invocation pattern is detected. So the code is fine — the delivery method documented on the site is what trips the heuristics.
Environment
- Windows 11, Windows Defender with default signatures (Dec 1, 2026)
- Rust 1.100.1, Node 26.x, Git 2.56 (all per docs prerequisites)
- Laravel CLI 0.3.0 (
x86_64-pc-windows-msvc, fromgithub.com/laravel/cli-releases)
Suggested fix (docs side)
- Document a non-
iexinstall path as primary on Windows: direct download oflaravel-cli-x86_64-pc-windows-msvc.zipfromgithub.com/laravel/cli-releases+ extract to~/.laravel/bin, with a SHA256 to verify. - Optionally: code-sign
laravel.exe/ serve the.ps1with a verifiable hash, and add a short "if Defender/uBlock flags this" note on the installation page. - Long term: a
wingetpackage would avoid the whole class of problem.
Screenshots
To follow (Defender "Threat blocked" dialog + uBlock Origin ClickFix banner). Happy to provide any extra telemetry (Defender threat trace, exact signature version) on request.
- Dominant language
- Rust
- Stars
- 2.2k
- Forks
- 105
- Avg merge
- 7h 19m
- Merged PRs (30d)
- 41
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from laravel/rust
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
laravel/rust#98 · 8 comments · 10 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
neuralmagic/crucible#579 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
laravel/rust-framework#864 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
eclipse-score/kyron#249 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
seanmonstar/reqwest#3157 ·
Maintainers usually reply within 2 days