Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Security flags ruff.exe as a virus #9056

Closed
s-banach opened this issue Dec 8, 2023 · 6 comments
Closed

Windows Security flags ruff.exe as a virus #9056

s-banach opened this issue Dec 8, 2023 · 6 comments

Comments

@s-banach
Copy link

s-banach commented Dec 8, 2023

I'm not sure what you can do about this, but my work computer just decided to flag ruff as a virus and delete it.
Don't know if "enterprise" windows has an exceptionally tight virus scanner or if consumer windows will start doing this to people as well.

@zanieb
Copy link
Member

zanieb commented Dec 8, 2023

Thanks for reporting but there's unfortunately not much we can do here.

Similar reports at astral-sh/ruff-vscode#196 and astral-sh/ruff-lsp#134

Could you provide more details on the virus report?

@FishAlchemist
Copy link
Contributor

FishAlchemist commented Dec 9, 2023

ruff-x86_64-pc-windows-msvc

What's new in 0.0.273? Things that might be identified as viruses?
v0.0.272...v0.0.273
I uploaded it manually so I didn't scan every version.

Record

ruff-0.0.260.exe
https://www.virustotal.com/gui/file/fc45f6da96761d0cb459bd156b4c47b7916f8f0fb6edf0d1b3bd863ce2614ed3?nocache=1
ruff-0.0.270.exe
https://www.virustotal.com/gui/file/34a876c15763bb6b073f94b400ecd529cdf9cb6dffd97cb67f5917f299c5d438?nocache=1
ruff-0.0.272.exe
https://www.virustotal.com/gui/file/172f00962b8b4279c857e9c4ccb6c7ea848b35f0f4176cbb9cf2b1194be82504?nocache=1
ruff-0.0.273.exe [malicious]
https://www.virustotal.com/gui/file/e802c866f7797bb82a8f3438271b591a2921f603437c3718f84561b22a4ef630?nocache=1
ruff-0.0.275.exe [malicious]
https://www.virustotal.com/gui/file/43daea66d30979a2c87a34f64b5936b8ac098233f6fecd803f2dfb994b3d5bd5?nocache=1
ruff-0.0.280.exe [malicious]
https://www.virustotal.com/gui/file/fe32afdc2981c0fea669c3f96c440a5861538e6fed4ec532211f6d65cfbf760b?nocache=1

RustPython 0fab6e606379cfda346c82fa2f3960d0449b40e9

(1 security vendor and no sandboxes flagged this file as malicious)
https://www.virustotal.com/gui/file/b9fc8c8f4717b6fa34a75fb3a34e9327ae7a98d655de3de0d48341d7f30400a9?nocache=1

@zanieb
Copy link
Member

zanieb commented Dec 9, 2023

Thanks! Does this also apply to our most recent version (0.1.7)?

@FishAlchemist
Copy link
Contributor

FishAlchemist commented Dec 9, 2023

Thanks! Does this also apply to our most recent version (0.1.7)?

(1 security vendor and no sandboxes flagged this file as malicious)
https://www.virustotal.com/gui/file/dad6ff8ec821555b9793c3448f7e84c82c20330f5c089dadae7c2d26d4d2af84

@Avasam
Copy link
Contributor

Avasam commented Dec 14, 2023

Executables that read and modify code are likely to be flagged as potential malware. Especially if written in a lower-level language. As more users download the executable, and manually flag it as non-dangerous, then antivirus/antimalware understand it's a false-positive for that specific executable's signature. This is normal and has a chance to happen every new release, where a "new executable" is "rapidly spreading" (from an antivirus' PoV).

The best Ruff devs can do really is try to strike a deal with popular antivirus makers to send new releases to be excluded.

@charliermarsh
Copy link
Member

I'm gonna close this for now given that it's hard for us to take action on it unfortunately.

@charliermarsh charliermarsh closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants