API key input exposes previously used credentials via Windows autofill #9469

Open
opened 2026-02-16 18:12:31 -05:00 by yindo · 0 comments
Owner

Originally created by @himansharma21 on GitHub (Feb 16, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

The OpenRouter API key field allows Windows/Chromium autofill to display previously saved API keys in plaintext.

Screenshot provided.

Do not think this is supposed to be intended behavior. Note that the autofill also showed API keys for providers other than Openrouter.

Plugins

None

OpenCode version

OpenCode Desktop v1.2.5

Steps to reproduce

  1. Save an API key for Openrouter provider
  2. Disconnect from Openrouter in the providers section
  3. Connect to Openrouter again, it will prompt you for an API key. The textfield will show autofill suggestions for previous API keys

Screenshot and/or share link

The API key field allows Windows/Chromium autofill to display previously saved API keys in plaintext.

Image

Operating System

Windows 11

Terminal

(desktop app)

Originally created by @himansharma21 on GitHub (Feb 16, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description **The OpenRouter API key field allows Windows/Chromium autofill to display previously saved API keys in plaintext.** Screenshot provided. Do not think this is supposed to be intended behavior. Note that the autofill also showed API keys for providers other than Openrouter. ### Plugins None ### OpenCode version OpenCode Desktop v1.2.5 ### Steps to reproduce 1. Save an API key for Openrouter provider 2. Disconnect from Openrouter in the providers section 3. Connect to Openrouter again, it will prompt you for an API key. The textfield will show autofill suggestions for previous API keys ### Screenshot and/or share link The API key field allows Windows/Chromium autofill to display previously saved API keys in plaintext. <img width="969" height="558" alt="Image" src="https://github.com/user-attachments/assets/aa868eaa-fb75-4511-b433-708f188440da" /> ### Operating System Windows 11 ### Terminal (desktop app)
yindo added the windowsbugweb labels 2026-02-16 18:12:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9469