Unveiling the Tricks: Automated Detection of Dark Patterns in Mobile Applications
Jieshan Chen, Jiamou Sun, Sidong Feng, Zhenchang Xing, Qinghua Lu, Xiwei Xu, Chunyang Chen
摘要
Mobile apps bring us many conveniences, such as online shopping and communication, but some use malicious designs called dark patterns to trick users into doing things that are not in their best interest. Many works have been done to summarize the taxonomy of these patterns and some have tried to mitigate the problems through various techniques. However, these techniques are either time-consuming, not generalisable or limited to specific patterns. To address these issues, we propose UIGuard, a knowledge-driven system that utilizes computer vision and natural language pattern matching to automatically detect a wide range of dark patterns in mobile UIs. Our system relieves the need for manually creating rules for each new UI/app and covers more types with superior performance. In detail, we integrated existing taxonomies into a consistent one, conducted a characteristic analysis and distilled knowledge from real-world examples and the taxonomy. Our UIGuard consists of two components, Property Extraction and Knowledge-Driven Dark Pattern Checker. We collected the first dark pattern dataset, which contains 4,999 benign UIs and 1,353 malicious UIs of 1,660 instances spanning 1,023 mobile apps. Our system achieves a superior performance in detecting dark patterns (micro averages: 0.82 in precision, 0.77 in recall, 0.79 in F1 score). A user study involving 58 participants further showed that UIGuard significantly increases users’ knowledge of dark patterns. We demonstrated potential use cases of our work, which can benefit different stakeholders, and serve as a training tool for raising awareness of dark patterns.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Dark Patterns and the Legal Requirements of Consent Banners: An Interaction Criticism Perspective 引用了 UI Dark Patterns and Where to Find Them: A Study on Mobile Applications and User Perception
- Screen Recognition: Creating Accessibility Metadata for Mobile Applications from Pixels 引用了 Object detection for graphical user interface: old fashioned or deep learning or a combination?
- 50 Shades of Deceptive Patterns: A Unified Taxonomy, Multimodal Detection, and Security Implications 引用了 UI Dark Patterns and Where to Find Them: A Study on Mobile Applications and User Perception
- MUD: Towards a Large-Scale and Noise-Filtered UI Dataset for Modern Style UI Modeling 引用了 Screen Recognition: Creating Accessibility Metadata for Mobile Applications from Pixels
- MUD: Towards a Large-Scale and Noise-Filtered UI Dataset for Modern Style UI Modeling 引用了 Object detection for graphical user interface: old fashioned or deep learning or a combination?
- MUD: Towards a Large-Scale and Noise-Filtered UI Dataset for Modern Style UI Modeling 引用了 Prompting Is All You Need: Automated Android Bug Replay with Large Language Models
- An Ontology of Dark Patterns Knowledge: Foundations, Definitions, and a Pathway for Shared Knowledge-Building 引用了 A Comparative Study of Dark Patterns Across Web and Mobile Modalities
- An Ontology of Dark Patterns Knowledge: Foundations, Definitions, and a Pathway for Shared Knowledge-Building 引用了 Dark Patterns and the Legal Requirements of Consent Banners: An Interaction Criticism Perspective
- From Awareness to Action: The Effects of Experiential Learning on Educating Users about Dark Patterns 引用了 UI Dark Patterns and Where to Find Them: A Study on Mobile Applications and User Perception
引用它的顶会 Paper16
- Prompting Is All You Need: Automated Android Bug Replay with Large Language ModelsSidong Feng, Chunyang ChenICSE 2024 · 143 次引用
- An Ontology of Dark Patterns Knowledge: Foundations, Definitions, and a Pathway for Shared Knowledge-BuildingColin M. Gray, Cristiana Teixeira Santos, Nataliia Bielova, Thomas MildnerCHI 2024 · 113 次引用
- MUD: Towards a Large-Scale and Noise-Filtered UI Dataset for Modern Style UI ModelingSidong Feng, Suyu Ma, Han Wang, David Kong 等CHI 2024 · 13 次引用
- 50 Shades of Deceptive Patterns: A Unified Taxonomy, Multimodal Detection, and Security ImplicationsZewei Shi, Ruoxi Sun, Jieshan Chen, Jiamou Sun 等WWW 2025 · 12 次引用
- From Awareness to Action: The Effects of Experiential Learning on Educating Users about Dark PatternsJingzhou Ye, Yao Li, Wenting Zou, Xueqiang WangCHI 2025 · 12 次引用
它引用的 Paper15
- UI Dark Patterns and Where to Find Them: A Study on Mobile Applications and User PerceptionLinda Di Geronimo, Larissa Braz, Enrico Fregnan, Fabio Palomba 等CHI 2020 · 262 次引用
- Dark Patterns and the Legal Requirements of Consent Banners: An Interaction Criticism PerspectiveColin M. Gray, Cristiana Teixeira Santos, Nataliia Bielova, Michael Toth 等CHI 2021 · 175 次引用
- Screen Recognition: Creating Accessibility Metadata for Mobile Applications from PixelsXiaoyi Zhang, Lilian de Greef, Amanda Swearngin, Samuel White 等CHI 2021 · 145 次引用
- Object detection for graphical user interface: old fashioned or deep learning or a combination?Jieshan Chen, Mulong Xie, Zhenchang Xing, Chunyang Chen 等FSE 2020 · 144 次引用
- A Comparative Study of Dark Patterns Across Web and Mobile ModalitiesJohanna Gunawan, Amogh Pradeep, David R. Choffnes, Woodrow Hartzog 等CSCW 2021 · 128 次引用
相关 Paper
- AidUI: Toward Automated Recognition of Dark Patterns in User InterfacesS. M. Hasan Mansur, Sabiha Salma, Damilola Awofisayo, Kevin MoranICSE 2023 · 27 次引用
- AdsDP: A Video Dataset for Recognizing and Examining Dark Patterns in iOS In-App AdvertisementsYuxuan Shang, Guanxiao Wang, Mengxia Ren, Haomin Zhang 等UbiComp 2025 · 1 次引用
- Fighting Malicious Designs: Towards Visual Countermeasures Against Dark PatternsRené Schäfer, Paul Miles Preuschoff, René Röpke, Sarah Sahabi 等CHI 2024 · 18 次引用
- When Designers Meet GenAI: Understanding the Role of Prompt-to-Design Generators in Privacy Dark PatternsJingzhou Ye, Zhaojie Hu, Yao Li, Xueqiang WangS&P 2026
- Shadows in the Interface: A Comprehensive Study on Dark PatternsLiming Nie, Yangyang Zhao, Chenglin Li, Xuqiong Luo 等FSE 2024 · 20 次引用
