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

Every download is marked as "This type of file can harm your computer". #1337

Closed
rodrigodzilla opened this issue Jan 17, 2021 · 46 comments
Closed

Comments

@rodrigodzilla
Copy link

Downloading any type of file displays the "This type of file can harm your computer" message every time. It's still possible to download the file but with many files it's bothersome.
image

@dennyamarojr
Copy link

Probably a flag is enforced that cause this message, don't know which flag it is

@ahtaarra
Copy link

ahtaarra commented Jan 20, 2021

I don't see this type of warning dialogue on ungoogled-chromium v87.0.4280.88-3 which I built from AUR without any own modifications (but changed a bunch of settings after installing).

Try enabling and disabling the option for asking for file location on each download and see whether that makes any difference. Also, why not include the version number?

@chiragwad
Copy link

facing the same issue on UC Version 87.0.4280.141

@chiragwad
Copy link

I don't see this type of warning dialogue on ungoogled-chromium v87.0.4280.88-3 which I built from AUR without any own modifications (but changed a bunch of settings after installing).

Try enabling and disabling the option for asking for file location on each download and see whether that makes any difference. Also, why not include the version number?

tried both but message still shows on UC Version 87.0.4280.141

@xNaCly
Copy link

xNaCly commented Jan 20, 2021

Version 87.0.4280.141 (Developer Build) (64-bit)
Same issue here:
image

@rodrigodzilla
Copy link
Author

Try enabling and disabling the option for asking for file location on each download and see whether that makes any difference.

Same issue. After selecting the destination it's still appearing on the downloads bar.

Also, why not include the version number?

My apologies, I'm using 87.0.4280.141-1 (64-bit)

@ahtaarra
Copy link

I have used nix package manager (on my Arch Linux install on which I had previously built and installed v87.0.4280.88-3 from AUR) to install ungoogled-chromium v87.0.4280.141 but I'm unable to reproduce this warning with the same 'profile' (or 'person').

Moreover, I also tried creating a new 'person' using the latter build (and tried it once again after pressing the 'clear all' button at the chrome://flags page on another fresh 'person' even though no flags were seemingly modified) and after that file-picker was opened and I selected the destination and the filename, there was no such warning.

@Ahrotahn
Copy link
Contributor

I don't encounter this on arch.

@rodrigodzilla, @blackbeardth, @xNaCly: What platform are you on? Whose build are you using? Does the same thing happen with a new chromium profile?

I'm pretty sure that this is part of the safebrowsing stuff that is removed, so something seems to have gone wrong with the build you're using.

@xNaCly
Copy link

xNaCly commented Jan 22, 2021

@Ahrotahn Im on newest windows, using the newest ugc build and its happening with every download.

@dennyamarojr
Copy link

This is related to Safe browsing, I'm make some research and it seems the fix is apply regedit tweak to Safe Browsing, to Chromium (that applies to ungoogle chromium too, that could fix the issue)

@rodrigodzilla
Copy link
Author

rodrigodzilla commented Jan 24, 2021

The issue is happening on Windows 10. I'll soon try to get the latest ungoogled-chromium release on my other laptop using Manjaro Fedora 33 and report if the issue still happens.

EDIT: Since the AUR compilation took many hours with no progress (and pointless because @dennyamarojr already did let us know the issue's not happening on Arch), so instead I decided to change the distribution to Fedora.

@rodrigodzilla
Copy link
Author

Fedora 33, no warning appeared. Seems likely a Windows only issue.

@dennyamarojr
Copy link

For Windows users, open CMD as admin and them paste this command:
reg add "HKLM\SOFTWARE\Policies\Chromium" /v "SafeBrowsingProtectionLevel" /t REG_DWORD /d 0 /f

After that, open ungoogled chromium, and in the address bar type chrome://policy and check if the SafeBrowsingProtectionLevel looks like this screenshot

image

@J4gQBqqR
Copy link

For Windows users, open CMD as admin and them paste this command:
reg add "HKLM\SOFTWARE\Policies\Chromium" /v "SafeBrowsingProtectionLevel" /t REG_DWORD /d 0 /f

After that, open ungoogled chromium, and in the address bar type chrome://policy and check if the SafeBrowsingProtectionLevel looks like this screenshot

image

Tried on Windows 10 installation, does not work.

This is prompt for download really annoying.

@notwa
Copy link

notwa commented Jan 28, 2021

Same problem here. I'm using this release (87.0.4280.141-1) on Windows 10.0.18363. I tried the cmd to add the "SafeBrowsingProtectionLevel" registry key, and while it did appear in chrome://policy, it did not affect the issue. I also tried backing up %LOCALAPPDATA%\Chromium and reinstalling, but the issue persists.

@dennyamarojr
Copy link

For Windows users, open CMD as admin and them paste this command:
reg add "HKLM\SOFTWARE\Policies\Chromium" /v "SafeBrowsingProtectionLevel" /t REG_DWORD /d 0 /f
After that, open ungoogled chromium, and in the address bar type chrome://policy and check if the SafeBrowsingProtectionLevel looks like this screenshot
image

Tried on Windows 10 installation, does not work.

This is prompt for download really annoying.

I'm using Windows 10 and works, did you try to use the code with CMD as admin?

@dennyamarojr
Copy link

Here's some screenshots

Using the code:
image

After press enter:
image

My Windows 10 version and build:
image

The command:

reg add "HKLM\SOFTWARE\Policies\Chromium" /v "SafeBrowsingProtectionLevel" /t REG_DWORD /d 0 /f

@dennyamarojr
Copy link

And here's the screenshot from the browser:

image

@J4gQBqqR
Copy link

Here's some screenshots

Using the code:
image

After press enter:
image

My Windows 10 version and build:
image

The command:

reg add "HKLM\SOFTWARE\Policies\Chromium" /v "SafeBrowsingProtectionLevel" /t REG_DWORD /d 0 /f

Hi, I am doing exactly the same thing, and after doing so, I can see the policy value is 0 inside of my browser. But I still see those download alerts.

@dennyamarojr
Copy link

Here's some screenshots
Using the code:
image
After press enter:
image
My Windows 10 version and build:
image
The command:
reg add "HKLM\SOFTWARE\Policies\Chromium" /v "SafeBrowsingProtectionLevel" /t REG_DWORD /d 0 /f

Hi, I am doing exactly the same thing, and after doing so, I can see the policy value is 0 inside of my browser. But I still see those download alerts.

Did you go to chrome://policy and them click reload policies?

@dennyamarojr
Copy link

Because here is working and no messaging, The only that I add later was specified a Secure DNS, nothing more

here's the screenshot:

image

@J4gQBqqR
Copy link

No, I didn't, I restarted my browser. Would that be enough?

@dennyamarojr
Copy link

No, I didn't, I restarted my browser. Would that be enough?

I test here and it seems, need to reload the policies manually, I remove all the policies and add the command, the message still. (need update chrome://policy manually)

@dennyamarojr
Copy link

Here's the screenshot:

image

@J4gQBqqR
Copy link

I see, I'll reload manually this morning and feedback. Thanks!

@dennyamarojr
Copy link

Ok, check here and it seems another thing is interfering, will try add the secure dns to see if fix the issue

@dennyamarojr
Copy link

Ok, check here and it seems another thing is interfering, will try add the secure dns to see if fix the issue

After use secure dns still appearing , I will try the other settings for Safe browsing here to see if the message goes away.

@dennyamarojr
Copy link

But probably is because missing a file download_file_types.pb in C:\Users%USERPROFILE%\AppData\Local\Chromium\User Data\FileTypePolicies

Not sure, if the file really need, but all the topics I search show for this location too.

@Ph0rk0z
Copy link

Ph0rk0z commented Jan 30, 2021

I have the same issue with the latest x64 windows build and adding the policy does nothing. Furthermore I can't seem to choose download location whether the setting is on or off.

@sharpden
Copy link

As temporary workaround one can replace in file ungoogled-chromium-windows\build\src\components\download\internal\common\download_item_impl.cc string danger_type_ = danger_type; in function DownloadItemImpl::SetDangerType to danger_type_ = DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS; and then re-run build

@J4gQBqqR
Copy link

J4gQBqqR commented Feb 4, 2021

This currently cannot be resolved by end user. Not every user has the capability to build from source. I am switching back to the older version. Will wait and see if this got improved in the future.

I guess issues like this are one of the downsides that we have to bear when using third party chromium based browser. Lack of settings/preference syncing is another downside though...

@icy0007
Copy link

icy0007 commented Feb 11, 2021

Hi Guys
Microsoft is making contracts with sofware companies to render pirate or copied software useless.
they sell a sever with software for direct contact between both , microsoft & the software company.
software to render the software of that software company is directly incorporated into Windows 10,
starting with version 20H2 , see size of the windows isos
Win10_2004_English_x64.iso 5,268,953,088 07/25/2020 13:13 -a--
Win10_20H2_English_x64.iso 6,155,782,144 10/21/2020 20:45 -a--
Win10_20H2_v2_English_x64.iso 6,221,846,528 01/30/2021 18:58 -a--
I am now going to use Windows 7, remove all remote,firewall & defender.
Look at all the updates,most of them are there to assure connection with remote
Have a look at this :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mpssvc\Parameters\AppCs\AppCs firewall
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Defaults\FirewallPolicy\FirewallRules
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules
There are more than 2000 rules in a full windows 10, this is not normal
this is to assure there is always connection to Windows servers
Windows 10 is an enormous spy machine,
Everything what is used onto your computer is traced
Now they are going to play policeman
So try Windows 7 or 8 to see if this is also the case
icy

@CodeSlinger69
Copy link

CodeSlinger69 commented Feb 17, 2021

This appears to still be an issue in the 88.0.4324.150 builds. Sticking with build 87.0.4280.67 for the time being, which works correctly.

@J4gQBqqR
Copy link

@Eloston Could you help us check if this is a valid fix to be done in the source code?

As temporary workaround one can replace in file ungoogled-chromium-windows\build\src\components\download\internal\common\download_item_impl.cc string danger_type_ = danger_type; in function DownloadItemImpl::SetDangerType to danger_type_ = DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS; and then re-run build

Windows build is having this issue for a month now.

@icy0007
Copy link

icy0007 commented Feb 21, 2021 via email

@Yasand123
Copy link

Yasand123 commented Feb 21, 2021

Still not fixed.

v88.0.4324.150 on Windows 10.

@TontyTon
Copy link

same here not fixed in v88.0.4324.150 on Windows 10.

Also, there is no safe browsing toggle in settings, maybe in chromium they made the rules like - 'dangerous unless stated otherwise'.

@CodeSlinger69
Copy link

Build 88.0.4324.182 continues to exhibit this same problem.

87.0.4280.67 is still the latest build that works correctly.

@J4gQBqqR
Copy link

J4gQBqqR commented Mar 7, 2021

This issue has been plaguing Windows build for months, will it even get noticed by the developer?
Is this repository/project still actively maintained?

@Nathan-Kr
Copy link

I also have the issue, 88.0.4324.182 windows 10. The registery thing doesnt do anything unfortunatly. I searched in chrome flags but didnt find anything related to download or safe browsing. The antivirus seems to be deeply implemented in chrome, tho i know nothing about chromium, just adding for notification.

@mooms06
Copy link

mooms06 commented Mar 12, 2021

.

@achesnok
Copy link

Have the same issue. windows 7, Version 88.0.4324.182 (Developer Build, ungoogled-chromium) (64-bit).

@Ph0rk0z
Copy link

Ph0rk0z commented Mar 20, 2021

I tried to add SafeBrowsingEnabled to false. Chrome says "This policy is blocked". BTW on windows 8 and probably 7 the policies moved to Wow6432Node in the registry. At least the password saving works again.

@CodeSlinger69
Copy link

This appears to be fixed in 89.0.4389.90. Thanks developers!

@mooms06
Copy link

mooms06 commented Mar 29, 2021

Yes, I confirm.

@rodrigodzilla
Copy link
Author

Can confirm that the issue has been fixed, thanks for all the hard work! Closing.

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