Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

pico-bay

Latest version: v0.9.52

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: ctrlpi
10 Stars
0 Forks
5 Versions
1.1K Downloads
JavaScript Repo language

Scan summary

pico-bay was last scanned on 30 Nov 2026 at version 0.9.52. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions; the latest was published on 30 Nov 2026.
  • Findings: No rules fired in version 0.9.52.
  • Downloads: 1,125 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.9.52 LATEST 30 Nov 2026 No rules fired
0.9.50 23 Nov 2026 No rules fired
0.9.40 16 Nov 2026 No rules fired
0.0.1 16 Nov 2026 Not shown
0.0.0-stage 16 Nov 2026 Not shown

No rules fired in 0.9.52

Findings

Findings for v0.9.52. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.9.52; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Pico Bay

Platform: Cross-Platform Version 0.9.52 Node 20+ Protocol: MCP Tools: 14 License: MIT Status: Beta Build Status

pico-bay is an App and MCP Server for managing Raspberry Pi Pico and ESP32 boards with MicroPython and CircuitPython over USB. It runs with Node.js built-in modules and needs no browser extension or runtime npm dependencies.

Quick start

Requires Node.js 20 or newer.

npx pico-bay

Your browser will open automatically! If it doesn't, head to http://localhost:7426. On a Raspberry Pi, open http://PI_HOST_ADDR:7426 from another device on the same network, replacing PI_HOST_ADDR with the Pi's IP address or hostname.

From source: git clone https://github.com/ctrlpi/pico-bay.git, then npm start in the folder.

Port 7426 spells PICO on a phone keypad, a nod to the T9 years and flip-phone era.

Devices

  • Supports Raspberry Pi Pico and ESP32 boards with MicroPython or CircuitPython, including Pico, Pico W, Pico 2, Pico 2 W, ESP32, ESP32-S2, ESP32-C3, ESP32-C6, and ESP32-S3.
  • Detects multiple connected boards and follows USB hot-plug events.
  • Detects MicroPython or CircuitPython automatically, including whether its filesystem is read-only or writable.
  • Detects RP2040 and RP2350 BOOTSEL mode and installs the latest MicroPython firmware for the selected Pico model.
  • Detects Espressif ROM download mode over USB serial, shows the detected chip details, and installs the latest generic MicroPython firmware on supported ESP32 chips.
  • Shows Flash and RAM usage for each board.
  • Supports soft reset, hard reset, Ctrl-C interruption, and filesystem cleanup.

Files

  • Browses the complete filesystem as a searchable, collapsible tree.
  • Shows file sizes and modification times when the board provides them.
  • Creates, renames, moves, uploads, downloads, and recursively deletes files and folders.
  • Opens text files with Python and JSON highlighting.
  • Renders a safe Markdown preview without executing embedded HTML.
  • Detects binary files and offers them for download instead of displaying them as text.
  • Downloads and restores the complete filesystem as a standard ZIP archive.

Run and console

  • Runs any Python file as __main__ without replacing main.py.
  • Streams program and boot output to a live console.
  • Accepts console input and can interrupt a running program with Ctrl-C.

MCP server

pico-bay includes a dependency-free Model Context Protocol server, enabled by default on Raspberry Pi hosts. On macOS and other non-Pi hosts, enable MCP in the user interface or with --mcp stdio or --mcp http.

Claude Desktop and Claude Code

In Claude Desktop, open Plugins in the sidebar, choose Add > Add marketplace and enter:

ctrlpi/claude-plugins

The marketplace appears as ctrlpi; install pico-bay from it. The plugin runs pico-bay over stdio, with no web interface until you ask Claude to open it.

In Claude Code, run /plugin marketplace add ctrlpi/claude-plugins, then /plugin install pico-bay@ctrlpi.

MCP tools
Tool Purpose
pico_boards_list List connected boards, stable board IDs, firmware details, and capabilities.
pico_files_list List the board filesystem and report Flash and RAM usage.
pico_file_read Read a text or binary file using UTF-8 or base64.
pico_file_write Create or overwrite a UTF-8 or base64 file, up to 8 MB decoded.
pico_directory_create Create a directory.
pico_path_rename Rename or move a file or directory.
pico_path_delete Permanently delete a file or recursively delete a directory.
pico_python_run Run a file as __main__ or execute Python code and return its output.
pico_board_interrupt Send Ctrl-C to interrupt a running program.
pico_board_reset Soft-reset a board or request a supported hard reset.
pico_board_bootloader Put a board into BOOTSEL or ESP32 download mode for pico_install.
pico_ctrlpi_install Install or update the ctrlPi API agent on a Pico W, Pico 2 W, ESP32, ESP32-S3, ESP32-C3 or ESP32-C6.
pico_ui Open the web UI in the browser, or return its address when pico-bay runs on another computer. action: "stop" stops it.
pico_install Check and install MicroPython on a Pico in BOOTSEL mode or a supported ESP32 in DOWNLOAD mode.

Call pico_boards_list first, then pass its board_id to board-specific tools. ZIP backup/restore, live console streaming, and Delete all files are intentionally not exposed through MCP.

Install & run on a Raspberry Pi or another machine

Start it there:

npx pico-bay

A Raspberry Pi serves MCP on the network by default; on another computer, add --mcp http --host 0.0.0.0.

On the desktop, install ctrlpi-remote from the ctrlpi/claude-plugins marketplace, or add ctrlpi-remote to any MCP client:

{
  "mcpServers": {
    "pico-bay-remote": { "command": "npx", "args": ["-y", "ctrlpi-remote", "pico-bay"] }
  }
}

ctrlpi-remote finds pico-bay on your network and claims its key the first time. Nothing else to set.

To keep it running, use PM2 or a similar process manager.

pm2 start npx --name pico-bay -- -y pico-bay && pm2 save

Key, no TLS: /mcp accepts only the claimed key, and the first caller to connect with a key of its own claims it, so claim it right after you start the server. The key is saved in ~/.ctrlpi/pico-bay-config.json on the remote machine (delete mcp.api_key there to reset). The web interface has no key: disable it with --ui off, so nothing answers without the key. Plain HTTP: trusted networks only.

The server supports MCP revision 2026-07-28 and the legacy initialize flow through 2025-03-26. It uses plain JSON responses rather than SSE because it does not send server-initiated messages.

You can also use it with mcp-remote from any client that only speaks stdio: npx -y mcp-remote http://<host>:7426/mcp --allow-http --header "Api-Key:<your-mcp-key>". Unlike ctrlpi-remote, it does not find the server or claim its key for you.

Installing the ctrlPi API

On a board running MicroPython, Install ctrlPi API in the top-right menu turns it into a ctrlPi agent:

Board Agent Files downloaded from GitHub
Pico W, Pico 2 W pico-gpio-api app.mpy, upgrader.mpy, main.py
ESP32, ESP32-S3, ESP32-C3, ESP32-C6 esp32-gpio-api app.mpy, boot.py, upgrader.mpy, main.py

app.mpy is the agent, precompiled, upgrader.mpy runs its over-the-air /upgrade, and main.py loads one of them. Fill in the WiFi SSID and password, and optionally an API key and an agent name; pico-bay downloads the latest files, checks them, writes them (main.py last) together with config.json, wifi.txt and a sample scripts/cpu-temp.py sensor for that board, and resets it. The menu item is greyed out on other boards (a Pico without WiFi, or CircuitPython).

On a board that already runs the agent, the form is filled in from its current files, and its existing settings (pins, sensors, bridges) are kept: only the key and name are replaced, and an existing cpu-temp.py is left alone. A blank name keeps the agent's own default, pico-<serial4> or esp32-<serial4>. A blank API key keeps the board's own key, or uses the default your-secret-key on a board without one: that key is public, so change it before relying on the agent.

Installing MicroPython in BOOTSEL mode

On a Pico running MicroPython or CircuitPython, select Reboot to BOOTSEL from the top-right menu and confirm. To enter manually, disconnect the board, hold its BOOTSEL button, and reconnect USB while continuing to hold it. Keep holding for 3 seconds, then release. pico-bay shows the RP2040 or RP2350 boot device as a red pill. Select it and choose if this is a W model (with Wi-Fi) or not, as it is not autodetectable. To cancel before installing firmware, unplug USB and plug it back in without holding any buttons.

pico-bay confirms the operation, downloads the latest matching MicroPython UF2 from micropython.org, validates it, and copies it to the boot volume. The screen reports the download, validation, installation, and reboot stages. Keep the board connected during installation. It reboots automatically and then appears as a normal MicroPython device.

ESP32 download mode

Select Enter download mode… from the top-right menu and confirm. For manual entry, hold BOOT/IO0, press and release RESET / EN, and keep holding BOOT/IO0 for 3 seconds, then release. Alternatively, unplug USB and hold BOOT/IO0. Plug the USB cable back in while continuing to hold BOOT/IO0. Keep holding for 3 seconds, then release. Click Scan in pico-bay, then select the red DOWNLOAD pill to see the detected chip and security details. To cancel before installing firmware, unplug USB and plug it back in without holding any buttons.

Select Install MicroPython to download, validate, install, and verify the latest official generic build. Erase and initialize storage is selected by default and runs after firmware verification, before reboot; uncheck it to preserve existing files. The screen shows each stage and the write progress percentage. Installation uses the ESP32 ROM without extra dependencies and is disabled when the chip is unsupported, unidentified, or protected by flash security.

Requirements

  • Node.js 20 or newer.
  • macOS, Windows, Linux or Raspberry Pi OS.
  • A USB-connected Raspberry Pi Pico or ESP32 board running MicroPython or CircuitPython, or a supported board in bootloader mode.
  • Permission to open the board's serial device.
  • On Windows, the .NET Framework v4 C# compiler (csc.exe) is required to build the serial helper automatically at startup.
  • For ESP32 on Windows, the appropriate serial driver installed (see Troubleshooting).
  • For ESP32 resets and download mode on macOS and Linux, Perl or Python 3 (standard library only), which drives the DTR and RTS lines.

Options

pico-bay [--port PORT] [--host ADDRESS] [--allow-host NAME] [--hold MILLISECONDS] [--no-open] [--ui on|off] [--mcp off|http|stdio] [--config PATH] [--help] [--version]

No environment variables are required: each one in the table is an optional alternative to its flag. Command-line values take precedence over environment variables. Boolean environment variables accept true or false, and 1 or 0.

Running on a Raspberry Pi

On Linux, pico-bay checks /proc/device-tree/model. When the host is a Raspberry Pi, it listens on 0.0.0.0 by default so another computer on the same network can open it. It does not try to launch a browser on the Pi itself, and Streamable HTTP MCP is enabled at /mcp by default. Start with --mcp off to disable MCP while keeping the web interface available.

Several USB-connected boards may require a powered USB hub and a reliable Raspberry Pi power supply. MicroPython usually uses slightly less power because it exposes only serial; CircuitPython also exposes storage and HID. After an undervoltage event, pico-bay warns that USB may have stopped; fix the power issue and reboot the Pi.

Raspberry Pi OS Lite and other headless installations commonly detect CircuitPython USB storage without mounting it. When udisksctl is available, pico-bay automatically mounts unmounted VFAT partitions labeled CIRCUITPY as the current user, then matches each volume to its board through boot_out.txt. If mounting is unavailable or denied, it falls back to serial access.

BOOTSEL storage may also be detected without being mounted. pico-bay attempts to mount it with udisksctl; if Raspberry Pi OS requires permission, the installation screen shows the command to run on the Pi and a Proceed button to retry afterward.

Only expose pico-bay on a trusted network. It has no login and can modify or erase files on connected boards.

Board access

pico-bay uses the firmware's raw REPL for serial operations. A serial file or board operation briefly interrupts the running program, performs the requested work, and then soft-resets the board so its normal program resumes. Related operations share a short session controlled by --hold; use --hold 0 to release the board after every operation. Toolbar file execution and interactive console commands are available with either firmware.

Reads, writes, uploads, and downloads are binary-safe.

For CircuitPython, pico-bay matches each CIRCUITPY volume by hardware UID. It uses the mounted volume for faster file access when available and serial otherwise. The UI shows read-only only when neither route can write.

When pico-bay stops, it attempts to reset any open board so it is not left halted. Files written to Flash remain after reset; in-memory state does not.

Backups

Download ZIP creates a standard archive of all board files. Restore recreates its files and folders, overwrites matching paths, and leaves other board files untouched. Keep a separate copy of important files before restoring or using Delete all files.

Security

pico-bay can run code, overwrite files, reset a board, and erase its filesystem. It is intended for a trusted local workstation.

  • The server listens on 127.0.0.1 by default, or 0.0.0.0 when the host is a Raspberry Pi.
  • Requests must be addressed to an IP address, localhost, the machine's own name (or <name>.local), or a name given with --allow-host. Any other name gets 403, which blocks DNS rebinding: a web page cannot point its own domain at your machine and drive pico-bay through it.
  • State-changing requests require the expected HTTP method and same-origin access.
  • Device paths reject invalid or traversing path segments.
  • The app has no authentication, TLS, authorization, or multi-user isolation.

Do not expose it to an untrusted network.

Troubleshooting

No board appears

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm pico-bay

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229