Lune

USENIX Security2026Top-tier venue

Bridges to Self: Silent Web-to-App Tracking on Mobile via Localhost

Tim Vlummens, Aniketh Girish, Nipuna Weerasekara, Frederik Zuiderveen Borgesius, Gunes Acar, Narseo Vallina-Rodriguez

Abstract

Modern browsers and mobile operating systems leverage sandboxing and process isolation to separate web and app contexts. However, in this paper, we show that these isolation guarantees can be — and had been — broken in practice on Android devices by Meta and Yandex to enable cross-context tracking that bridges web tracking with native identities. Using a combination of large-scale web crawls from USA and EU vantage points and systematic Android app analysis, we characterize a previously undocumented family of web-to-app tracking paradigms that exploit web standards such as HTTP(S), WebSocket, and WebRTC to connect mobile and web contexts on localhost. By linking pseudonymous web cookies to long-lived native user IDs, these channels enable persistent and stealthy cross-context tracking, and de-anonymization. This new technique defeats protections such as cookie clearing, Incognito mode, Mobile Advertising ID (MAID) resets, VPNs, and Android's work/personal profile separations. We further show that Meta Pixel and Yandex Metrica initiated localhost bridging prior to accepting cookie consent banners. We evaluate browsers' patching efforts and defenses to these attacks in response to our responsible disclosure, and the upcoming Local Network Access (LNA) permission, which introduces user prompts for accessing localhost and local network addresses. In doing so, we identify additional side-channels that bypass such protections using (i) global-unicast IPv6 addresses in WebRTC; and (ii) mDNS lookups on *.local domains. Our results, together with an enclosed legal analysis, expose structural shortcomings and the need to revisit platforms' and browsers' isolation principles, threat and trust models, protocol standards, and app review processes to prevent future cross-context abuse.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Understanding Malicious Cross-library Data Harvesting on Android cites Apps, Trackers, Privacy, and Regulators: A Global Study of the Mobile Tracking Ecosystem
  • Share First, Ask Later (or Never?) Studying Violations of GDPR's Explicit Consent in Android Apps cites Apps, Trackers, Privacy, and Regulators: A Global Study of the Mobile Tracking Ecosystem
  • Share First, Ask Later (or Never?) Studying Violations of GDPR's Explicit Consent in Android Apps cites 50 Ways to Leak Your Data: An Exploration of Apps' Circumvention of the Android Permissions System
  • Apps, Trackers, Privacy, and Regulators: A Global Study of the Mobile Tracking Ecosystem cites Online Tracking: A 1-million-site Measurement and Analysis
  • 50 Ways to Leak Your Data: An Exploration of Apps' Circumvention of the Android Permissions System cites Apps, Trackers, Privacy, and Regulators: A Global Study of the Mobile Tracking Ecosystem
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on14

  1. Online Tracking: A 1-million-site Measurement and AnalysisSteven Englehardt, Arvind NarayananCCS 2016 · 798 citations
  2. Apps, Trackers, Privacy, and Regulators: A Global Study of the Mobile Tracking EcosystemAbbas Razaghpanah, Rishab Nithyanand, Narseo Vallina-Rodriguez, Srikanth Sundaresan et al.NDSS 2018 · 271 citations
  3. 50 Ways to Leak Your Data: An Exploration of Apps' Circumvention of the Android Permissions SystemJoel Reardon, Álvaro Feal, Primal Wijesekera, Amit Elazari Bar On et al.USENIX Security 2019 · 196 citations
  4. Share First, Ask Later (or Never?) Studying Violations of GDPR's Explicit Consent in Android AppsTrung Tin Nguyen, Michael Backes, Ninja Marnau, Ben StockUSENIX Security 2021 · 70 citations
  5. Understanding Malicious Cross-library Data Harvesting on AndroidJice Wang, Yue Xiao, Xueqiang Wang, Yuhong Nan et al.USENIX Security 2021 · 41 citations

Related papers

  1. HyTrack: Resurrectable and Persistent Tracking Across Android Apps and the WebMalte Wessels, Simon Koch, Jan Drescher, Louis Bettels et al.USENIX Security 2025
  2. Tabbed Out: Subverting the Android Custom Tab Security ModelPhilipp Beer, Marco Squarcina, Lorenzo Veronese, Martina LindorferS&P 2024 · 7 citations
  3. Iframes/Popups Are Dangerous in Mobile WebView: Studying and Mitigating Differential Context VulnerabilitiesGuangliang Yang, Jeff Huang, Guofei GuUSENIX Security 2019 · 21 citations
  4. Who Left Open the Cookie Jar? A Comprehensive Evaluation of Third-Party Cookie PoliciesGertjan Franken, Tom van Goethem, Wouter JoosenUSENIX Security 2018 · 39 citations
  5. From Promises to Practice: Evaluating the Private Browsing Modes of Android Browser AppsXiaoyin Liu, Wenzhi Li, Qinsheng Hou, Shishuai Yang et al.WWW 2024
Dusk over the sea between two cliffs drawn in fine vertical lines