arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.05031cs.AI
收藏

AegisUI:用于AI代理系统中结构化用户界面协议行为异常检测

AegisUI: Behavioral Anomaly Detection for Structured User Interface Protocols in AI Agent Systems

Department of Computer Science(计算机科学系);Department of Information Technology(信息技术系);Muffakham Jah College of Engineering(穆法卡姆·贾赫工程学院)

Mohd Safwan Uddin, Saba Hajira

AI总结:

AegisUI通过生成结构化UI载荷并检测行为异常,提升AI代理系统中用户界面的安全性。

摘要:

在生产系统中,AI代理通过即时构建用户界面,从结构化协议载荷中组装按钮、表单和数据显示,正变得越来越普遍。问题在于,一个载荷可能通过所有模式检查,但仍能欺骗用户:一个按钮可能显示“查看发票”,而其隐藏的操作会删除账户,或一个显示小部件可能默默绑定到内部薪资字段。当前的防御措施仅停留在语法层面;它们从未被设计用来捕捉这种行为不匹配。我们构建了AegisUI来研究这个缺口。该框架生成结构化UI载荷,向其中注入现实的攻击,提取数值特征,并对异常检测器进行端到端的基准测试。我们产生了4000个标记的载荷(3000个良性,1000个恶意)覆盖五个应用领域和五个攻击家族:钓鱼界面、数据泄露、布局滥用、操纵性UI和工作流异常。从每个载荷中提取了18个特征,涵盖结构、语义、绑定和会话维度,然后比较了三种检测器:孤立森林(无监督)、一个经过良性训练的自编码器(半监督)和随机森林(监督)。在分层的80/20分割中,随机森林在整体上表现最佳(准确率0.931,精确率0.980,召回率0.740,F1 0.843,ROC-AUC 0.952)。自编码器排名第二(F1 0.762,ROC-AUC 0.863),且不需要在训练时使用恶意标签,这在部署新系统时缺乏攻击历史时很重要。针对每个攻击类型的分析显示,布局滥用最容易被发现,而操纵性UI载荷最难被发现。所有代码、数据和配置都已发布,以确保完全可重复性。

英文摘要:

AI agents that build user interfaces on the fly assembling buttons, forms, and data displays from structured protocol payloads are becoming common in production systems. The trouble is that a payload can pass every schema check and still trick a user: a button might say "View invoice" while its hidden action wipes an account, or a display widget might quietly bind to an internal salary field. Current defenses stop at syntax; they were never built to catch this kind of behavioral mismatch. We built AegisUI to study exactly this gap. The framework generates structured UI payloads, injects realistic attacks into them, extracts numeric features, and benchmarks anomaly detectors end-to-end. We produced 4000 labeled payloads (3000 benign, 1000 malicious) spanning five application domains and five attack families: phishing interfaces, data leakage, layout abuse, manipulative UI, and workflow anomalies. From each payload we extracted 18 features covering structural, semantic, binding, and session dimensions, then compared three detectors: Isolation Forest (unsupervised), a benign-trained autoencoder (semi-supervised), and Random Forest (supervised). On a stratified 80/20 split, Random Forest scored best overall (accuracy 0.931, precision 0.980, recall 0.740, F1 0.843, ROC-AUC 0.952). The autoencoder came second (F1 0.762, ROC-AUC 0.863) and needs no malicious labels at training time, which matters when deploying a new system that lacks attack history. Per-attack-type analysis showed that layout abuse is easiest to catch while manipulative UI payloads are hardest. All code, data, and configurations are released for full reproducibility.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑