Work

Explaining Away Security: XAI UI Patterns, Habituation, and the Trust-Security Gap in AI-Generated Interfaces

Year: 2026
Type: preprint
Abstract: Vibe coding, in which a person describes an interface in natural language and an AI model generates it, raises a problem that usable-security research has not yet addressed. The interfaces it produces look professional by default, regardless of whether they are secure. We argue that this trust-security gap is systemic and can be measured, and we present a framework for doing so. Trust-Security Gap Analysis (TSGA) combines four components into a single gap score: a taxonomy of trust-inflating UI patterns, a security posture checklist, a habituation-risk index, and a time-decay model. Its prescriptive counterpart, STAMP, translates a TSGA diagnosis into concrete design, security, and habituation-mitigation actions. We piloted TSGA on 25 publicly available vibe-coded applications collected in two rounds. Gap scores ranged from -7.87 to 10.80, with a mean of 1.91. The negative end of this range was unexpected. Several applications disclosed more concrete security information than their trust signals suggested, which is the reverse of the failure mode TSGA was designed to detect and a case that our original scoring bands did not cover. We regard this as a preliminary finding. A controlled user study was beyond the scope of this project; instead, we validate the framework against existing literature and an automated re-scoring pass, and we outline the user study as the next step.
Institution: Bennett University
Language: English
Open Access status: green
OpenAlex ID: W7220748085
Cites:
Cited by:
Related to: 10