Avast Online Security and Avast Secure Browser are spying on you

Are you one of the allegedly 400 million users of Avast antivirus products? Then I have bad news for you: you are likely being spied upon. The culprit is the Avast Online Security extension that these products urge you to install in your browser for maximum protection.

But even if you didn’t install Avast Online Security yourself, it doesn’t mean that you aren’t affected. This isn’t obvious but Avast Secure Browser has Avast Online Security installed by default. It is hidden from the extension listing and cannot be uninstalled by regular means, its functionality apparently considered an integral part of the browser. Avast products promote this browser heavily, and it will also be used automatically in “Banking Mode.” Given that Avast bought AVG a few years ago, there is also a mostly identical AVG Secure Browser with the built-in AVG Online Security extension.

Avast watching you while browsing the web

Summary of the findings

When Avast Online Security extension is active, it will request information about your visited websites from an Avast server. In the process, it will transmit data that allows reconstructing your entire web browsing history and much of your browsing behavior. The amount of data being sent goes far beyond what’s necessary for the extension to function, especially if you compare to competing solutions such as Google Safe Browsing.

Avast Privacy Policy covers this functionality and claims that it is necessary to provide the service. Storing the data is considered unproblematic due to anonymization (I disagree), and Avast doesn’t make any statements explaining just how long it holds on to it.

What is happening exactly?

Using browser’s developer tools you can look at an extension’s network traffic. If you do it with Avast Online Security, you will see a request to https://uib.ff.avast.com/v5/urlinfo whenever a new page loads in a tab:

Request performed by Avast Online Security in Chrome's developer tools

So the extension sends some binary data and in return gets information on whether the page is malicious or not. The response is then translated into the extension icon to be displayed for the page. You can clearly see the full address of the page in the binary data, including query part and anchor. The rest of the data is somewhat harder to interpret, I’ll get to it soon.

This request isn’t merely sent when you navigate to a page, it also happens whenever you switch tabs. And there is an additional request if you are on a search page. This one will send every single link found on this page, be it a search result or an internal link of the search engine.

What data is being sent?

The binary UrlInfoRequest data structure used here can be seen in the extension source code. It is rather extensive however, with a number of fields being nested types. Also, some fields appear to be unused, and the purpose of others isn’t obvious. Finally, there are “custom values” there as well which are a completely arbitrary key/value collection. That’s why I decided to stop the extension in the debugger and have a look at the data before it is turned into binary. If you want to do it yourself, you need to find this.message() call in scripts/background.js and look at this.request after this method is called.

The interesting fields were:

Field Contents
uri The full address of the page you are on.
title Page title if available.
referer Address of the page that you got here from, if any.
Identifier of the window and tab that the page loaded into.
How exactly you got to the page, e.g. by entering the address directly, using a bookmark or clicking a link.
visited Whether you visited this page before.
locale Your country code, which seems to be guessed from the browser locale. This will be “US” for US English.
userid A unique user identifier generated by the extension (the one visible twice in the screenshot above, starting with “d916”). For some reason this one wasn’t set for me when Avast Antivirus was installed.
plugin_guid Seems to be another unique user identifier, the one starting with “ceda” in the screenshot above. Also not set for me when Avast Antivirus was installed.
Type (e.g. Chrome or Firefox) and version number of your browser.
Your operating system and exact version number (the latter only known to the extension if Avast Antivirus is installed).

And that’s merely the fields which were set. The data structure also contains fields for your IP address and a hardware identifier but in my tests these stayed unused. It also seems that for paying Avast customers the identifier of the Avast account would be transmitted as well.

What does this data tell about you?

The data collected here goes far beyond merely exposing the sites that you visit and your search history. Tracking tab and window identifiers as well as your actions allows Avast to create a nearly precise reconstruction of your browsing behavior: how many tabs do you have open, what websites do you visit and when, how much time do you spend reading/watching the contents, what do you click there and when do you switch to another tab. All that is connected to a number of attributes allowing Avast to recognize you reliably, even a unique user identifier.

If you now think “but they still don’t know who I am” – think again. Even assuming that none of the website addresses you visited expose your identity directly, you likely have a social media account. There has been a number of publications showing that, given a browsing history, the corresponding social media account can be identified in most cases. For example, this 2017 study concludes:

Of the 374 people who confirmed the accuracy of our de-anonymization attempt, 268 (72%) were the top candidate generated by the MLE, and 303 participants (81%) were among the top 15 candidates. Consistent with our simulation results, we were able to successfully de-anonymize a substantial proportion of users who contributed their web browsing histories.

With the Avast data being far more extensive, it should allow identifying users with an even higher precision.

Isn’t this necessary for the extension to do its job?

No, the data collection is definitely unnecessary to this extent. You can see this by looking at how Google Safe Browsing works, the current approach being largely unchanged compared to how it was integrated in Firefox 2.0 back in 2006. Rather than asking a web server for each and every website, Safe Browsing downloads lists regularly so that malicious websites can be recognized locally.

No information about you or the sites you visit is communicated during list updates. […] Before blocking the site, Firefox will request a double-check to ensure that the reported site has not been removed from the list since your last update. This request does not include the address of the visited site, it only contains partial information derived from the address.

I’ve seen a bunch of similar extensions by antivirus vendors, and so far all of them provided this functionality by asking the antivirus app. Presumably, the antivirus has all the required data locally and doesn’t need to consult the web service every time. In fact, I could see Avast Online Security also consult the antivirus application for the websites you visit if this application is installed. It’s an additional request however, the request to the web service goes out regardless. Update (2019-10-29): I understand this logic better now, and the requests made to the antivirus application have a different purpose.

Wait, but Avast Antivirus isn’t always installed! And maybe the storage requirements for the full database exceed what browser extensions are allowed to store. In this case the browser extension has no choice but to ask the Avast web server about every website visited. But even then, this isn’t a new problem. For example, the Mozilla community had a discussion roughly a decade ago about whether security extensions really need to collect every website address. The decision here was: no, sending merely the host name (or even a hash of it) is sufficient. If higher precision is required, the extension could send the full address only if a potential match is detected.

What about the privacy policy?

But Avast has a privacy policy. They surely explained there what they need this data for and how they handle it. There will most certainly be guarantees in there that they don’t keep any of this data, right?

Let’s have a look. The privacy policy is quite long and applies to all Avast products and websites. The relevant information doesn’t come until the middle of it:

We may collect information about the computer or device you are using, our products and services running on it, and, depending on the type of device it is, what operating systems you are using, device settings, application identifiers (AI), hardware identifiers or universally unique identifiers (UUID), software identifiers, IP Address, location data, cookie IDs, and crash data (through the use of either our own analytical tools or tolls provided by third parties, such as Crashlytics or Firebase). Device and network data is connected to the installation GUID.

We collect device and network data from all users. We collect and retain only the data we need to provide functionality, monitor product and service performance, conduct research, diagnose and repair crashes, detect bugs, and fix vulnerabilities in security or operations (in other words, fulfil our contract with you to provision the service).

Unfortunately, after reading this passage I still don’t know whether they retain this data for me. I mean, “conduct research” for example is a very wide term and who knows what data they need to do it? Let’s look further.

Our AntiVirus and Internet security products require the collection of usage data to be fully functional. Some of the usage data we collect include:


  • information about where our products and services are used, including approximate location, zip code, area code, time zone, the URL and information related to the URL of sites you visit online


We use this Clickstream Data to provide you malware detection and protection. We also use the Clickstream Data for security research into threats. We pseudonymize and anonymize the Clickstream Data and re-use it for cross-product direct marketing, cross-product development and third party trend analytics.

And that seems to be all of it. In other words, Avast will keep your data and they don’t feel like they need your approval for that. They also reserve the right to use it in pretty much any way they like, including giving it to unnamed third parties for “trend analytics.” That is, as long as the data is considered anonymized. Which it probably is, given that technically the unique user identifier is not tied to you as a person. That your identity can still be deduced from the data – well, bad luck for you.

Edit (2019-10-29): I got a hint that Avast acquired Jumpshot a bunch of years ago. And if you take a look at the Jumpshot website, they list “clickstream data from 100 million global online shoppers and 20 million global app users” as their product. So you now have a pretty good guess as to where your data is going.


Avast Online Security collecting personal data of their users is not an oversight and not necessary for the extension functionality either. The extension attempts to collect as much context data as possible, and it does so on purpose. The Avast privacy policy shows that Avast is aware of the privacy implications here. However, they do not provide any clear retention policy for this data. They rather appear to hold on to the data forever, feeling that they can do anything with it as long as the data is anonymized. The fact that browsing data can usually be deanonymized doesn’t instill much confidence however.

This is rather ironic given that all modern browsers have phishing and malware protection built in that does essentially the same thing but with a much smaller privacy impact. In principle, Avast Secure Browser has this feature as well, it being Chromium-based. However, all Google services have been disabled and removed from the settings page – the browser won’t let you send any data to Google, sending way more data to Avast instead.

Update (2019-10-28): Somehow I didn’t find existing articles on the topic when I searched initially. This article mentions the same issue in passing, it was published in January 2015 already. The screenshot there shows pretty much the same request, merely with less data.


  • DAve

    I don't use the browser add on and I don't use their secure browser, so no problem.

  • Ghost Buster

    As a former employee I can confirm these dirty practices. Avast monetises anonymised data of its users. I had moral problem with it so I left just like a lot of my colleagues.

  • David

    What do you mean by "It is hidden from the extension listing and cannot be uninstalled by regular means" ? How can you fully uninstall it and what is a better and safer free antivirus to use without this problem ?

    Wladimir Palant

    You can uninstall it if you are using Chrome or Firefox. It merely doesn't work if you use Avast Secure Browser. My recommendation here is to uninstall the browser and use one that can be trusted.

    As to better antivirus solutions: for Windows 10 it's generally recommended to use Windows Defender and to avoid installing third-party antivirus software. If you uninstall Avast, Windows Defender should take over again.

  • Michael Fever

    Does this also apply to Avast Free Antivirus? The Free Antivirus can notify me of malicious websites I visit (even though there is a lot of false positives) without a browser extension in place. My guess is yes this also applies but does anyone know for sure?

    Wladimir Palant

    I don't know for sure. I'd assume that the main antivirus application respects its own "don't collect any data" setting, so that you are fine as long as you don't install browser extensions. But that isn't something I can verify.


    I don't use the Windows OS, so no problem :)

  • Yahav

    Can you inspect kaspersky's? I have a good reason to believe there is some gray activity there as well..

    Wladimir Palant

    I already did, published a bunch of articles on it: https://palant.de/categories/kaspersky/. While I'm not convinced about their security approach, I didn't find anything indicating that they are spying on users.

  • David

    Thank You very much for your response Mr. Palant.

  • Xendor

    Hi Mr Wladimir Palant, I have removed all avast products, Avast Anti Virus, Avast Secure Browser, Avast online security. Now I don't know what anti virus I should use. I tried Kaspersky Cloud Security and I have read your topic about Kaspersky, https://palant.de/2019/11/27/more-kaspersky-vulnerabilities-uninstalling-extensions-user-tracking-predictable-links/ so I removed Kaspersky Cloud Security. What anti virus do you recommend? I loved Avast a lot , but after the bad news , I am afraid of using their anti virus although it is good, but who knows if it spies on people or not. So can you please tell me what anti virus you recommend? Thank You Very Much, Sir.

    Wladimir Palant

    If you are using Windows 10, then it's best to remove all third-party antivirus software. The built-in Windows Defender is the best antivirus currently available.

  • Xendor

    I am using Pirated Windows 7 ultimate 64 bit

    Wladimir Palant

    That's tough then. I don't know commercial antivirus software good enough to recommend any.

  • Xendor

    Ok, I guess I don't have a choice except Avast again,.......but this time I won't allow it to send data from my pc, ..... Or maybe it sends data without my permission....Who knows. But I am not sure if I will come back to Avast or not .... I will think...... Thank You.

  • Xendor

    Ok I will go to Avira, at least it is known a bit. Thank You Again.

  • Jul

    Hello, Thank you very much for this article. Do you know about other AVs like F-secure?

    Wladimir Palant

    I looked at F-Secure a year ago and it seemed pretty solid. I should revisit is however with the knowledge that I have now.

  • Graham Perrin

    "If you are using Windows 10, then it's best to remove all third-party antivirus software. The built-in Windows Defender is the best antivirus currently available."

    For e.g. malicious web sites, Windows Defender can not do (for Firefox) some of what a good extension can do.

    Wladimir Palant

    No, but all browsers have built-in protection against malicious websites.

  • Avast ye mateys! Walk the plank!

    I love Avast / AVG and intend to keep using these extensions (and the company's other products) regardless. Avast / AVG still—to an extent—supports Windows XP and Windows Vista, which alone means that I would provide data (even in excess) to the company.

  • Jason Brown

    Author: "The built-in Windows Defender is the best antivirus currently available."

    A lot of false-positives though, worst of those surveyed? https://www.av-comparatives.org/tests/real-world-protection-test-july-october-2019/

    Like Micosoft, Avira had zero compromised test systems, but far fewer false positives. Not quite sure what it means by "user dependent" though.

  • Lazza

    Well done for exposing this bad practice. Have you also looked at the next 4bn data Unicorn SimilarWeb? They seem to gather their data via an SDK that other browser extensions install (and pay them) and of course consumes have no idea their data is being harvested this way!

    Wladimir Palant

    I didn't. From the look of it, this is only about Android apps? That's pretty hopeless then - Google sets the rules here and their approach to data collection is quite "relaxed."

  • Lazza

    Yeah Google's the worst of them all. I think they collect a lot of web data from browser extensions. I think this is the tip of the iceberg: https://www.theregister.co.uk/2018/07/05/browsers_pull_stylish_but_invasive_browser_extension/

  • Misty

    Thank you for your very helpful, clear and informative article. Also useful to read some of the comments. Now I know where to come when I need this type of thing clarified. Great work!

  • Adrian

    Hi! Does that mean I shouldnt use Avast in general? I dont use Avast Browser or the Extension anyways, maybe they dont collect anymore after the scandal? Should I ask on Avast forum?

    Wladimir Palant

    If you ask me, Windows Defender provides sufficient protection and is generally less problematic – both security-wise and privacy-wise.

  • MacOS User

    Hello, thank you for this detailed review. I'm not sure if you have info and recommendations for Mac users, though, but would be appreciative if you could comment. I've been using the free version of Avast Security, but would prefer not to help the company monetize my data without my express permission. I tried the free Avira software, but unfortunately had to choose one or the other due to incompatibility issues, so I stuck with the devil I know. Should I switch back to Avira for Mac (free)? The following article was detailed but ultimately assumed a higher familiarity with antivirus software than I possess: https://cybernews.com/best-antivirus-software/avira-vs-avast/ I'd be thankful for your take.


    Wladimir Palant

    Sorry, I have no knowledge of Mac OS antivirus software.

    Mind you, both Avira and Avast have been acquired by Norton. So it probably makes less difference than it did back when I wrote this article.

  • MacOS User

    OK, thank you. All best!

Comments are disabled for this article.