Measuring the (Over)use of Service Workers for In-Page Push Advertising Purposes

George Pantelakis, Panagiotis Papadopoulos, Nicolas Kourtellis, Evangelos P. Markatos

TL;DR

This paper reveals that while Service Workers (SWs) offer powerful capabilities for enhancing web experiences, a staggering 65% of SWs communicating with third parties are primarily used for in-page push advertising. This research highlights a concerning trend of "overuse" where a technology designed for user benefit is being leveraged for intrusive advertising, often bypassing ad-blockers.

What Problem Does This Paper Address?

Service Workers (SWs) are a relatively new web technology that allows for advanced features like offline functionality, background synchronization, and push notifications, essentially bridging the gap between web applications and native apps. While their potential for improving user experience is significant, there's been a lack of understanding regarding how they are actually being used in the wild. Specifically, the authors question whether publishers are leveraging SWs for their intended purposes or if there's a hidden agenda. This paper aims to shed light on the real-world deployment of SWs, their prevalence, and, crucially, their primary use cases.

Methods

The researchers conducted a large-scale analysis of Service Worker deployment across the web. Their methodology involved:

  • Crawling: They crawled the top 150,000 websites from the Tranco list to identify sites registering SWs. This was done in two phases, five months apart, to track adoption rates.
  • Historical Analysis: Using the Wayback Machine, they delved into historical website data to understand the evolution of SW adoption over time, dating back to 2015.
  • Network Traffic Analysis: They analyzed the network traffic generated by registered SWs to understand their communication patterns, specifically identifying connections to first-party and third-party domains.
  • Domain Classification: They utilized the 1Host filterlist to classify the type of third-party domains SWs communicate with, distinguishing between advertising, analytics, and other categories.
  • Content Categorization: SimilarWeb was used to categorize the websites deploying SWs to understand which types of content are most likely to use this technology.

Datasets

  • Tranco List: The top 150,000 websites were used as the initial dataset for crawling.
  • Wayback Machine: This archive was used to reconstruct historical website states and identify when SWs were first deployed.
  • 1Host Filterlist: Used for classifying third-party domains.
  • SimilarWeb: Used for categorizing website content.

The paper introduces a new dataset of SW-registering websites derived from their large-scale crawl, which is then analyzed for various communication patterns and use cases.

Key Insights and Ideas

  • Rapid Adoption: SWs are experiencing significant growth, with a 26% increase in adoption observed within just five months. This suggests a strong trend towards integrating SWs into web applications.
  • The "Overuse" Phenomenon: The most surprising finding is the dominant use of SWs for in-page push advertising. Despite their rich capabilities for enhancing user experience, a majority of SWs communicating with third parties are doing so to deliver ads.
  • Bypassing Ad-Blockers: This advertising use case is particularly concerning because SWs can establish communication channels that are not easily monitored or filtered by traditional ad-blockers, effectively circumventing user defenses.
  • Consent Abuse: While push notifications require user consent, the research suggests this consent can be "abused" by websites to deliver ads instead of the promised content updates, leading to a deceptive user experience.
  • Content Category Correlation: News and Media sites, along with technology and adult content sites, are leading in SW adoption, likely because they can more easily justify push notifications for content updates, which are then supplemented with ads.

Key Results

  • Prevalence: 4.96% of the top 150K websites deploy at least one SW.
  • Growth: SW adoption has increased by 26% in 5 months, and historically, there's been an average annual growth factor of 1.62x since 2015.
  • Third-Party Communication: 67.89% of SWs communicate with at least one third-party domain.
  • Advertising Dominance: A striking 65.08% of SWs that communicate with third parties use them for push advertising.
  • Category Leaders: 'News and Media' sites are the most frequent users of SWs for advertising (27%), followed by 'Computers, Electronics and Technology' (6.42%).
  • Niche Categories: 'Soccer' and 'File Sharing' sites show an exceptionally high rate of ads-pushing SWs, reaching up to 85%.
  • Popularity vs. Ads: Websites that use SWs primarily for advertising tend to be less popular than those using SWs for local functionality.

Limitations and Future Work

  • Limitations: The study acknowledges that while they analyzed network traffic, they did not delve into the content of the push notifications themselves, only their origin. They also did not investigate user data leakage or tracking specifically, though they note it as a potential area for future research.
  • Future Work: The authors suggest future research could focus on:
  • Investigating potential leakage of user personal information and tracking via SWs.
  • Exploring how ad-blockers can be improved to effectively filter these new forms of ad delivery.
  • Further analysis of the content and maliciousness of push ads.

Summary updated

Abstract

Rich offline experience, periodic background sync, push notification functionality, network requests control, improved performance via requests caching are only a few of the functionalities provided by the Service Worker (SW) API. This new technology, supported by all major browsers, can significantly improve users’ experience by providing the publisher with the technical foundations that would normally require a native application. Albeit the capabilities of this new technique and its important role in the ecosystem of Progressive Web Apps (PWAs), it is still unclear what is their actual purpose on the web, and how publishers leverage the provided functionality in their web applications.
BibTeX
@inproceedings{pantelakis2022measuring,
  author = {George Pantelakis and Panagiotis Papadopoulos and Nicolas Kourtellis and Evangelos P. Markatos},
  title = {{Measuring the (Over)use of Service Workers for In-Page Push Advertising Purposes}},
  booktitle = {PAM},
  year = {2022},
  url = {https://openreview.net/forum?id=XXSLqqjKCo},
}

Loading related content...

Figure