You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Antivirus detects uv installer as malicious on Windows #10079
I wanted to give a try to uv to see if I like it as a project and dependencies manager. I tried installing it on my Windows 11 PC using the command: powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
However, I get an error stating that this script contains malicious content and has been blocked by my antivirus software:
My antivirus (BitDefender) indeed believes this script is malicious:
Why does this happen? How can I fix this and install uv on my Windows system?
Edit:
Since PDM installer is essentially a Python script, it's not typically flagged by virus scanners.
As for Rustup, given its widespread use, I assume many antivirus programs have already scanned and added it to their virus databases.
I wouldn't be surprised if it's related to how uvx is the tool of choice for mcp servers which commonly demonstrate that you can run python code from anywhere by simply doing uvx --from git+....
since ai + mcp server prolification I'm not surprised...
It's caused by Smart App Control which is part of windows (you can search for this by simply pressing the winkey and typing "Smart App Control". If you turn it off uv and others no longer get blocked but I don't recommend this for obvious reasons. Unfortunately windows doesn't appear to provide an obvious way to control this. Perhaps another user can offer a more sensible suggestion
My two cents, just for illustration to others: ESET also tagged uv as a "malicious, high-reputation-threat executable" in one of my CI pipelines, due to manipulation of hidden files, using root:root:
These hidden files are surely those from the Python virtual environments, aka. .venv, and root is used since it’s running in a container; said otherwise, uv does what it’s made for in an already contained environment.
Activity
FishAlchemist commentedon Dec 21, 2024
I remember that the UV team actually couldn't do much about it, so you could try downloading the UV using other tools.
e.g. from PyPi
https://docs.astral.sh/uv/getting-started/installation/#pypi
ShaiAvr commentedon Dec 21, 2024
Weird. Other tools like
pdmandrustupalso have installer scripts and I never had problems with them.FishAlchemist commentedon Dec 21, 2024
@ShaiAvr Perhaps the downloaded content triggered the virus detection? Since you're using a Windows 11 PC x86-64, this should be the correct link. Could you please scan this file?
https://github.com/astral-sh/uv/releases/download/0.5.11/uv-x86_64-pc-windows-msvc.zip
Edit:
Since PDM installer is essentially a Python script, it's not typically flagged by virus scanners.
As for Rustup, given its widespread use, I assume many antivirus programs have already scanned and added it to their virus databases.
zanieb commentedon Dec 21, 2024
Nothing we can do here but it submit it as valid software to the antivirus
Stokestack commentedon Dec 11, 2025
For what it's worth, I just got the same thing:
Rykarix commentedon Jan 27, 2026
I wouldn't be surprised if it's related to how uvx is the tool of choice for mcp servers which commonly demonstrate that you can run python code from anywhere by simply doing
uvx --from git+....since ai + mcp server prolification I'm not surprised...
It's caused by
Smart App Controlwhich is part of windows (you can search for this by simply pressing the winkey and typing "Smart App Control". If you turn it off uv and others no longer get blocked but I don't recommend this for obvious reasons. Unfortunately windows doesn't appear to provide an obvious way to control this. Perhaps another user can offer a more sensible suggestionojob commentedon Sep 9, 2026
My two cents, just for illustration to others: ESET also tagged
uvas a "malicious, high-reputation-threat executable" in one of my CI pipelines, due to manipulation of hidden files, usingroot:root:These hidden files are surely those from the Python virtual environments, aka.
.venv, androotis used since it’s running in a container; said otherwise,uvdoes what it’s made for in an already contained environment.