Subscribe to the Non-Human & AI Identity Journal

UI Integrity

UI integrity is the assurance that what a user sees on screen is the same interface the application is actually using to capture input and execute actions. In mobile security, it is a trust property that sits between authentication, user intent, and transaction approval.

Expanded Definition

UI integrity is the assurance that the interface displayed to a user is the same interface the application is actually using to capture input and execute actions. In practice, it protects the trust boundary between user intent and transaction execution, especially where mobile apps, remote sessions, embedded web views, or agent-assisted workflows can be visually altered.

Definitions vary across vendors, but the core security question is consistent: can the user rely on what is rendered, or could an overlay, spoofed prompt, injected component, or altered state misrepresent the action being approved? This matters because UI integrity is not just about authentication. A user can be strongly authenticated and still approve the wrong operation if the screen is deceptive or stale. That makes it a runtime trust property closely related to NIST Cybersecurity Framework 2.0 governance outcomes around protecting user-facing interactions and transaction assurance.

In NHI and agentic environments, UI integrity also affects delegated actions where a human approves an AI-initiated workflow or a service account triggers a sensitive change behind a human-visible prompt. The most common misapplication is assuming that authentication, session control, or device trust alone guarantees UI integrity, which occurs when the displayed interface can still be manipulated after the user is logged in.

Examples and Use Cases

Implementing UI integrity rigorously often introduces friction for designers and product teams, because stronger trust checks can add latency, constrain custom rendering, or interrupt seamless approval flows. Organisations must weigh usability against the risk of approving an action the user never truly saw.

  • A mobile banking app binds the approval screen to a signed transaction summary so the displayed amount, recipient, and account cannot be swapped after the user reviews it.
  • An enterprise approval flow prevents overlay attacks by detecting when another app is drawing on top of a transaction prompt before the user signs off.
  • A browser-based admin console verifies that the control the user clicks is the same control the application submits, reducing the risk of DOM tampering and click-jacking.
  • A security team reviewing service-account behavior uses the Ultimate Guide to NHIs to connect UI approval risks with excessive privilege, secret exposure, and weak offboarding.
  • An agentic AI tool presents a human-readable action preview before execution, then locks the underlying command so the preview cannot be swapped after approval.

These use cases align with browser security principles in the OWASP Top Ten and with device-level trust controls referenced in NIST Cybersecurity Framework 2.0, even though no single standard fully defines UI integrity as a standalone control today.

Why It Matters in NHI Security

UI integrity matters because many NHI and agentic failures begin with a trusted human approving an action that was visually misrepresented. If the interface can be spoofed, altered, or desynchronised from the underlying command, then the approval step becomes a liability instead of a safeguard. That is especially dangerous when a service account, API key, or AI agent can execute high-impact actions once a human confirms them.

NHIMG research shows that Ultimate Guide to NHIs reports 80% of identity breaches involved compromised non-human identities such as service accounts and API keys, and 79% of organisations have experienced secrets leaks, with 77% causing tangible damage. UI integrity is part of the upstream defense that helps prevent those paths from being exploited through deceptive approvals and manipulated prompts.

Practitioners should treat UI integrity as a control for preventing trust collapse in approval workflows, not as a cosmetic usability concern. When organisations discover that users approved the wrong recipient, signed a hidden command, or confirmed a malformed transaction, the need to prove interface integrity becomes operationally unavoidable after the incident.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST Zero Trust (SP 800-207) and NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 AI-05 Covers deceptive prompts and unsafe human approval paths in agentic workflows.
OWASP Non-Human Identity Top 10 NHI-02 UI fraud can expose or misuse NHI secrets during approval and execution steps.
NIST CSF 2.0 PR.AC-1 User-facing trust and access decisions depend on strong control of authenticated interactions.
NIST Zero Trust (SP 800-207) SA-8 Zero Trust requires validating every action context, including the interface used to approve it.
NIST AI RMF AI RMF addresses trustworthy interaction design and human oversight in automated systems.

Ensure approval screens cannot be used to mask secret use, credential exposure, or hidden privilege escalation.