PURL: Safe and Effective Sanitization of Link Decoration
Abstract: While privacy-focused browsers have taken steps to block third-party cookies and mitigate browser fingerprinting, novel tracking techniques that can bypass existing countermeasures continue to emerge. Since trackers need to share information from the client-side to the server-side through link decoration regardless of the tracking technique they employ, a promising orthogonal approach is to detect and sanitize tracking information in decorated links. To this end, we present PURL (pronounced purel-l), a machine-learning approach that leverages a cross-layer graph representation of webpage execution to safely and effectively sanitize link decoration. Our evaluation shows that PURL significantly outperforms existing countermeasures in terms of accuracy and reducing website breakage while being robust to common evasion techniques. PURL's deployment on a sample of top-million websites shows that link decoration is abused for tracking on nearly three-quarters of the websites, often to share cookies, email addresses, and fingerprinting information.
- No boundaries: data exfiltration by third parties embedded on web pages. Proc. Priv. Enhancing Technol., 2020(4):220–238, 2020.
- Actually legitimate url shortener tool. https://github.com/DandelionSprout/adfilt/blob/29122371931262576705adc68620a5fd2da6b501/LegitimateURLShortener.txt#L1482.
- Adguard url tracking filter. https://web.archive.org/web/20230415152141/https://adguard.com/en/blog/adguard-url-tracking-filter.html.
- Adguard allowlist url tracking filter rules. https://raw.githubusercontent.com/AdguardTeam/AdguardFilters/master/TrackParamFilter/sections/allowlist.txt.
- Adguard general url tracking filter rules. https://raw.githubusercontent.com/AdguardTeam/AdguardFilters/master/TrackParamFilter/sections/general_url.txt.
- Adguard specific url tracking filter rules. https://raw.githubusercontent.com/AdguardTeam/AdguardFilters/master/TrackParamFilter/sections/specific.txt.
- List of query parameters removed by adguard. https://web.archive.org/web/20230702140315/https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_17_TrackParam/filter.txt.
- Adobe marketing cloud. https://web.archive.org/web/20220117161726/https://better.fyi/trackers/omtrdc.net/.
- Errors, misunderstandings, and attacks: Analyzing the crowdsourcing process of ad-blocking systems. In Proceedings of the 2019 Internet Measurement Conference (IMC), 2019.
- Errors, misunderstandings, and attacks: Analyzing the crowdsourcing process of ad-blocking systems. In Proceedings of the Internet Measurement Conference, pages 230–244, 2019.
- What is amazon cloudfront? https://web.archive.org/web/20230713064336/https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html.
- On landing and internal web pages: The strange case of jekyll and hyde in web performance measurement. In Proceedings of the ACM Internet Measurement Conference, 2020.
- Fp-radar: Longitudinal measurement and early detection of browser fingerprinting. Proceedings on Privacy Enhancing Technologies, 2:557–577, 2022.
- The hitchhiker’s guide to facebook web tracking with invisible pixels and click ids. In Proceedings of the ACM Web Conference 2023, WWW ’23, New York, NY, USA, 2023. Association for Computing Machinery.
- BidSwitch. User matching – bidswitch. https://protocol.bidswitch.com/features/user-matching.html.
- Automating cookie consent and GDPR violation detection. In 31st USENIX Security Symposium (USENIX Security 22). USENIX Association, 2022.
- Brave-Core. Brave filter list source code. https://github.com/brave/brave-core/blob/master/browser/net/brave_site_hacks_network_delegate_helper.cc#L29.
- Brave-Core. Brave query filter. https://web.archive.org/web/20240207231358/https://raw.githubusercontent.com/brave/brave-core/master/components/query_filter/utils.cc.
- Prevent tracking based on link decoration via query string or fragment. https://web.archive.org/web/20220310181355/https://github.com/brave/brave-browser/issues/4239.
- Brave privacy updates. https://brave.com/privacy-updates/.
- https://brave.com/privacy-updates/5-grab-bag/, 2020.
- List of query parameters removed by brave. https://web.archive.org/web/20230314220905/https://github.com/brave/brave-core/blob/master/browser/net/brave_query_filter.cc.
- Bsi customer data platform. https://web.archive.org/web/20230601052226/https://www.bsi-software.com/en/cdp.
- Cookie swap party: Abusing first-party cookies for web tracking. In Proceedings of the Web Conference, 2021.
- One trust. cookiepedia. https://cookiepedia.co.uk.
- List of query parameters removed by crumbcruncher. https://web.archive.org/web/20230724081035/https://github.com/ucsdsysnet/crumbcruncher/blob/master/data/simple_results.csv.
- Cname cloaking-based tracking on the web: Characterization, detection, and protection. IEEE Transactions on Network and Service Management, 2021.
- The cname of the game: Large-scale analysis of dns-based tracking evasion. Proceedings on Privacy Enhancing Technologies, 2021(4), 2021.
- DuckDuckGo. 3lift.com tracking data – duckduckgo tracker radar. https://github.com/duckduckgo/tracker-radar/blob/main/domains/US/3lift.com.json.
- DuckDuckGo. Adsrvr.org tracking data – duckduckgo tracker radar. https://github.com/duckduckgo/tracker-radar/blob/main/domains/US/adsrvr.org.json.
- DuckDuckGo. Amazon-adsystem.com tracking data – duckduckgo tracker radar. https://github.com/duckduckgo/tracker-radar/blob/main/domains/US/amazon-adsystem.com.json.
- DuckDuckGo. Bluekai.com tracking data – duckduckgo tracker radar. https://github.com/duckduckgo/tracker-radar/blob/main/domains/US/bluekai.com.json.
- DuckDuckGo. Casalemedia.com tracking data – duckduckgo tracker radar. https://github.com/duckduckgo/tracker-radar/blob/main/domains/US/casalemedia.com.json.
- DuckDuckGo. Criteo.com tracking data – duckduckgo tracker radar. https://github.com/duckduckgo/tracker-radar/blob/main/domains/US/criteo.com.json.
- DuckDuckGo. Liadm.com tracking data – duckduckgo tracker radar. https://github.com/duckduckgo/tracker-radar/blob/main/domains/US/liadm.com.json.
- DuckDuckGo. Lijit.com tracking data – duckduckgo tracker radar. https://github.com/duckduckgo/tracker-radar/blob/main/domains/US/lijit.com.json.
- DuckDuckGo. Openx.net tracking data – duckduckgo tracker radar. https://github.com/duckduckgo/tracker-radar/blob/main/domains/US/openx.net.json.
- DuckDuckGo. Rubiconproject.com tracking data – duckduckgo tracker radar. https://github.com/duckduckgo/tracker-radar/blob/main/domains/US/rubiconproject.com.json.
- DuckDuckGo. Yahoo.com tracking data – duckduckgo tracker radar. https://github.com/duckduckgo/tracker-radar/blob/main/domains/US/yahoo.com.json.
- Easylist. https://easylist.to/easylist/easylist.txt.
- Easyprivacy. https://easylist.to/easylist/easyprivacy.txt.
- I never signed up for this! privacy implications of email tracking. Proceedings on Privacy Enhancing Technologies, 2018(1):109–126, 2018.
- Online tracking: A 1-million-site measurement and analysis. In Proceedings of ACM CCS 2016, 2016.
- Facebook is now encrypting links to prevent url stripping. https://web.archive.org/web/20230527091045/https://www.schneier.com/blog/archives/2022/07/facebook-is-now-encrypting-links-to-prevent-url-stripping.html.
- fbp and fbc Parameters. https://web.archive.org/web/20220722220344/https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc/.
- Reach your people where they are with digital ads. https://www.feathr.co/platform/digital-advertising.
- Security/anti tracking policy. https://web.archive.org/web/20230520014736/https://wiki.mozilla.org/Security/Anti_tracking_policy.
- Enhanced tracking protection in firefox for desktop. https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop.
- List of query parameters removed by brave. https://web.archive.org/web/20230714022136/https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/query-stripping/records.
- Firefox query stripping. https://web.archive.org/web/20230714022136/https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/query-stripping/records, 2023.
- Firefox’s protection against fingerprinting. https://web.archive.org/web/20230716154817/https://support.mozilla.org/en-US/kb/firefox-protection-against-fingerprinting.
- Missed by filter lists: Detecting unknown third-party trackers with invisible pixels. Proceedings on Privacy Enhancing Technologies, 2020:499–518, 04 2020.
- My cookie is a phoenix: detection, measurement, and lawfulness of cookie respawning with browser fingerprinting. In PETS 2022-22nd Privacy Enhancing Technologies Symposium, 2022.
- My cookie is a phoenix: detection, measurement, and lawfulness of cookie respawning with browser fingerprinting. In Privacy Enhancing Technologies Symposium (PETS), 2022.
- Mozilla Foundation. Firefox 102.0 release notes. https://www.mozilla.org/en-US/firefox/102.0/releasenotes, 6 2022.
- ublock origin assets github repository. https://web.archive.org/web/20230802013435/https://github.com/uBlockOrigin/uAssets/tree/master/filters.
- Google. Cookie guide – authorized buyers real-time bidding. https://developers.google.com/authorized-buyers/rtb/cookie-guide.
- How google analytics works. https://web.archive.org/web/20230730023525/https://support.google.com/analytics/answer/12159447?hl=en.
- How Google Uses Cookies. https://web.archive.org/web/20230731174820/https://policies.google.com/technologies/cookies?hl=en-US.
- https://web.archive.org/web/20230730054216/https://business.safety.google/adscookies/.
- Privacy Sandbox for the Web. https://privacysandbox.com/open-web/.
- Referrals are from googleads.g.doubleclick.net or tpc.googlesyndication.com. https://web.archive.org/web/20221119020135/https://support.google.com/analytics/answer/1011829?hl=en.
- Collect campaign data with custom urls. https://web.archive.org/web/20230621153745/https://support.google.com/analytics/answer/1033863#zippy=%2Cin-this-article.
- Cv-inspector: Towards automating detection of adblock circumvention. In Network and Distributed System Security Symposium (NDSS), 2021.
- Measuring the emergence of consent management on the web. In Proceedings of the ACM Internet Measurement Conference, 2020.
- Jsforce: A forced execution engine for malicious javascript detection. In Security and Privacy in Communication Networks: 13th International Conference, SecureComm 2017, Niagara Falls, ON, Canada, October 22–25, 2017, Proceedings 13, pages 704–720. Springer, 2018.
- Understanding the basics of utm parameters. https://web.archive.org/web/20230329071707/https://blog.hubspot.com/customers/understanding-basics-utm-parameters, 2018.
- Id5 - first party ids and identity resolution methods explained. https://web.archive.org/web/20220408035339/https://id5.io/news/index.php/2022/03/24/first-party-ids-and-identity-resolution-methods-explained/.
- Tongwei Ren (Worcester Polytechnic Institute) et al. An analysis of first-party cookie exfiltration due to cname redirections. In Proceedings of the Network and Distributed System Security Symposium (NDSS), 2021.
- Cookieless advertising solution. https://web.archive.org/web/20230729220324/https://www.intentiq.com/.
- Fingerprinting the fingerprinters: Learning to detect browser fingerprinting behaviors. In IEEE Symposium on Security and Privacy (S&P). IEEE, 2021.
- The ad wars: Retrospective measurement and analysis of anti-adblock filter lists. In IMC, 2017.
- Adgraph: A graph-based approach to ad and tracker blocking. In IEEE Symposium on Security and Privacy (S&P). IEEE, 2020.
- Khaleesi: Breaker of advertising and tracking request chains. In USENIX Security Symposium (USENIX), 2022.
- In-Depth Evaluation of Redirect Tracking and Link Usage. Proceedings on Privacy Enhancing Technologies, 2020.
- Muzeel: Assessing the impact of javascript dead code elimination on mobile web performance. In Proceedings of the 22nd ACM Internet Measurement Conference, 2022.
- Browser fingerprinting: A survey. ACM Transactions on the Web (TWEB), 14(2):1–33, 2020.
- Discover a new advertising channel for powering profitable growth: email. https://web.archive.org/web/20230529064659/https://www.liveintent.com/advertiser-solutions/.
- LiveRamp. Implementing liveramp’s cookie sync tag. https://docs.liveramp.com/identity/en/implementing-liveramp-s-cookie-sync-tag.html.
- Learn how to create utm links and understand why you need them. https://web.archive.org/web/20230619202741/https://mailchimp.com/resources/utm-links/.
- Graph Neural Networks for Fast Node Ranking Approximation. ACM Transactions on Knowledge Discovery from Data (TKDD), 2021.
- MDN. Storage access policy: Block cookies from trackers. https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Privacy/Storage_access_policy.
- Microsoft. Conversion tracking – microsoft advertising. url = https://about.ads.microsoft.com/en-us/solutions/tools/conversion-tracking,.
- Efficient and interpretable real-time malware detection using random-forest. In 2019 International conference on cyber situational awareness, data analytics and assessment (Cyber SA), pages 1–8. IEEE, 2019.
- A beginners guide to utm parameters (and how to use them). https://web.archive.org/web/20230529162103/https://www.monsterinsights.com/a-beginners-guide-to-utm-parameters/.
- Mozilla. Enhanced tracking protection in firefox for desktop. https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop.
- Mozilla Foundation. Firefox 102.0, see all new features, updates and fixes. https://www.mozilla.org/en-US/firefox/102.0/releasenotes, June 2022.
- Cookiegraph: Understanding and detecting first-party tracking cookies. In ACM SIGSAC Conference on Computer and Communications Security (CCS), 2023.
- Mozilla Nightly. These weeks in firefox: Issue 117. https://blog.nightly.mozilla.org/2022/06/02/these-weeks-in-firefox-issue-117/, June 2022.
- Cookie synchronization: Everything you always wanted to know but were afraid to ask. In Proceedings of the World Wide Web (WWW) Conference, 2019.
- Tranco: A research-oriented top sites ranking hardened against manipulation. In Network and Distributed Systems Security (NDSS) Symposium 2019, 2019.
- Open-source tests of web browser privacy. https://web.archive.org/web/20230731221803/https://privacytests.org/.
- PURL Sanitizer. Purl: Tracking link decorations. https://github.com/purl-sanitizer/purl/blob/main/data/tracking_link_decorations.txt.
- PURL Sanitizer Contributors. Breakage analysis sites – purl sanitizer. https://raw.githubusercontent.com/purl-sanitizer/purl/main/data/breakage-analysis-sites.md.
- Measuring uid smuggling in the wild. In Proceedings of the 22nd ACM Internet Measurement Conference (IMC ’22), pages 230–243. Association for Computing Machinery, 2022.
- Our marketplace, a solution for premium publishers. https://web.archive.org/web/20230615100615/https://richaudience.com/en/publishers/.
- Modeling and Measuring Graph Similarity: The Case for Centrality Distance. ArXiv, 2014.
- A world wide view of browsing the world wide web. In Proceedings of the 22nd ACM Internet Measurement Conference, IMC ’22. Association for Computing Machinery, 2022.
- News from wwdc23:webkit features in safari 17 beta. https://webkit.org/blog/14205/news-from-wwdc23-webkit-features-in-safari-17-beta/.
- Journey to the center of the cookie ecosystem: Unraveling actors’; roles and relationships. In S&P 2021, 42nd IEEE Symposium on Security & Privacy, 23-27 May 2021, San Francisco, CA, USA, 2021.
- Justin Schuh. Building a more private web: A path towards making third party cookies obsolete. https://blog.chromium.org/2020/01/building-more-private-web-path-towards.html.
- Leaky forms: A study of email and password exfiltration before form submission. In Proceedings of the 31st USENIX Security Symposium (USENIX), August 2022.
- Claude Elwood Shannon. A mathematical theory of communication. The Bell System Technical Journal, pages 379–423, 1948.
- Webgraph: Capturing advertising and tracking information flows for robust blocking. In 31st USENIX Security Symposium (USENIX Security 22). USENIX Association, 2022.
- Who filters the filters: Understanding the growth, usefulness and efficiency of crowdsourced ad blocking. In ACM SIGMETRICS, 2020.
- Risk analysis of cookie sharing by link decoration and cname cloaking. Journal of Information Processing, 29:649–656, 01 2021.
- Unified id adoption guidelines for ssps. https://web.archive.org/web/20230801095601/https://www.thetradedesk.com/assets/global/Unified-ID-Adoption-Guidelines-for-SSPs-v1.8.pdf.
- Interpreting random forests. https://web.archive.org/web/20230519192208/http://blog.datadive.net/interpreting-random-forests/.
- Implement $queryprune parameter. https://web.archive.org/web/20230614232000/https://github.com/uBlockOrigin/uBlock-issues/issues/760.
- List of query parameters removed by ublock origin. https://web.archive.org/web/20230321033919/https://github.com/uBlockOrigin/uAssets/blob/master/filters/filters.txt.
- Leveraging random forest in micro-enterprises credit risk modelling for accuracy and interpretability. International Journal of Finance & Economics, 27(3):3713–3729, 2022.
- Cookies set in a visitor’s browser by hubspot. https://web.archive.org/web/20230729122826/https://knowledge.hubspot.com/privacy-and-consent/what-cookies-does-hubspot-set-in-a-visitor-s-browser.
- WebKit. Tracking prevention in webkit. https://webkit.org/tracking-prevention/.
- Tracking prevention in webkit. https://webkit.org/tracking-prevention/#anti-fingerprinting.
- WebTrends. Webtrends. https://web.archive.org/web/19961226204618/http://webtrends.com/, 12 1996.
- Webtrends analytics software implementation and maintenance guide. https://web.archive.org/web/20091122130817/http://www.heureka.com:80/upload/WebTrendsAnalyticsSoftwareImplementationGuide.pdf.
- John Wilander. Bounce Tracking Protection. https://github.com/privacycg/proposals/issues/6.
- Detecting and understanding javascript global identifier conflicts on the web. In Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, page 38–49, 2020.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.