Notícias
Notícias
5 min de leitura
12 de outubro de 2026

Passkeys são armadilha (seu agente tá em risco)

Passkeys = marketing (não segurança real). Seu agente usa passkeys? Falso senso de segurança. Compliance + ethical risk.

Equipe OpenClaw

Equipe OpenClaw · Time de Engenharia & Produto

A Equipe OpenClaw é formada por engenheiros, designers e especialistas em IA dedicados a construir a melhor plataforma de agentes conversacionais para negócios brasileiros. Combinamos expertise…


Passkeys são armadilha (seu agente tá em risco)

Notícia: Developer (trending: 384 pts, 213 comentários) publicou: "Passkeys are a trap." Mensagem: Indústria tá promovendo passkeys como "segurança superior" (marketing). Realidade: Passkeys têm gaps reais (vulnerabilidades, UX problems, false sense of security). Resultado: Empresas implementam passkeys, clientes acham "safe", mas vulnerabilidades existem (invisíveis). Implicação: Seu agente (que usa passkeys pra auth) tá em armadilha legal + ética.

Problema: **

THE PASSKEY TRAP:

INDÚSTRIA DIZ: ├─ "Passkeys = mais seguro que senha" ├─ "Sem phishing (biometria + device-bound)" ├─ "Zero knowledge (não armazenamos chave)" ├─ "Future of authentication" └─ → MARKETING MESSAGE

REALIDADE TÉCNICA: ├─ Passkeys têm vulnerabilidades reais (sync, recovery, device compromise) ├─ Phishing ainda é possível (via social engineering, malware) ├─ Device-bound não é bulletproof (mobile OS vulnerabilities existem) ├─ Recovery mecanismos (backup codes, fallback auth) = weak point ├─ UX confusing (users don't understand) └─ → TECHNICAL GAPS

CONSEQUÊNCIA: ├─ Empresa implementa passkeys ("somos modernos, seguro") ├─ Clientes acham falso senso de segurança ├─ Vulnerabilidades exploradas (inevitavelmente) ├─ Breach acontece (despite "secure passkeys") ├─ Customers: "Você disse era seguro!" ├─ Legal: "Você negligenciou implementação segura" ├─ Compliance: "Passkeys-only não passa em audit" └─ RESULTADO: Lawsuits + regulatory fines + brand damage

YOUR AGENTE RISK: ├─ If using passkeys: You're exposed ├─ If marketing "passkeys" as secure: False advertising risk ├─ If customers trust passkeys: Ethical breach when compromised ├─ If regulatory audit: "Why passkeys-only? Where's defense in depth?" └─ BOTTOM LINE: Passkeys-only = liability, not security

Mensagem crítica: Passkeys não são "solução de segurança" (são um mecanismo). Marketing positioning como "super-seguro" é enganoso. Your agente precisa de layered auth (não confiança em uma única tecnologia).


O que são passkeys (e por que a indústria tá pushing)

Passkeys: Definição técnica

TRADICIONAL PASSWORD: ├─ User cria: "minha_senha_123" ├─ Servidor armazena: hash("minha_senha_123") ├─ Login: User envia "minha_senha_123", servidor compara hash ├─ Vulnerabilities: │ ├─ User reusa senhas (password reuse) │ ├─ Senhas fracas (easy to guess) │ ├─ Phishing (usuario envia senha pro attacker) │ ├─ Brute force (tenta muitas senhas) │ └─ Server breach (attacker steals hashes) │ └─ Security: Low (human error, reuse, weak choices)

PASSKEYS (WebAuthn/FIDO2): ├─ User creates: Biometric (fingerprint) OR device PIN ├─ Device stores: Private key (NEVER leaves device) ├─ Server stores: Public key (cannot reverse to private key) ├─ Login: Device signs challenge (proof of possession) │ └─ Server verifies: signature matches public key │ ├─ Advantages (theoretically): │ ├─ No password reuse (different key per service) │ ├─ Phishing-resistant (key never shared, signature proves identity) │ ├─ Biometric-bound (key only unlocked with fingerprint/face) │ ├─ No server-side secrets (public key only, private key is device-only) │ └─ Zero knowledge (server never learns private key) │ └─ Sounds good, right? IT'S NOT.

REAL VULNERABILITIES (GAPS):

  1. BACKUP PASSKEYS (the weakness) ├─ Problem: User loses device (drops phone, laptop stolen) ├─ Solution: "Backup passkey" (cloud backup, fallback code, email) ├─ Reality: Backup = weakest link │ ├─ Cloud backup (Google, Apple stores key) = less secure │ ├─ Fallback codes (printed, emailed) = can be stolen │ ├─ Email recovery (attacker compromises email = owns account) │ └─ Result: Device-bound security is theater (backup breaks it) │ └─ Example attack: ├─ Attacker compromises user's email account ├─ Attacker initiates "Lost device" flow ├─ System sends recovery code to email (attacker reads it) ├─ Attacker creates NEW passkey (using recovery code) ├─ Attacker now owns the account └─ Biometric protection = useless (recovery backdoor exists)

  2. SOCIAL ENGINEERING (still vulnerable) ├─ Problem: "Passkeys are phishing-resistant" ├─ Reality: Social engineering isn't phishing ├─ Attack: │ ├─ Attacker calls user: "Hi, IT support. We need to verify your device." │ ├─ User: "Ok, what do you need?" │ ├─ Attacker: "Press your fingerprint on your phone right now" │ ├─ User (thinking it's IT support): Presses fingerprint │ ├─ User doesn't realize: Signing into attacker's app (not company app) │ ├─ Result: Private key used to sign attacker's request │ └─ Attacker: Now has session token (owns account) │ └─ Lesson: Biometric doesn't protect against human manipulation

  3. DEVICE COMPROMISE (OS vulnerability) ├─ Problem: "Passkeys are device-bound" ├─ Reality: Device OS can be compromised ├─ Scenario: │ ├─ Device has OS vulnerability (Apple iOS, Google Android) │ ├─ Malware installed (user clicks malicious link) │ ├─ Malware runs in background (with device access) │ ├─ Passkey stored in secure enclave (supposed to be protected) │ ├─ Reality: Malware can interact with secure enclave │ │ └─ Not through direct access, but through: app intercept, signature interception, etc │ │ │ └─ Result: Device compromise = passkey compromise │ └─ Historical examples: iOS "secure enclave" exploits (Pegasus, NSO Group)

  4. UX CONFUSION (users don't understand) ├─ Problem: Users don't know what passkey is ├─ Behavior: │ ├─ User loses device │ ├─ "Passkey not available" error │ ├─ User doesn't know what passkey is (or how to recover) │ ├─ User calls support: "I'm locked out!" │ ├─ Support: Must verify identity (adds friction) │ ├─ User: Frustrated (authentication is now LESS convenient) │ └─ User: Abandons app │ └─ Result: Passkeys break UX in recovery scenarios

  5. SYNCING PASSKEYS (cross-device nightmare) ├─ Problem: User has phone + laptop (both need passkey) ├─ Solution: Icloud Keychain, Google Password Manager, etc ├─ Reality: Sync = reduced security │ ├─ Private key now synced across devices (not device-bound anymore) │ ├─ Compromise on one device = all devices compromised │ ├─ Network transfer (sync) = potential interception point │ └─ Cloud storage (iCloud, Google) = third-party access risk │ └─ Result: Device-bound promise = broken (sync requires less security)

  6. FALLBACK AUTH (users revert to weak authentication) ├─ Problem: Passkey unavailable (device lost, sync issue, etc) ├─ Fallback: "Login with email instead" ├─ Reality: Email auth is weaker │ ├─ Email account compromise = account takeover │ ├─ Most users don't use 2FA on email │ ├─ Password reset via email = single point of failure │ └─ Passkey was supposed to AVOID this │ └─ Result: Passkey + fallback = weakest link (fallback) wins

Por que a indústria tá pushing passkeys (e não é por segurança)

OFICIAL NARRATIVE: ├─ "Passkeys are more secure than passwords" ├─ "Eliminates phishing" ├─ "Future of authentication" └─ → This is the marketing story

REAL REASONS (why companies push passkeys):

  1. REDUCE PASSWORD MANAGEMENT COSTS ├─ Cost problem: Supporting passwords is expensive │ ├─ Password reset requests (30% of support tickets) │ ├─ Password complexity requirements (security theater) │ ├─ Password storage + hashing (infrastructure cost) │ ├─ Compliance audits (passwords = regulatory burden) │ └─ Total: R$ 500k-2M/year per company (support + infrastructure) │ ├─ Passkey solution: "Users don't forget passkeys (biometric)" │ └─ Reality: Users still call support (lost device, recovery issues) │ └─ Savings: Reduce password-related support (not eliminate)

  2. PASS COMPLIANCE REQUIREMENTS ├─ Compliance problem: "Passwords don't meet standards (NIST, PCI DSS)" ├─ Passkey solution: "Passkeys are "certified secure" (WebAuthn standard)" ├─ Reality: │ ├─ Compliance care about: MFA, encryption, no reuse │ ├─ Passkeys provide: Device-bound, no reuse, encrypted │ ├─ But: Recovery mechanisms (email, SMS) = weak point │ └─ Audit: "Passkeys + fallback auth = still vulnerable" │ └─ Result: Passkeys = compliance checkbox (not actual security improvement)

  3. MARKETING ADVANTAGE ├─ Market positioning: "We use modern authentication (passkeys)" ├─ Customer perception: "Passkeys = more secure company" ├─ Competitive advantage: "We don't store passwords (safer)" ├─ Reality: Customers don't understand trade-offs └─ Result: Marketing win (not security win)

  4. SHIFT LIABILITY ├─ Traditional passwords: Company liability (if breached) │ └─ "You stored weak hashes" = lawsuit │ ├─ Passkeys: Shared liability (with device OS) │ ├─ Breach: "Device OS was vulnerable" (Apple/Google problem) │ ├─ Company: "We implemented WebAuthn correctly" │ ├─ Lawsuit: Device OS vendor (not company) │ └─ Company: Partially shielded from liability │ └─ Result: Liability shift = financial motivation for passkeys


Seu agente + passkeys: O risco real

Cenário 1: Seu agente usa passkeys-only

SETUP: ├─ Seu agente WhatsApp: Customers login com passkeys ├─ Company messaging: "Secured by passkeys (most secure auth)" ├─ Customer belief: "My account is super safe" └─ Reality: Vulnerabilities exist (invisible to customers)

ATTACK SCENARIO: ├─ Attacker targets high-value customer ├─ Step 1: Compromise customer's email (phishing, data breach) ├─ Step 2: Initiate "Lost device" recovery on your platform ├─ Step 3: System sends recovery link to email (attacker reads it) ├─ Step 4: Attacker resets passkey (creates new one) ├─ Step 5: Attacker owns customer's account │ ├─ Customer discovers later: "My account was hijacked!" ├─ Customer sues: "You said passkeys are secure!" ├─ Your defense: "We implemented WebAuthn correctly" ├─ Lawyer: "But you didn't mention recovery email weakness" ├─ Court: "False advertising. You promised security you didn't deliver." └─ Outcome: Lawsuit + damages + regulatory fines

COMPLIANCE AUDIT: ├─ Auditor: "What's your authentication strategy?" ├─ You: "Passkeys (WebAuthn)" ├─ Auditor: "What about fallback authentication?" ├─ You: "Email-based recovery" ├─ Auditor: "Email account is not covered by passkey security" ├─ Auditor: "You need additional controls: MFA, anomaly detection, etc" ├─ Auditor: "Passkeys-only = insufficient for compliance" └─ Result: Fail audit (need layered auth)

ETHICAL RISK: ├─ Customer: "I use your agente because passkeys are secure" ├─ You: "Yes, passkeys are the most secure" ├─ Reality: Passkeys have gaps (you know this) ├─ Customer: Falsely believes account is secure (due to your marketing) ├─ Compromise happens: Customer blames you ├─ Your position: Weak (you over-promised security) └─ Result: Ethical breach (misleading customers)

Cenário 2: Seu agente usa passkeys + fallback

BETTER (but still risky): ├─ Setup: Passkeys primary, email fallback ├─ Messaging: "Passkeys + email recovery" ├─ Reality: Email = weakest link │ ├─ Attacker path: │ ├─ Compromise email (easier target) │ ├─ Reset passkey (via email recovery) │ ├─ Own account │ └─ Passkey = useless (fallback broken it) │ ├─ Compliance: "Better (MFA on email fallback)" │ └─ But: Email is still single point of failure │ └─ Risk: Moderate (fallback auth is weakest link)

Cenário 3: Seu agente usa passkeys + MFA + anomaly detection

BEST (true layered auth): ├─ Setup: │ ├─ Primary: Passkeys (WebAuthn) │ ├─ Fallback: Email + TOTP MFA │ ├─ Additional: IP anomaly detection, device fingerprinting, etc │ └─ Monitoring: Unusual activity alerts │ ├─ Attacker path: │ ├─ Compromise email: ✓ │ ├─ Reset passkey: ✓ │ ├─ Access account: ✗ (anomaly detection blocks) │ │ └─ IP location unusual (attacker in different country) │ ├─ MFA required: ✓ │ └─ TOTP code needed (customer gets SMS alert) │ ├─ Customer response: │ ├─ "I didn't log in from France" │ ├─ Rejects access │ ├─ Changes password │ ├─ Account secured │ └─ Attack fails │ ├─ Compliance: "Pass audit" ✓ │ └─ Defense in depth (multiple layers) │ └─ Risk: Low (multiple barriers, not single technology)

KEY INSIGHT: ├─ Passkeys alone = false sense of security ├─ Passkeys + fallback = weak (fallback is weak link) ├─ Passkeys + MFA + anomaly detection = real security ├─ True security = layered (not dependent on one technology) └─ Passkeys = one layer (not whole solution)


Como proteger seu agente (recomendações)

Autenticação em camadas (defense in depth)

LAYER 1: PRIMARY AUTHENTICATION ├─ Passkeys (WebAuthn) – good but not perfect ├─ Passwords (if MFA required) – acceptable fallback ├─ OR both available (user choice) └─ Goal: Prevent account takeover via weak auth

LAYER 2: FALLBACK AUTHENTICATION ├─ Email verification (requires MFA on email account) ├─ SMS verification (if available) ├─ Authenticator app (TOTP, Authy) └─ Goal: Secure recovery if primary auth lost

LAYER 3: ANOMALY DETECTION ├─ IP location check (unusual login location = alert) ├─ Device fingerprinting (new device = verification) ├─ Behavior analysis (unusual activity = block) ├─ Time-based analysis (login at weird hours = alert) └─ Goal: Detect suspicious activity (even if auth succeeds)

LAYER 4: MFA ALWAYS ├─ TOTP (Authenticator app) – best ├─ SMS MFA – acceptable (NIST updated guidance) ├─ Email MFA – weak (but better than nothing) ├─ Backup codes – essential (recovery without MFA device) └─ Goal: Even if password compromised, account protected

LAYER 5: MONITORING & RESPONSE ├─ Login alerts (new device, new location, etc) ├─ Session management (old sessions invalidated) ├─ Compromise recovery (immediate account reset if needed) ├─ Customer communication (transparent about risks) └─ Goal: Quick detection + response to breaches

IMPLEMENTATION EXAMPLE (YOUR AGENTE): python def login_flow(email, passkey_or_password): # Layer 1: Primary auth if not authenticate(email, passkey_or_password): return error("Invalid credentials")

  # Layer 2: Fallback check (if needed)
  if lost_device_initiated:
      if not verify_fallback_auth(email):
          return error("Recovery failed")
  
  # Layer 3: Anomaly detection
  ip = get_client_ip()
  device = get_device_fingerprint()
  if is_anomalous(ip, device):
      # Trigger MFA
      send_mfa_challenge(email)
      return challenge_required("MFA needed for unusual login")
  
  # Layer 4: MFA verification
  if not has_mfa_verified():
      send_mfa_code(email)
      return challenge_required("Enter MFA code")
  
  # Layer 5: Session creation + monitoring
  session = create_session(email, ip, device)
  log_login_activity(email, ip, device)  # For monitoring
  
  # Alert customer (transparency)
  send_notification(email, f"Login from {ip}")
  
  return success(session_token)

This is defense in depth (not relying on passkeys alone)

Mensagens de marketing (honestidade é melhor)

DON'T SAY: ├─ "Passkeys are 100% secure" ├─ "Passkeys eliminate phishing entirely" ├─ "No passwords = no vulnerabilities" ├─ "Industry-leading security (passkeys)" └─ → These are FALSE and expose you legally

DO SAY: ├─ "We use WebAuthn (passkeys) for authentication" ├─ "Combined with MFA, anomaly detection, and monitoring" ├─ "We take security seriously (layered approach)" ├─ "No single technology is perfect (defense in depth)" ├─ "We continuously improve security posture" └─ → These are TRUE and protect you legally

TRANSPARENCY: ├─ Document your auth architecture (white paper) ├─ Explain passkey benefits + limitations ├─ Show defense-in-depth approach ├─ Publish security practices (builds trust) ├─ Incident response plan (if breach happens) └─ → Transparency = legal protection + customer trust


Conclusão: Passkeys são parte da solução, não a solução

Fatos:

✓ Passkeys = good authentication mechanism (not perfect) ✓ Industry marketing "passkeys are super-secure" = misleading ✓ Passkeys-only = false sense of security + legal risk ✓ Recovery mechanisms (email, SMS) = weakest links ✓ Social engineering + device compromise = passkeys vulnerable ✓ Layered authentication = real security (passkeys + MFA + anomaly detection) ✓ Transparency = legal protection (don't over-promise) ✓ Compliance requires defense in depth (not single technology) ✓ Message: "Passkeys are good, but not magic. Implement correctly."

ACTION ITEMS (THIS WEEK):

  1. TODAY: Audit your agente's auth system (passkeys-only?)
  2. TODAY: Review customer messaging (over-promising security?)
  3. THIS WEEK: Plan MFA implementation (if not present)
  4. THIS WEEK: Add anomaly detection (if not present)
  5. NEXT WEEK: Review fallback auth (email is weak link?)
  6. NEXT WEEK: Implement device fingerprinting
  7. WEEK 3: Setup login monitoring (unusual activity)
  8. WEEK 3: Create incident response plan
  9. WEEK 4: Update privacy policy (transparency about risks)
  10. MONTH 2: Audit with external security firm

Problema resolvido quando: └─ Agente tem layered auth (not passkeys-only) └─ MFA implementado (TOTP primary, SMS fallback) └─ Anomaly detection rodando (IP, device, behavior) └─ Messaging honest (not over-promising) └─ Compliance audit passed (defense in depth) └─ Customer trust (know security is serious, realistic) └─ Legal protected (not exposed to misleading claims) └─ Result: Secure agente (real security, not theater)

→ OpenClaw: Autenticação Segura (Passkeys + MFA + Anomaly Detection)

Passkeys são marketing (não magic). Seu agente precisa: Passkeys (primary) + MFA (fallback) + Anomaly detection (monitoring) + Transparency (honest messaging). Defense in depth = real security. Passkeys-only = litigation waiting to happen. 🔐⚠️


Publicado em 12 de outubro de 2026

Leia também