-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Gitea 1.22 detected as virus by windows defender #30488
Comments
the detected virus is |
That's an issue with defender, they seem to be labeling almost every Go program with For fun, try compiling a go windows binary that just prints "hello world" and upload it to virustotal.com :) |
Maybe it needs some kind of signature in the binary. How to other go programs avoid this? |
golang/vscode-go#3182 looks related, but likely their fix does not apply to gitea. |
Afaik there is no general way for the "little man", thats the sad state of antivirus at the moment. We're having the same issue with in-house software, even with certificate signing. You can upload it to the different antivirus vendors and have them check it and whitelist it. More complaints to be found here: kachick/dotfiles#442 |
Likely it just searches for some static strings in the binary which then causes the false-positive, so maybe it's possible to eliminate/obfuscate these parts of the binary. If those parts happen to be inside golang runtime parts, the issue should be reported to the golang/go repo. |
I can't reproduce this on my personal PC. But my PC is Windows 11. |
When download gitea 1.22 from dl.gitea.com, I got a warning from windows defender.
1.21.10 is fine.
The text was updated successfully, but these errors were encountered: