Deceptive Patterns
‹ All reading

Automated Cookie Notice Analysis and Enforcement

Author
Rishabh Khandelwal, Asmit Nayak, Hamza Harkous, Kassem Fawaz
Date
8 Apr 2022
Publisher
USENIX Security Symposium
Focus
Privacy & Data Protection
Category
Academic Scholar

CookieEnforcer is a new system for automatically discovering cookie notices and extracting a set of instructions that result in disabling all non-essential cookies, and is characterized on the top 100k websites from the Tranco list, showcasing its stability and scalability.

Online websites use cookie notices to elicit consent from the users, as required by recent privacy regulations like the GDPR and the CCPA. Prior work has shown that these notices use dark patterns to manipulate users into making website-friendly choices which put users’ privacy at risk. In this work, we develop CookieEnforcer , a new system for automatically discovering cookie notices and deciding on the options that result in disabling all non-essential cookies. In order to achieve this, we first build an automatic cookie notice detector that utilizes the rendering pattern of the HTML elements to identify the cookie notices. Next, CookieEnforcer analyzes the cookie notices and predicts the set of actions required to disable all unnecessary cookies.