How Poor Security Design Erodes Trust: Lessons from Cloudflare's Wallet Feature
cloudflaremitre att&ckhackeronehacker newslobsterscybersecurityphishinguser experiencesecurity designdigital trustoauthsocial engineering

How Poor Security Design Erodes Trust: Lessons from Cloudflare's Wallet Feature

The incident, first detailed by elseif.net, involved a security expert who genuinely believed they were targeted by a phishing attack. This case highlights a critical flaw in modern security design.

The perceived threat was a new Cloudflare wallet feature. Its convincing nature stemmed from Cloudflare choosing to host this new wallet on a separate, unfamiliar domain: cloudflare.pay. Furthermore, the OAuth consent screen for this feature closely mimicked common phishing tactics. Specifically, the design elements, such as the unfamiliar domain and the generic presentation of the consent request, could be mapped to elements of MITRE ATT&CK technique T1566 (Phishing), particularly sub-techniques like T1566.002 (Spearphishing Link) due to the unfamiliar domain, or T1566.003 (Spearphishing via Service) given the OAuth context. Even as a false positive, the resemblance to these known adversary tactics is striking.

A legitimate product from a major security company presented itself in a manner so suspicious that an expert flagged it. This goes beyond a minor UI glitch, revealing a fundamental breakdown in how security is communicated to users.

When the expert attempted to report the suspected phishing attempt to Cloudflare via HackerOne, they encountered another barrier: a broken CAPTCHA. The very system designed to secure the internet actively hindered the reporting of a potential security issue. This dual failure created unnecessary friction and undermined trust.

Hand hovering over a laptop screen showing a suspicious login page, highlighting poor security design.
Hand hovering over a laptop screen showing

The UX That Trains Us to Ignore Warnings

The underlying issue stems from a design flaw with direct security implications, rather than malicious intent. When a company introduces a new feature, especially one involving financial transactions or sensitive data, its legitimacy must be immediately clear. Using an unfamiliar domain like cloudflare.pay for a core product, even if technically secure, violates a fundamental user expectation. Users are trained to identify familiar domains, to be wary of redirects, and to scrutinize consent screens for anomalies. This highlights a critical aspect of security design.

The OAuth consent screen design presents a similar challenge. If it resembles a generic, hastily constructed phishing page, users will react with suspicion. These confusing UI/UX elements inadvertently desensitize users to security warnings. If every suspicious prompt proves legitimate, users will eventually disregard truly malicious ones. This pattern directly facilitates phishing attacks, a common initial access vector. Effective security design must prevent such desensitization.

This problem extends beyond Cloudflare. We've seen similar issues, for example, with a major e-commerce platform's recent rollout of their new "Express Pay" portal, which utilized a pay.ecommerceplatform.com subdomain without adequate prior user education. This led to widespread user confusion and a surge in support tickets regarding potential phishing. In such cases, the drive for rapid deployment or a distinct brand identity inadvertently overrides basic security communication principles. The outcome is a user base increasingly prone to overlooking red flags, making them more vulnerable to actual phishing attempts.

Eroding Trust, One Confusing Screen at a Time

This issue isn't just about individual users getting confused; it gradually erodes our collective confidence in the digital tools we use every day. When even experienced users struggle to differentiate between a real product and a scam, it gradually diminishes collective trust in online services.

Discussions on platforms like Hacker News and Lobsters frequently echo this sentiment, highlighting user frustration with confusing security interfaces and the challenges of distinguishing legitimate features from scams. They are also hindered by practical obstacles when attempting to report vulnerabilities. This collective exasperation signals a need for the industry to re-evaluate its approach to security design. We are building systems that are technically sound, yet practically confusing, a combination that introduces significant risk.

Principles of Effective Security Design

To address this, we need to bridge the gap between technical security and practical usability. The industry would benefit from adopting a more user-centric approach to security design.

A critical first step in user-centric security involves a disciplined domain strategy. For critical features, especially those handling sensitive data or financial transactions, adherence to the primary, well-known domain is paramount. If a new domain is unavoidable, proactive communication is essential, alongside strong visual cues that unequivocally link it back to the main brand. This approach reduces the attack surface for domain spoofing and mitigates user confusion, a key component of social engineering defense, and a cornerstone of good security design.

Rigorous user testing of security interfaces, particularly consent screens, is non-negotiable. This involves testing with a diverse group of external users, not just internal teams, to ensure designs do not inadvertently mimic phishing patterns. If a screen is flagged as suspicious by a significant portion of the test group, it requires immediate redesign. Modern UI/UX testing frameworks, coupled with security-focused design audits, can identify these vulnerabilities before deployment, improving overall security design.

The Cloudflare incident highlighted how critical streamlined vulnerability reporting mechanisms are. Companies need to make it straightforward, not difficult, for individuals to report potential security issues. A broken CAPTCHA on a bug bounty platform, as seen in this incident, presents a significant barrier. Investing in reliable, user-friendly reporting channels and ensuring they function as intended is crucial. Established frameworks, such as those offered by HackerOne, can provide a solid foundation for vulnerability reporting, which is an often-overlooked aspect of holistic security.

Beyond design and reporting, empowering users through education, rather than mere warnings, represents a crucial shift. Instead of simply presenting alerts, help users understand *why* a particular action is secure or *why* caution is necessary. Context is critical. Explaining the implications of granting permissions, for instance, can empower users to make informed decisions, rather than simply clicking through prompts they don't understand. This shifts the user from a passive recipient of warnings to an active participant in their own security, a key goal of modern security design.

Group of people discussing UI mockups for improved security design.
Group of people discussing UI mockups for improved

This incident highlights a systemic issue where the pursuit of new features or distinct branding can unintentionally undermine the very security we aim to build. A shift is needed in how companies approach security UI, moving from a purely technical perspective to one that deeply integrates the user's experience and their learned behaviors. Effective security extends beyond the underlying code; it's also critically about how that code is presented to daily users, making security design paramount.

Daniel Marsh
Daniel Marsh
Former SOC analyst turned security writer. Methodical and evidence-driven, breaks down breaches and vulnerabilities with clarity, not drama.