Sessionboxer

The Bito extension for VS Code and Cursor runs an open local server that any web page or script can find. Akamai chained it to command execution. What to do today

Akamai found that Bito's VS Code and Cursor extension lets web pages and local scripts read files and run commands. How to check, clean up and rotate keys.

Sessionboxer's Code pane with VS Code running inside the box next to the chat, on the workspace the agent edits

You installed Bito to get AI code reviews in your editor before you open a pull request. It sits in VS Code or Cursor and does its job. On December 3, 2026, Akamai published research showing that while it runs, a web page, a browser extension or any script on your machine can use it to read your files, write files and run commands as you.

The post is Akamai Finds Bito Flaw That Exposes 950K Installs to Command Execution, by Aviad Gispan. It confirms the flaws in versions 1.6.8 and 1.7.0 of the extension, and says 1.7.0 is the latest release. Akamai's advice to users is to disable the extension until a fixed version is available. The post names no CVE and no fixed version.

This post explains what Akamai found, what to do on each machine where Bito is installed, and what to look for in your other editor extensions. We make Sessionboxer, which runs VS Code inside a container per session. That comes at the end, with what it does not protect against.

What Akamai found

When the extension starts, it opens an HTTP server on your machine. It asks the operating system for any free port, so the port changes between editor windows but is always in the ephemeral range: 49152 to 65535 on macOS and Windows, 32768 to 60999 on Linux. The server has no login. Its CORS policy is Access-Control-Allow-Origin: *, so a web page on any domain is allowed to read its answers.

A random port is not much of a hiding place. A script can send requests to the whole range in parallel, and closed ports refuse at once. Akamai says a full scan usually finds the Bito server in a few seconds.

Once found, four endpoints with no authentication do the rest:

Endpoint What it gives an attacker
/get-directory The paths and folder layout of your open workspaces
/read-file-common Any file your user can read, through ../ path traversal: source code, API keys, SSH private keys
/write-file-common Any file your user can write, by the same traversal
/execute-code-review-agent Shell commands, because the commit ID it takes goes into a shell command unchecked

Akamai's example for the last one is a commit ID of HEAD && touch ~/Desktop/poc.txt. The file appears, created by your user.

Two details make it worse. The read endpoint also reaches Bito's own profile file, which holds your Bito token, user ID, email and organization. In Akamai's tests, that token kept working after the developer signed out and back in. And the write endpoint alone is enough for a lasting foothold: a line added to your shell start-up file or a Git hook runs the next time you open a terminal or commit.

Who can reach it

Three kinds of code, according to the post.

A web page. Since version 142, Chrome asks before a public site connects to services on your own machine, under a feature called Local Network Access. That helps. Akamai's point is that people who work with local tools click Allow, Chrome remembers the answer per site, and a cross-site scripting bug on a site you allowed inherits the permission.

A browser extension. In Akamai's testing on Chrome 156, an extension with no permissions at all was exempt from those checks and could query loopback addresses without a prompt.

A local process. Nothing in the browser applies here. An install script in a compromised npm or PyPI package can connect to the port like any other program. That case matters more if you run a coding agent on the same machine, because agents run npm install and pip install all day, often without asking you.

Check, disable, clean up

First, find out where Bito is installed. Its extension ID is Bito.Bito, from the Visual Studio Marketplace listing, which showed more than 955,000 installs when we looked.

code --list-extensions --show-versions | grep -i bito
cursor --list-extensions --show-versions | grep -i bito

If it is there, disable it in the Extensions view or remove it:

code --uninstall-extension Bito.Bito
cursor --uninstall-extension Bito.Bito

Close the editor windows afterwards, so no old extension host keeps the server running. Do this on every machine and every editor profile, including the laptop you only open now and then.

Then deal with what may already have leaked. Akamai's list for users:

  1. Ask Bito support to revoke your existing session tokens. Signing out did not do it in Akamai's tests.
  2. Rotate the credentials in any workspace that was open while the extension ran: API keys in .env files, cloud credentials, and SSH keys, since your user can read ~/.ssh.
  3. Look for tampering. Check recently changed files in those workspaces, your shell start-up files and your Git hooks.

For the third step, a quick look:

ls -la ~/.bashrc ~/.zshrc ~/.profile ~/.bash_profile 2>/dev/null
git config --global --get core.hooksPath
ls -la .git/hooks    # in each repository you had open

Anything in .git/hooks that does not end in .sample is a real hook. If you did not put it there, read it before your next commit. Our post on keeping secrets away from your coding agent covers which keys to move out of the places an editor or agent can read.

The same question for every extension

Bito is one case of a common design. An editor extension wants to talk to a helper process or a web view, and the easy way is an HTTP server on 127.0.0.1. Listening on loopback keeps other machines out. It does not keep out the pages your browser opens, the extensions in your browser, or the programs you run. On November 30 we wrote about the same pattern in the Vibe Kanban DNS rebinding flaw, where the local server was a whole agent dashboard.

You can see what listens on your machine:

lsof -iTCP -sTCP:LISTEN -nP     # macOS and Linux
netstat -ano                    # Windows

Editor extensions show up under the editor's helper process, not under their own name, so look for a Code Helper, Cursor Helper or node process with a port in the high range. Open http://127.0.0.1:PORT/ in a private browser window. A tool that answers without asking who you are is relying on nobody finding the port.

Akamai's advice to extension authors is a good checklist for judging the tools you keep: use the editor's own messaging between the extension and its web view instead of a TCP server, require a token generated at start-up if there must be a server, allow only known origins, check commit hashes against a pattern such as ^[0-9a-f]{7,64}$, and run Git without a shell, with --end-of-options before any revision a caller supplied.

Where Sessionboxer fits, and where it does not

In Sessionboxer, the Code pane is VS Code running inside the session's container, using openvscode-server. Extensions come from Open VSX, and Bito is listed there too, at version 1.6.8, one of the versions Akamai tested. If you installed it in a session, the extension host and its server would run in that box, as the box's user, on the box's files.

Each session has its own container on a private Docker network, and on Linux the box publishes no ports on your host. With Docker Desktop or Colima it publishes only its daemon and desktop ports, on 127.0.0.1. A page in your own browser scanning your loopback range would not find an extension server inside a box. Akamai does not say which address the server binds to; if it is all interfaces, a program on your host could still reach it at the box's address on the Docker network. Your SSH keys and shell start-up files are on your machine, outside the box, where a traversal inside the box cannot reach them. The VS Code chapter of the guide explains where the editor's settings and extensions are kept.

That covers less than it sounds. Inside the box, the same flaw would work as well as on a laptop. The agent runs package installs in that box, and any of them could find the port. The box also has a desktop with a browser the agent uses for testing, and a page the agent opens there is on the box's loopback. Whatever the session holds is in reach: the code you cloned, the agent's provider login and any Git login enabled for the session. The agent has sudo in the box, and the box has outbound internet access. Sessionboxer does not review extensions, and Open VSX is a public registry like any other.

The Sessionboxer server itself also listens on 127.0.0.1, on port 4000, and it does require a login: every API call, terminal and desktop connection needs the access token or a device cookie made from it. The remote access chapter says how.

Features mentioned

Keep reading