ASTrack: Automatic Detection and Removal of Web Tracking Code with Minimal Functionality Loss
Ismael Castell-Uroz, Kensuke Fukuda, Pere Barlet-Ros

TL;DR
ASTrack is a novel method that uses Abstract Syntax Trees to detect and remove web tracking code effectively, even when obfuscated, while preserving website functionality and outperforming existing privacy tools.
Contribution
Introduces ASTrack, a new approach leveraging code structure abstraction for accurate detection and safe removal of web tracking code across diverse websites.
Findings
High detection precision of 98% for tracking code
Discovered 50k new tracking code pieces and URLs
Reduced website functionality loss by 36% compared to filter lists
Abstract
Recent advances in web technologies make it more difficult than ever to detect and block web tracking systems. In this work, we propose ASTrack, a novel approach to web tracking detection and removal. ASTrack uses an abstraction of the code structure based on Abstract Syntax Trees to selectively identify web tracking functionality shared across multiple web services. This new methodology allows us to: (i) effectively detect web tracking code even when using evasion techniques (e.g., obfuscation, minification, or webpackaging); and (ii) safely remove those portions of code related to tracking purposes without affecting the legitimate functionality of the website. Our evaluation with the top 10k most popular Internet domains shows that ASTrack can detect web tracking with high precision (98%), while discovering about 50k tracking code pieces and more than 3,400 new tracking URLs not…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPrivacy, Security, and Data Protection · Spam and Phishing Detection · Internet Traffic Analysis and Secure E-voting
