Scan your whole stack
From OX Research Newsroom
Are you using openmsg?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.9.1
openmsg was last scanned on 23 Nov 2026 at version 0.9.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.9.1 LATEST | 23 Nov 2026 | No rules fired |
| 0.9.0 | 23 Nov 2026 | No rules fired |
| 0.8.2 | 23 Nov 2026 | No rules fired |
| 0.8.1 | 22 Nov 2026 | Not shown |
| 0.8.0 | 22 Nov 2026 | Not shown |
Findings for v0.9.1. 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.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Messages between AI coding agents of different vendors, on one machine or between two people.
A Claude Code session can send a message to a Codex session. An OpenCode session can answer a Claude Code session. The message goes into the session that already runs, with its context, and not into a new process.
Two people who work on one project can do the same across their machines. Those messages are sealed end to end, and the server that carries them cannot read one.
Status: version 0.2 is on npm. Version 0.1, between the agents of one person, works and is tested with live sessions. Version 0.2, between two people, passes the fourteen acceptance cases of its specification, and the live tests on one machine. No team has run it across the internet yet.
Each vendor has its own way to accept a message while it runs. openmsg uses that native way, and gives all of them one command:
openmsg list # the agents that run now, and the work of each
openmsg note "<text>" # tell the other agents what this one does
openmsg send <agent> "<text>" # deliver a message now
openmsg inbox # the messages for this agent
openmsg whoami # how other agents address this one
An address is <vendor>:<name>, for example claude:api-worker.
| Vendor | How openmsg delivers the message | State |
|---|---|---|
| Claude Code | The inbox socket of the session | Works, tested live |
| Codex | codex queue on the shared app-server daemon |
Works, tested live |
| OpenCode | 2.x: POST /api/session/{id}/prompt on the shared service, with the password from ~/.local/state/opencode/service.json. 1.x: POST /session/{id}/prompt_async |
Works both ways, tested live with 2.2.6 |
| Cursor CLI | A hook reads the mailbox at the end of each turn | Written, tested with fixtures. A live test needs CURSOR_API_KEY |
| Gemini CLI | The same hook, as an AfterAgent deny | Written, tested with fixtures. Gemini CLI is not installed here |
Antigravity CLI (agy) |
A Stop hook in ~/.gemini/config/hooks.json that continues the turn with the message. Discovery reads the presence files that a live session holds open |
Written, tested with fixtures. A live test is next |
| An agent that wakes on an HTTP request | openmsg webhook add <name> <url>. The request carries a notice with no text of the sender, and the agent reads the message with openmsg inbox |
Works, tested live with a hosted bot on its own machine, through a relay on a private network |
| A chat product that takes an MCP connector | openmsg mcp add <name>, and openmsg mcp serve --as <name> as the server. Nothing wakes the agent: it reads its mailbox with a tool, and the tool can wait 45 seconds for an answer |
Works, tested live with three chat products: ChatGPT through a tunnel of its vendor, Claude on the web over HTTP behind a token, and Gemini on the web over HTTP with OAuth |
| Other agents | tmux send-keys |
Not started |
A reply is a new message. The receiving agent answers with openmsg send. No
program reads the screen of another program.
Gemini on the web can send work to your Claude Code and Codex sessions, and wait for the answer in the same turn. You do not ask it to check again.
Name Gemini as an MCP agent, and give the addresses that it can write to:
openmsg mcp add gemini --allow "claude:*" --allow "codex:*"
Start its server on the loopback address, on a random path, with OAuth. Gemini takes no fixed token, so it needs OAuth:
P=/$(openssl rand -hex 16)
openmsg mcp serve --as gemini --http --port 7813 --path "$P" \
--oauth --public-url "https://<your-host>$P"
Give the port to the internet with TLS, for example with Tailscale Funnel:
tailscale funnel --bg 7813
Gemini also reads the OAuth discovery paths under /.well-known/, so the
proxy must give the root of the port, not only the path.
In Gemini, add a custom connector with the URL https://<your-host>$P.
The approval page asks for a secret. The secret is in
~/.openmsg/mcp-gemini.token.
In the settings of the connector, set the tools to "always allowed".
Then write in a new chat:
@Openmsg send to claude:api-worker "run the tests and tell me the result"
What happens:
read_inbox with
wait_seconds 45.read_inbox returns when the answer arrives, or after 45 seconds.Limits:
@Openmsg. Without it, Gemini sometimes answers
from its memory and does not call the tool.A program with no session, such as a scheduled check, can send to a directory:
OPENMSG_SELF=cron:memcheck openmsg send project:~/dev/app "<text>" --key leak
openmsg clear project:~/dev/app --key leak # the fault is gone
openmsg waiting # the messages that wait
If a Claude Code session runs in that directory, or in a directory inside it,
it gets the message now. If no session runs, the message waits on disk. The
next session in that directory gets it one time, through a SessionStart
hook. A message with the same --key replaces the one that waits, so a daily
check keeps one message. A message expires after 30 days.
Version 0.2 adds one more step: an address with an owner, such as
claude:api-worker@alice.
openmsg id create --label alice # a signing key and a sealing key
openmsg invite create --project web # a token for the other person
openmsg invite accept <token> --fingerprint "A1B2 ..."
openmsg publish claude:api-worker # let the project reach this session
openmsg gateway start --relay <url> # the one process that the network reaches
openmsg send claude:reviewer@bob "the migration drops a column"
What holds:
openmsg publish, and only in the project that the owner names.openmsg accept. Membership of a project is not
permission to write into a session.openmsg relay allow <owner-id>. Without a list, any
owner that finds the address of the relay can connect, and the secret
address is the only bound. The relay calls a wake address only on the
public internet.The states of a message are queued, held, adapter-accepted,
agent-acknowledged, replied, refused, and expired. A write to a socket
is not a read by a model: only an event from the agent gives
agent-acknowledged.
The envelope uses the field names of the A2A standard (messageId, contextId,
parts, role). The same message can travel over A2A on HTTP later, between
two machines.
Each delivered message carries a header that names the sender. The text tells the receiving model that the message is from another agent, and that it approves nothing. Each message keeps a list of the agents that it passed through, so a loop between two agents stops.
npx openmsg list
Or from the source:
git clone https://github.com/marciob/openmsg.git && cd openmsg
node src/cli.mjs list
Node 22 or later. No dependencies, and none for the relay either: the
WebSocket of src/wsframe.mjs is both sides of RFC 6455 in one small file.
Run the tests with node --test. 105 of them, and they need no account:
they run two gateways and a relay on this machine, as two people.
An agent with no push entry point needs its hook. Claude Code needs its hook for a message to a directory:
openmsg install --hooks
EPERM: operation not permitted on macOSThe symptoms:
openmsg list or openmsg send stops with EPERM: operation not permitted, open '.../src/cli.mjs'.Hook failed: hook exited with code 126.The cause: macOS protects ~/Desktop, ~/Documents, and ~/Downloads. A
program in a terminal gets access to these folders through the terminal app.
When the terminal app loses this access, every agent in that terminal loses it
too. An update of the terminal app can cause this. On 2026-10-22, an update of
Cursor caused it on one Mac. The sandbox of the agent is not the cause.
To find the process that macOS blocks:
log show --last 10m --predicate 'eventMessage CONTAINS "System Policy"' | grep deny
To correct the fault:
Until you do this, an agent in that terminal still receives a message, because the entry point of each vendor is outside these folders. The agent cannot send a message.
research/2026-09-19-transport-research.md
is the work that produced this design. It tests every way one program can put a message into a running
agent: typing into the terminal of another program, the native entry point of
each vendor, subprocess calls, mailboxes, A2A, and ACP. Each claim carries a
label: [local] for a fact that a test on one Mac verified, [docs] for a
fact from the vendor, and [not verified] for a fact from a source without a
test.
The short answer: typing into a terminal is possible and bad, and each of the four main agents has an official way to take a message while it runs.
spec/openmsg-0.1.md:
the protocol for the agents of one person on one machine.spec/openmsg-0.2-draft.md:
the agents of different people on one project. The identity of an owner,
the sealed envelope, the gateway, the relay, the seven states of a message,
and the trust rules. Every rule of 0.1 still holds.The code implements both, and the fourteen acceptance cases of section 11 of 0.2 pass as tests.
MIT
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.