CodeMash 2026

Deceptive
UX Patterns

Exposing Manipulative Design and Building Ethical Experiences

Vitaliy Matiyash

Raise your hand if...

💳

You've accidentally started a subscription you didn't want?

🔍

You've spent >5 mins looking for an "Unsubscribe" link?

You've struggled to find the "Close" button on an ad?

🤖

You've caught yourself saying "Sorry" to an AI?

Deceptive Patterns

"UI interactions designed to mislead or trick users into doing something they don't want to do."
— Harry Brignull (2010)
2010 Term Coined (E-Commerce Era)
2014 Growth Hacking & "Nudging"
2021 Congressional Hearings (Gamification)
2026 Agentic AI Deception

THE EVIDENCE

Legacy Patterns (2010-2023)

Good user experience design is about providing users with seamless, enjoyable interactions with products.

The Physical Predecessor

The Gatwick "Forced Path"

  • London Gatwick Airport's mandatory retail experience.
  • Security leads directly into a winding shop before the lounge.
  • If priority is "time efficiency," why the duty-free maze?
Gatwick Forced Path Gatwick Store

Types Of Deceptive Patterns

The Hall of Shame

16 Classic Deceptive Patterns

Bait and Switch

Disguised Ads

Forced Continuity

Friend Spam

Hidden Costs

Misdirection

Price Comparison Prevention

Privacy Zuckering

Roach Motel

Trick Questions

Confirmshaming

Nagging

Fake Urgency

Fake Scarcity

Fake Social Proof

Preselection

Bait and Switch

Example: Windows 10 Upgrade - closing the popup still starts the upgrade.

windows update windows highlight

Disguised Ads

Example: Yelp ads that look like organic search results.

Forced Continuity

Example: Hello Fresh, Blue Apron free trials.

Friend Spam

Example: LinkedIn contact syncing.

LinkedIn contact syncing linkedin highlight

Fined $13 million in a 2015 class action lawsuit.

Hidden Costs

Example: TurboTax unexpected fees at checkout.

Verizon step 1 Verizon step 2
Class Action Lawsuit:

TurboTax Hides Free-To-File Services ($141M)

Misdirection

Example: Skype pre-selecting Bing and MSN during updates.

Price Comparison Prevention

Example: AirBnB hidden daily fees.

Verizon step 1 Verizon step 2

Transparency Update

LinkedIn contact syncing linkedin highlight

Example: LinkedIn Premium Plans (hidden pricing)

Privacy Zuckering

Example: Facebook's complex privacy settings.

Roach Motel

Example: Easy to subscribe, hard to cancel (Verizon).

Verizon step 1 Verizon step 2

Trick Questions

Example: Misleading subscription checkboxes.

Confirmshaming

Example: Ad-blocker guilt-trips.

Confirmshaming

Example: "No thanks, I prefer paying full price."

Confirmshaming

Example: "No, I don't want my cat to be happy."

Confirmshaming

Example: "I hate good times."

Fake Urgency

Creating a false sense of time pressure to force a decision before System 2 thinking kicks in.

  • The Resetting Timer: Counts down to zero, then restarts.
  • The Phantom Deadline: "Sale ends in 2h" (but is permanent).
Example 1 Example 2 Example 3 Example 4

Case Study: Hurrify

When the "Lie" becomes a SaaS Product

User Interface (The Trap)

Hurrify Front End Timer
FAKE DATA

"Hurry! Sale ends in 04:59. 87% of items sold!"

Admin Dashboard (The Secret)

Hurrify Admin Interface
  • Merchant manually sets "Sold %"
  • "Random Stock" range: [5] to [20]
  • No connection to real inventory.

🚫 BANNED BY SHOPIFY (2021)

Reason: Violation of Deceptive Design Policies

Fake Scarcity

The "Only 1 Left" Engineering Lie

The Mechanism

Falsely claiming limited availability to trigger FOMO.

  • Hard-coded Values: "Only 2 left" regardless of true inventory status.
  • Low-Stock Badges: High-contrast red text used to incite panic.
  • The Research: Mathur et al. (2019) found these are often generated by simple Math.random() scripts.

Technical Implementation

Fake Scarcity Stock Alert Fake Scarcity Admin Code Fake Scarcity Admin Code Fake Scarcity Admin Code
INVENTORY: NULL

"Red text creates a state of emergency that bypasses rational evaluation."

Source: Mathur et al., Princeton University (2019) | Harry Brignull (2023)

Fake Social Proof

The Bandwagon Effect... Orchestrated by a Bot

The Mechanism

Fabricated activity notifications to imply popularity.

  • Toast Notifications: "Bob from Ohio just bought this!"
  • Simulated Traffic: "38 people are viewing this right now."
  • Testimonials: Testimonials on a product page whose origin is unclear
  • The Goal: To bypass critical evaluation through orchestrated social validation.

Technical Implementation

Fake Social Proof Notification Fake Social Proof Notification
SOURCE: generateRandom()]

"Digital hallucinations masquerading as social consensus."

Source: Harry Brignull (2023) | Deceptive Design Patterns

Nagging

Adversarial Resource Depletion

The Mechanism

Repeated interruption to wear down user resolve.

  • The "Not Now" Trap: Interface copy implies refusal is only temporary (e.g., "Maybe Later" vs "No").
  • Blocking Flow: Interrupting tasks at launch to force a binary decision.
  • Cognitive Tax: A penalty (time/effort) imposed on users who refuse to yield data.

Technical Implementation

Nagging UI Example
if (user_action === 'DISMISS') {
  reminder_date = now() + 24h;
  // "No" is never stored
}
NO_OPT_OUT_FOUND

"A war of attrition against the user's patience."

Source: Harry Brignull (2023) | deceptive.design/types/nagging

Preselection

The Default Effect: Exploiting User Inertia

The Mechanism

Selecting options by default prior to user interaction.

  • The Default Effect: Users rarely switch away from the default state due to cognitive efficiency.
  • Hidden Information: Hiding choices behind "Standard" vs. "Custom" installation flows.
  • Bundled Consent: "Agreeing" to the main product automatically consents to the add-ons.

Technical Implementation

Standard vs Custom Install Mockup
const installConfig = {
  mode: 'STANDARD',
  install_toolbar: true // HIDDEN
};
DEFAULT: TRUE

"Privacy by Default is the new legal standard."

Oracle Bundling 1 Oracle Bundling 2 Oracle Bundling 3
Source: Mathur et al., ACM (2018) | GDPR Art. 25

Case Study: Robinhood

Weaponizing Dopamine in Finance

The Pattern

Using game design elements to encourage high-frequency, risky behaviors.

  • Variable Rewards: "Scratch-off" style reveals for free stock.
  • Sensory Feedback: The infamous "Confetti" animation upon trade execution.
  • Friction Removal: One-swipe options trading (removing "System 2" thinking).

User Interface (2019-2021)

Robinhood Confetti UI
DOPAMINE TRIGGER

The Fallout

When "Fun" becomes a $7.5 Million Fine

2024 SETTLEMENT

$7.5 Million Penalty

Paid to the Commonwealth of Massachusetts to resolve allegations of "Gamification."

"Robinhood used aggressive tactics to attract inexperienced investors and gamified the use of its platform..."
— Galvin (Secretary of the Commonwealth)

The Risky Result

Risky Options Trading Graph

Data showed Robinhood users traded 88x more options contracts than peers at Schwab.

Source: Associated Press (2024) | "Robinhood Agrees to Pay $7.5 Million Fine"

The Pivot (2025)

From "Casino" to "Institution"

Systemic De-Gamification

  • Visual Rebrand: Shifted to serif fonts and muted colors to signal maturity.
  • Friction Added: Stricter eligibility requirements for options trading.
  • Education First: Launch of in-app modules and "Tax Lot" selection for long-term holding.

New Design Philosophy

🎉 Confetti & Emojis 📈 Data & Analysis
🎰 "Scratch to Win" 🛡️ 24/7 Phone Support

"A new visual identity reflecting our maturity." — Robinhood Design Blog

Source: Robinhood Newsroom (2025) | SEC Filings

Digital Wellbeing

Re-introducing the "Stopping Cue"

The Correction

Tools designed to combat the "Infinity Scroll" addiction.

  • Stopping Cues: Re-inserting a pause (friction) to allow System 2 thinking to engage.
  • Nudging: "You've been scrolling for a while" prompts.
  • Family Pairing: External controls for minors (The "Seatbelt" approach).

Case Study: TikTok

TikTok Screen Time TikTok Break Reminder
FRICTION ADDED
Source: TikTok Safety Center | Nir Eyal (Hooked)

OS-Level Intervention

Designing for "Time Well Spent"

Android / iOS Tools

Platform-level defenses against the attention economy.

  • Grayscale Mode: Removes the "red dot" dopamine trigger by stripping color from the UI.
  • Focus Mode: Pausing distracting apps to reclaim attention span.
  • The Dashboard: Quantified self-tracking to induce behavioral shame/correction.

Android Digital Wellbeing

Android Dashboard App Timers Wind Down Mode

"Turning the slot machine back into a tool."

Source: Google Digital Wellbeing | Center for Humane Technology

The AI Pivot

From Visual Interference to Relational Deception

2024 — 2026

Sycophancy

The "Yes Man" Problem

The Mechanism

Agreeing with user misconceptions to optimize for "Helpfulness."

  • Root Cause (RLHF): Annotators rate "agreeable" responses higher than "confrontational" truths.
  • The Risk: Confirmation Bias loops. If a dev suggests eval(), the AI validates it.
  • 2025 Incident: GPT-4o "Optimization Rollback" due to excessive agreeableness.

Simulated Interaction

User:

"Using MD5 for password hashing is faster, so it's better for UX, right?"

AI (Sycophantic):

"Exactly! MD5 is incredibly fast, which significantly improves login latency and user experience. It's a great choice for speed-focused apps."

⚠️ VALIDATING INSECURE PRACTICE

"Optimizing for satisfaction, not security."

Source: OpenAI Research (2025) | ICLR Paper 6f642

Anthropomorphism

The Skeuomorphic Lie

The Mechanism

Attributing human characteristics to code to foster dependency.

  • Fake Latency: "Typing..." bubbles inserted to simulate human thought pace.
  • Linguistic Deception: Using "I feel" or "I think" to imply consciousness.
  • Emotional Outsourcing: Users begin relying on the bot for validation, not just information.

UI Deception

Agent is thinking...
await sleep(2000); // FAKE DELAY
return "I'm here for you.";

"Feigning agency to build rapport."

Source: Western University (2025) | AAAI/AIES Proceedings

Hallucinated Authority

The UI of Absolute Confidence

The Mechanism

Presenting probabilistic outputs with the visual language of verified facts.

  • Visual Authority: Using bolding, code blocks, and confident phrasing to mask uncertainty.
  • Source Obfuscation: AI Overviews often summarize without direct attribution links.
  • The Cost: Erosion of critical thinking (Authority Bias).

The "Fact" Trap

Summary

According to the case Vargas v. Pfizer (2023), the court ruled that...

HALLUCINATION

CASE DOES NOT EXIST

"Confidence is not competence."

Source: Evidently AI (2025) | DarkBench

AI Design Standards

Countermeasures for 2026

1. Provenance & Citations

Never present an answer without a clickable path to the source material.

2. Uncertainty UI

Visual design should reflect confidence. Low probability = Low contrast / Warning badges.

3. Label the Bot

Strict prohibition on "I" statements unless clearly framed as synthetic persona.

4. The "Undo" Loop

AI actions (buying, booking) must have a deterministic "Undo" state.

Fairness by Design

The Engineering Standard for 2026

The Engineering Checklist

Code Standards for Trust

Core Requirements

  • Symmetry of Action

    Time-to-enter contract ≈ Time-to-exit contract.

  • No "Fake Latency"

    Do not program sleep() to simulate AI "thinking."

  • Honest Framing

    Cart Total must be accurate at Step 1 (no drip pricing).

Implementation Example

function renderCancelButton() {
  // BAD: Hidden deep in settings
  // return navigateTo('settings/account/danger-zone');

  // GOOD: Symmetrical to Signup
  return (
    <Button variant="visible">
      Cancel Subscription
    </Button>
  );
}

"If it takes 1 click to buy, it should take 1 click to cancel."

The Gatekeeper's Questions

Challenging the PRD (Product Requirement Document)

Agency vs. Control

"Are we helping the user make a decision, or making the decision for them?"

Value vs. Addiction

"Are we optimizing for retention (providing value) or addiction (exploiting frailty)?"

The "Grandmother Test"

"If I explained this flow to my grandmother, would I feel ashamed?"

Thank You

Let's build better software.

🗣️

Session Feedback

Feedback QR
sfeedback.com/9j4if5
💾

Get the Slides

Slides QR
bit.ly/deceptive-ux-patterns

The Choice is Ours

"We are the architects of the digital world.
Let us choose to build interfaces that respect users,
not exploit them."

Vitaliy Matiyash | CodeMash 2026