An AI code review extension installed more than 950,000 times has been quietly running a web server on developers’ laptops that anyone who finds it can command. The researchers who found it waited 177 days for the vendor to answer. It never did, and as of today there is still no fix.
The Bito extension vulnerability is a chain of four flaws in Bito AI Code Reviews (Marketplace ID Bito.Bito) for Visual Studio Code and Cursor, versions 1.6.8 and 1.7.0. It was first reported publicly on 3 December 2026 by Akamai, whose LayerX team found that the extension’s local server needs no login, accepts requests from any website, and lets a caller read files, overwrite files and run shell commands as the developer. Bito has not responded, no CVE exists, and 1.7.0 is still the newest version.
- What is the Bito extension vulnerability?
- Who found it and how was it disclosed?
- How does the attack work?
- Who can reach the Bito port?
- Who is affected and how do you check?
- How do you detect abuse?
- What should you do now?
- How does this compare to other developer tool flaws?
- Why random ports and localhost are not a defence
- What is still unknown?
- The bottom line
- Sources
What is the Bito extension vulnerability?
Bito is an AI-powered code review assistant that runs inside the editor, offering automated reviews, chat and suggestions about your code. Its VS Code extension, published by Bito, is called Bito AI Code Reviews. The VS Code Marketplace API listed 955,493 installs on 4 December 2026; Akamai’s post, written a day earlier, says more than 952,000.
On startup, the extension opens a local HTTP server so its components can talk to each other. Akamai’s researcher Aviad Gispan found four problems with that server:
- It has no authentication. Any caller that can reach it is trusted.
- It sends a wildcard CORS header. CORS (Cross-Origin Resource Sharing) is the browser rule that decides which websites may read a response from another origin; a wildcard means every website may.
- Two file endpoints do not sanitise paths, a flaw called path traversal, so a caller can step outside the extension’s own folder and reach any file the user can.
- A code review endpoint passes a commit identifier into a shell command without checking it, a flaw called command injection.
Chained together, Akamai says, these let an attacker steal source code, API keys, SSH private keys and the Bito session token, change files, and run commands with the developer’s privileges.
Who found it and how was it disclosed?
The research came from LayerX, a browser security company that is now part of Akamai. The write-up was published on Akamai’s security research blog on 3 December 2026, and SecurityWeek included it in its weekly roundup on 4 December.
The disclosure timeline is the part of this story that should worry Bito customers most:
| Date | Event (per Akamai) |
|---|---|
| 1 June 2026 | LayerX asks Bito support for a security contact; Bito asks for findings by its normal support email |
| 9 June 2026 | Full technical report sent, covering the exploit chain and fixes |
| 28 June 2026 | Follow-up gets only an automated acknowledgment |
| 12 August 2026 | Version 1.7.0 appears as the latest Marketplace update (Marketplace API) |
| 27 August 2026 | LayerX warns that the 90-day window closes on 7 September |
| 3 December 2026 | Akamai publishes, 177 days after the report, with no reply and no CVE |
Akamai says it followed a standard 90-day coordinated disclosure process and then gave Bito almost three more months. The August release did not fix the problem: Akamai confirmed the flaws in 1.7.0, which it calls the latest release.
How does the attack work?
This section describes the chain at the level defenders need to understand it. Akamai’s post has the full technical detail; there is no working exploit here.
Step 1: finding the local server
The extension binds its server to port 0, which tells the operating system to pick a free ephemeral port. Akamai lists the usual ranges as 49152 to 65535 on Windows and macOS, and 32768 to 60999 on Linux. That is about 16,000 and 28,000 ports respectively.
Random ports sound like protection, but they are not. Akamai says a short script that sends parallel requests across the range, with short timeouts, typically finds the active server within a few seconds. Closed ports refuse fast, so the scan is cheap.
Step 2: mapping the workspace
The first useful endpoint, /get-directory, returns details of the open workspace: local paths, repository names and folder structure. For an attacker, this is reconnaissance, telling them where the valuable files are.
Step 3: reading and writing any file
Two endpoints, /read-file-common and /write-file-common, are meant to work inside a hidden .bito folder. Because the path is not checked, a caller can escape that folder and read or overwrite anything the developer’s account can.
Reading gives up source code, API keys and SSH private keys. It also exposes Bito’s own profile file, which holds the developer’s Bito token, user ID, email and organisation details. Akamai notes the file moved from profile/currentUserProfile.json to profile/profiles.json in 1.7.0.
Writing is dangerous even without the last step. Akamai points out that an attacker could plant code in shell startup files or Git hooks, scripts that run automatically when a terminal opens or a commit is made.
Step 4: running commands
The /execute-code-review-agent endpoint takes commit identifiers and passes them to shell commands without validation. A crafted value turns into command execution as the developer. Akamai says it confirmed this end to end.
Who can reach the Bito port?
The key question for risk is who can talk to 127.0.0.1 on a developer’s machine. Akamai names three paths.
A malicious website
Because of the wildcard CORS header, a web page can read the server’s responses and send the JSON requests the endpoints expect. Akamai says the server answers browser preflight checks for any origin, so even a POST with a JSON body gets through.
Chrome has a partial defence. Starting with Chrome 142, Local Network Access (LNA) prompts the user before a public website can reach services on the device, including localhost. Akamai says this reduces the risk but does not remove it: developers may click allow, Chrome remembers the decision per site, and a cross-site scripting flaw on an approved site inherits that access without a new prompt.
A browser extension
This is the quieter path. In Akamai’s testing on Chrome 156, an extension with no permissions at all was exempt from LNA checks and could query loopback addresses silently. A free extension that looks harmless would be enough.
A local process
Anything already running on the machine can connect directly, with no CORS or browser checks at all. Akamai’s example is a compromised npm or PyPI package running an install script. That links this flaw to the steady stream of poisoned packages, such as the DevGating PyPI packages keyed to your code.
Who is affected and how do you check?
Anyone running Bito AI Code Reviews in VS Code or Cursor should assume they are affected. Akamai confirmed versions 1.6.8 and 1.7.0, and the Marketplace showed no newer version on 4 December 2026.
To check a VS Code machine, list installed extensions with versions and look for Bito.Bito:
code --list-extensions --show-versions
In Cursor, search the Extensions panel for Bito. For a fleet, an endpoint management tool that inventories editor extensions will find it faster than asking developers.
Akamai’s research does not cover Bito’s separate plugin for JetBrains IDEs, so there is no evidence either way on that product. The credentials at risk are anything in workspaces opened while the extension ran, plus files elsewhere that the developer’s account can read, such as SSH keys in the home folder.
How do you detect abuse?
Akamai published no indicators of compromise and no MITRE ATT&CK mapping, because no exploitation has been reported. Detection therefore means looking for the behaviour the chain would produce.
Listening ports
Akamai suggests listing listening ports and checking any editor or extension process bound to loopback. On macOS and Linux that is lsof with the listen filter; on Windows, netstat -ano. A VS Code or Cursor extension host listening on a high port is expected while Bito runs, which is exactly the exposure.
Process behaviour
The command injection runs commands as children of the editor’s extension host process. On EDR (endpoint detection and response) data, look for VS Code or Cursor spawning shells or Git with unusual arguments, especially around Bito activity, and for network connections to unfamiliar hosts from those children.
File changes
Akamai names the persistence points to check:
- Shell startup files (for example .bashrc, .zshrc or a PowerShell profile) changed recently without a reason.
- Git hooks inside .git/hooks in workspaces opened while Bito ran.
- Recently modified files in those workspaces that nobody remembers editing.
- Reads of the Bito profile file by anything other than the extension.
Browser side
Web proxies and browser telemetry can show pages or extensions making many rapid requests to 127.0.0.1 across high ports, the signature of the port scan in step 1.
What should you do now?
Here are the steps in order of priority, based on Akamai’s recommendations.
- Disable or uninstall Bito in VS Code and Cursor until a fixed version is released. This removes the listening server.
- Ask Bito support to revoke existing tokens. Signing out did not invalidate a stolen token in Akamai’s tests.
- Rotate SSH keys and API keys stored in workspaces opened while the extension was running, and any cloud or registry tokens in the home folder.
- Check for tampering in shell startup files, Git hooks and recently modified workspace files.
- Audit other extensions. Remove unused or unmaintained IDE and browser extensions, and list loopback listeners from editor processes.
- Keep Chrome current so Local Network Access prompts apply, and treat allow prompts for localhost access as a security decision.
- Watch for a Bito release and read its notes before re-enabling the extension.
For teams that build extensions, Akamai’s guidance is to avoid network listeners in favour of the editor’s own messaging APIs, or a named pipe or Unix socket restricted to the current user. If a local endpoint is unavoidable, require a random token created at startup, allowlist origins, validate identifiers such as commit hashes strictly, resolve file paths before use, and run commands without a shell, passing input as separate arguments.
How does this compare to other developer tool flaws?
Bito is part of a run of security problems in AI developer tools this autumn. The details differ, but the pattern is the same: a tool trusted with the code and the keys is reachable by someone it should not trust.
| Tool | Problem | Who can trigger it | Fix status |
|---|---|---|---|
| Bito AI Code Reviews 1.6.8, 1.7.0 | Unauthenticated local server, path traversal, command injection | Web page, browser extension or local process that finds the port | No fix, no CVE (Akamai) |
| Gemini CLI triage workflows, CVE-2026-85259 | CVSS 10 flaw in automated GitHub issue triage | Anyone who can open an issue on a public repo using the workflow | Fixed in May; copied workflows must be updated (SecurityWeek) |
| Docker Sandboxes | Bug that could leak AI API keys through malicious updates | A malicious update | Reported 1 December (BleepingComputer) |
The Gemini CLI case, covered in our Gemini CLI CVE-2026-85259 explainer, at least had a fix to apply. The Docker Sandboxes credential leak also targeted the keys developers hand to AI tools. Bito is worse on one measure: the vendor has not engaged at all. For another view of how developer secrets leak through AI coding tools, see the Claude Code secrets leak.
Why random ports and localhost are not a defence
Akamai calls this the localhost fallacy: the belief that a service bound to 127.0.0.1 is private. It is only private from other machines. Every web page you open, every browser extension and every package install script runs on the same machine and can try to connect.
Two common assumptions failed here. A random port was found by a scan in seconds, and the browser’s same-origin protection was switched off by the server’s own wildcard CORS header. Chrome’s newer prompt helps, but Akamai’s test shows extensions are outside it.
What is still unknown?
Several questions are open, and the sources do not answer them:
- Bito’s position. Bito has not commented to Akamai, and no statement appears in the coverage. It is unknown whether a fix is in progress.
- Exploitation. No source reports attacks in the wild. That is not proof none happened, since a local server leaves few logs.
- Older versions. Akamai confirmed 1.6.8 and 1.7.0. It does not say when the local server design was introduced.
- The JetBrains plugin. Not covered by the research.
- Install count versus users. 955,493 is a Marketplace install counter, not active users. Cursor installs come from a different registry and are not in that figure.
The bottom line
The Bito extension vulnerability turns an AI code review tool into an open door: any web page, extension or script that finds its local port can read your keys and run commands as you. With no fix and no vendor response after 177 days, the only safe move is to disable Bito, revoke its tokens and rotate the secrets it could see.
Sources
- Akamai: Akamai Finds Bito Flaw That Exposes 950K Installs to Command Execution (3 December 2026)
- SecurityWeek: In Other News: Exploited Veeam Bugs, AI-Assisted Linux Hacking, PLC2Shell Vulnerabilities (4 December 2026)
- Visual Studio Marketplace: Bito AI Code Reviews
- BleepingComputer: Docker Sandboxes bug could leak AI API keys via malicious updates
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.