New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 594596 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Dismiss button does not cancel malware download

Project Member Reported by a...@chromium.org, Mar 14 2016

Issue description

Version: 50.0.2661.18 dev
OS: 10.11.2 (15C50)

What steps will reproduce the problem?
(1) Click https://testsafebrowsing.appspot.com/s/content.exe
>> Notice that there is a progress bar under the download folder in the dock, and a (1) download indicator on the Chrome dock icon.
(2) There will be a notice in the download bar saying "content.exe is malicious and Chrome has blocked it." There will be one button, [Dismiss]. Click that button.

Issues:
- The malware file *still exists on the disk* (with an "unconfirmed" file name)
- The (1) download indicator on the Chrome dock icon still exists
- The progress bar under the download folder in the dock is still there

The only way to completely *stop* the download is to go into chrome://downloads/ and click the "Remove from list" button. But that's undiscoverable.

When the user clicks the [Dismiss] button for a malware download, that should *stop* the malware download!
 

Comment 1 by asanka@chromium.org, Mar 14 2016

Cc: nparker@chromium.org f...@chromium.org
+felt, +nparker

'Dismiss' indeed isn't intended to cancel the download. The downloads are cancelled and removed from the disk when the browser exits. If the user wants to "recover" the file, they can do so by visiting chrome://downloads.

Adding a 'keep' option to the shelf resulted in too many people deciding to keep the malware. Having no option to recover the file would be too drastic in the unlikely event of a false positive (malware diagnosis is supposed to be biased towards false negatives). The middle ground was to have a 'dismiss' option to dismiss the warning, and if the user really wanted to, they could go to chrome://downloads and recover the file. (+felt to correct me if my understanding is incorrect).

I'm not sure if our rationale needs to be reconsidered given how many sites describe the recovery procedure as a part of download instructions. Also, deferring the cancellation until browser shutdown may not work well when browser shutdown coincides with system shutdown.

Comment 2 by f...@chromium.org, Mar 14 2016

I agree, I think we should reconsider the downloads warning flow at some point, given how the CTR has been climbing over time. I'll defer to nparker though about how it should be prioritized and when we should work on i t.

Comment 3 by mattm@chromium.org, Mar 14 2016

(The download indicator in the dock not going away sounds like  issue 349745 , though that was on Win.)
Asanka: To fix the bug described here, why not have "dismiss" also cancel/delete the download? The path to recovery would remain approximately the same, with the caveat that they couldn't hit dismiss first.

As for refactoring the overall download warning flow, it's not on my immediate plans. We should consider replacing the download shelf altogether as part of it.

Comment 5 by a...@chromium.org, Mar 15 2016

Matt: The native download notification code is the same on all platforms, branching out natively in the last minute, so that part would be a duplicate.

Let's leave this bug about dismiss not cancelling, and I'll dup the notification code over to the other bug. Thanks for the link.

Comment 6 by asanka@chromium.org, Mar 15 2016

#4: Yeah, we can turn the "dismiss" into a "discard". Users who need to recover the malware will need to open chrome://downloads without responding to the warning. If this is okay with security-ui, then we can go that route. (+felt).

Until recently, the download shelf replacement UI was supposed to be the cross platform notification center. But the latter is no longer happening. The notifications based UI on Chrome OS was what the UI was going to be on all platforms.

Comment 7 by f...@chromium.org, Mar 16 2016

re #6: I'm ok with that plan, although whoever implements it might actually want to keep the file around for long enough for the SBER upload to work (if applicable) before actually deleting it.

Comment 8 by vakh@chromium.org, May 6 2016

Owner: asanka@chromium.org
asanka -- do you know if someone from the Downloads team can take a look at this?
If the download spinner keeps spinning, we should at least fix that.. may be.

Comment 9 by vakh@chromium.org, May 6 2016

Labels: SafeBrowsing-Triaged
Cc: asanka@chromium.org
Owner: ----
Unfortunately downloads is currently very hosed. So this would have to wait until the current set of emergencies have been dealt with.

Comment 11 by vakh@chromium.org, May 9 2016

Labels: -SafeBrowsing-Triaged
Removing the SafeBrowsing-Triaged for now since there's no owner.

Comment 12 by vakh@chromium.org, Jun 3 2016

Labels: SafeBrowsing-Triaged
Owner: nparker@chromium.org
Status: Assigned (was: Untriaged)
nparker@ to figure out the right owner.
Owner: jialiul@chromium.org
-->jialul who is corralling the download UI bugs.
Related bug: https://bugs.chromium.org/p/chromium/issues/detail?id=622130
Quitting Chrome may leave dangerous downloads in a failed state instead of removing them


Labels: hotlist-download-protection-UI
re #7, Change dismiss to discard actually won't affect the download feedback service.

Do we need extra UI review for this? If not, I'll create a CL shortly.


I think if we've already got a discard button elsewhere in the shelf, we can just switch to that w/o UI review.
Sounds good!
BTW, if we change "Dismiss to Discard". "clickjacking.dismiss_download" UMA metric will be gone too. There is no owner indicated in histograms.xml for this metric.
Status: Fixed (was: Assigned)

Sign in to add a comment