A Hybrid Security Framework for Mini-Programs: Visual UI Compliance and Network Risk Assessment

📅 2026-08-26
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文针对微信小程序界面交互设计合规性和操作行为安全性问题,采用YOLOv8和mitmproxy技术检测图标按钮位置大小及链接安全性。
📝 Abstract
With the continuous development of the WeChat ecosystem, WeChat Mini Programs, due to their advantages of not requiring installation, using little memory, and being ready to use instantly, have seen a surge in user numbers and have now become an indispensable service carrier in mobile internet. However, as Mini Programs rapidly became popular, issues regarding the compliance of their interface interaction design and the safety of operational behavior have become increasingly apparent. Many Mini Programs have problems such as clickable buttons and icons not being standard in size, or ad pop-ups and payment entrances being placed in a way that is easy to misclick. The close or cancel buttons are often too small or hidden, making it easy to accidentally click on ads or payment content, and difficult to accurately click the cancel button. This can result in involuntary payments or being redirected to illegal pages, causing unnecessary financial losses and seriously harming users' property security and legal rights. To address the above issues, this article develops a detection program to check the position and size of various icons and buttons in Mini Programs, and analyze whether redirected links fall within a safe range. YOLOv8 is used to identify various buttons in images, displaying the corresponding icon and its data based on the mouse click position. Violations are flagged and recorded. At the same time, mitmproxy is used to capture relevant data requests generated during clicks, analyzing the safety of redirections, and presenting key information for user observation.
Problem

Research questions and friction points this paper is trying to address.

Mini Programs
UI Compliance
Network Risk Assessment
User Safety
Financial Losses
Innovation

Methods, ideas, or system contributions that make the work stand out.

Hybrid Security Framework
Visual UI Compliance
Network Risk Assessment
YOLOv8
mitmproxy
🔎 Similar Papers
No similar papers found.
P
Panpan Shen
Hainan University, Haikou, China
L
Lei Xie
Hainan University, Haikou, China
X
Xiaoqi Li
Hainan University, Haikou, China