Skip to content

fix: fix security issue in options.js - #10

Open
anupamme wants to merge 1 commit into
Nigel1992:mainfrom
anupamme:fix-repo-autosort-plus-gemini-api-key-url-exposure
Open

anupamme wants to merge 1 commit into
Nigel1992:mainfrom
anupamme:fix-repo-autosort-plus-gemini-api-key-url-exposure

Conversation

@anupamme

@anupamme anupamme commented Sep 5, 2026

Copy link
Copy Markdown

Summary

Fix critical severity security issue in options.js.

Vulnerability

Field Value
ID V-001
Severity CRITICAL
Scanner multi_agent_ai
Rule V-001
File options.js:450
Assessment Likely exploitable

Description: The Gemini API key is appended directly to the URL as a query parameter (?key=${apiKey}) when testing API key validity. This exposes the API key in browser history, server logs, network proxy logs, and referrer headers. Any party with access to these logs or headers can extract the API key.

Evidence

Scanner confirmation: multi_agent_ai rule V-001 flagged this pattern.

Production code: This file is in the production codebase, not test-only code.

Changes

  • options.js

Behavior Preservation

The change is scoped to 1 file on the vulnerable path.


Automated security fix by OrbisAI Security

Automated security fix generated by OrbisAI Security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant