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

Earshot Relay

Latest version: v1.1.3

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
MCP server Transport: Streamable HTTP Publisher: AutomaticAI-io
0 Stars
0 Forks
2 Versions
Python Repo language

Scan summary

Earshot Relay was last scanned on 27 Nov 2026 at version 1.1.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published within 7 days (21–27 Nov 2026).
  • Findings: 1 rule fired in version 1.1.3 (1 medium). The score describes this version only.
  • MCP server: Runs over Streamable HTTP.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.3 LATEST 27 Nov 2026 1 rule fired
1.1.2 21 Nov 2026 Not shown

Rules fired in 1.1.3: 1

Findings

1 Medium

Findings for v1.1.3. 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.

Encoded string decodes to a command or instruction

An encoded string in the package decodes, without being run, to a shell command, a network call, a code-execution call or an instruction aimed at an AI agent. The content was hidden from a plain read of the code. Encoding has legitimate uses, so the decoded content needs review.

MEDIUM
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

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

README

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

earshot-relay

A small self-hosted service that lets scripts, CI jobs and AI agents, including Hermes agents, send speech to your phone. You POST text (or an audio file) to the relay, it drops an object into your own S3-compatible bucket, and the Earshot Android app, when it is listening to that bucket, plays it out loud. The relay also records what the phone reported doing with each message, so you can ask for a receipt.

Put thing in bucket. Hear it on phone. The relay is the "put thing in bucket" part, behind one HTTPS endpoint, a CLI and an MCP server.

Before you start

  • The Earshot app on the phone, already listening to your bucket (the buyer guide covers that). Text messages are spoken by the phone's Android text-to-speech, which needs Earshot 0.1.11 or newer and a TTS voice installed on the phone (Settings, System, Languages, Text-to-speech output). Audio files need neither.
  • Normal channels play at the phone's media volume and wait while the phone is on a call; a message older than the app's freshness limit (30 minutes by default) is reported as missed and not played.
  • A writer key for the same bucket that can PutObject (minimal permissions). Not the phone's key.

Run it

The image is ghcr.io/automaticai-io/earshot-relay (linux/amd64 and linux/arm64, so a Raspberry Pi works):

curl -fsSLO https://raw.githubusercontent.com/AutomaticAI-io/earshot-relay/main/.env.example && mv .env.example .env
docker run --rm ghcr.io/automaticai-io/earshot-relay token    # prints a random token for EARSHOT_RELAY_TOKEN
# fill in .env: the bucket, the writer key and that token
docker run -d --name earshot-relay --restart unless-stopped \
  --env-file .env -p 127.0.0.1:8080:8080 -v earshot-relay-data:/data \
  ghcr.io/automaticai-io/earshot-relay
docker exec earshot-relay earshot-relay doctor     # checks the relay and writes one inert test object

:latest is the newest release, :1 follows 1.x, and :edge is the tip of main. With compose, docker compose up -d uses the same image; docker compose up -d --build builds this checkout instead.

The relay refuses to start while .env still holds the example placeholders or an empty token. Without Docker: uv sync, then uv run earshot-relay serve with the same environment variables (put them in your shell, or set -a; . ./.env; set +a).

60-second demo

export EARSHOT_API_URL=http://127.0.0.1:8080
export EARSHOT_API_TOKEN=...        # the EARSHOT_RELAY_TOKEN you set

curl -fsS -X POST "$EARSHOT_API_URL/v1/messages" \
  -H "Authorization: Bearer $EARSHOT_API_TOKEN" -H "Content-Type: application/json" \
  -d '{"text": "Build finished. All tests passed."}'
# {"id":"msg_...","status":"stored","channel":"phone","key":"phone/....say",...}   <- HTTP 202

202 means the message is stored in the bucket. If the phone is listening, it should speak it within a few seconds. Then ask what the phone did (needs receipts set up):

curl -fsS "$EARSHOT_API_URL/v1/messages/latest?wait=30" -H "Authorization: Bearer $EARSHOT_API_TOKEN"

Nothing played? Check the app's Last 20 items list on the phone (a failed .say row names the cause, such as a missing TTS voice), the media volume, and the receipt's hint.

Or use the CLI. In the container it is already installed (docker exec earshot-relay earshot-relay say "hello"); from a checkout, run it as uv run earshot-relay ..., or install it on your PATH with uv tool install .:

earshot-relay say "Deploy is done"
earshot-relay drop ding.mp3
earshot-relay receipt latest --wait 30     # exit 0 finished, 3 not played on any reporting device, 4 timed out
earshot-relay doctor                       # checks the relay and writes one inert test object

Retrying a send? Pass an Idempotency-Key header (CLI: --idempotency-key): the same key within 24 hours returns the first result instead of playing twice.

What it does

POST /v1/messages Text ({"text": ...}) or an audio file (multipart). Returns 202 once the object is stored in the bucket, or held (status: coalescing) when sent with coalesce_window_s. Optional Idempotency-Key header.
GET /v1/messages/{id} The receipt: stored, detected, started, finished, skipped, failed, missed or unconfirmed, with a timeline. ?wait=30 long-polls.
GET /v1/messages, GET /v1/status Recent messages; relay, bucket and device state.
POST /v1/doctor Checks configuration and the bucket write.
POST /v1/beacons/{token} Where the phone reports what it did. This is what makes receipts possible.
tag, coalesce_window_s, cooldown_s, normalize Hygiene for every sender: strip emoji, markdown and URLs before speaking, merge a burst under one tag into one message, drop repeats, and an optional delivery watchdog that posts a notice when sends get no playback report (docs/hygiene.md).
/compat/... Optional ntfy, Gotify, Pushover and Join request shapes, so existing producers switch by changing a URL (docs/compat.md). Off by default.
/mcp An MCP server over streamable HTTP, same bearer token. A stdio mode is earshot-relay mcp.

The full contract is openapi.yaml; a readable version is docs/api.md.

Speech

By default the text goes to the bucket as a .say object and the phone's own Android text-to-speech speaks it. Optionally point the relay at any OpenAI-compatible /audio/speech server and it will synthesize audio itself ("speech": "server"), with a 700 ms lead-in so the start of the sentence is not swallowed. See docs/tts.md, which also covers ElevenLabs and local OpenAI-compatible voices. A server TTS failure returns an error; it never silently falls back to the phone's voice.

Claude Code, Codex and other agents
claude mcp add --transport http earshot https://your-relay.example.com/mcp \
  --header "Authorization: Bearer $EARSHOT_API_TOKEN"

claude mcp add earshot --env EARSHOT_API_URL=http://127.0.0.1:8080 \
  --env EARSHOT_API_TOKEN=$EARSHOT_API_TOKEN -- earshot-relay mcp

The first form talks to a running relay over HTTP; the second runs a local stdio server, which needs earshot-relay on your PATH: install it once with uv tool install /absolute/path/to/earshot-relay (Claude Code starts the server from your project directory, so a relative path such as uvx --from . does not work). Tools: say, receipt, recent, status, plus alarm only if you enabled that channel. See docs/mcp.md.

Or install it as a Claude Code plugin, which asks for your relay URL and token once: claude plugin marketplace add AutomaticAI-io/earshot-relay, then claude plugin install earshot@earshot-relay.

For agent hooks (speak when Claude Code needs you, or when it finishes), see examples/ and read the warning there: hook examples send a slice of agent text to your bucket, so use a private bucket.

Hermes

Hermes agents get two opt-in paths: the relay's MCP server (the agent calls say when it decides to speak) and a final-reply hook that speaks every reply on allowed surfaces. With Hermes installed and the token in the profile's .env:

hermes config set mcp_servers.earshot.url https://your-relay.example.com/mcp
hermes config set mcp_servers.earshot.headers.Authorization 'Bearer ${EARSHOT_API_TOKEN}'
hermes mcp test earshot     # connects and discovers say, receipt, recent, status

config.yaml holds only the ${EARSHOT_API_TOKEN} placeholder; Hermes resolves it from the profile's .env. The full recipe — token handling, the opt-in hook, the installable earshot skill, approval notes and dated tested-on evidence — is docs/hermes.md; the hook, skill and config snippet live in examples/hermes/. The hook sends a slice of agent text to your bucket as a plain object, so use a private bucket.

Switch a producer over by changing a URL

Tools that already push to ntfy, Gotify, Pushover or Join can push to the relay instead. Turn it on with EARSHOT_RELAY_COMPAT=ntfy,gotify,pushover,join (it is off by default), then:

curl -H "Authorization: Bearer $EARSHOT_API_TOKEN" -H "Title: Backup" -d "Nightly backup finished" \
  http://127.0.0.1:8080/compat/ntfy/phone          # an ntfy publish, stored like a native send
apprise -b "Server rebooted" "gotify://127.0.0.1:8080/compat/gotify/$EARSHOT_API_TOKEN"

These sends share the native rate limits, Idempotency-Key handling, bucket path and receipts, and a success reply means stored, not played. A producer's top priority (ntfy 5, Gotify 8 and up, Pushover 2) is stored as a normal item with X-Earshot-Downgraded: alarm unless you also set EARSHOT_RELAY_COMPAT_ALARM=1 and list alarm. Unsupported fields are ignored and named in X-Earshot-Ignored. Tested with real clients (curl, Apprise, the ntfy and gotify CLIs, Uptime Kuma, a Go Pushover library); Pushover and Join clients that hard-code the vendor URL cannot be redirected. Everything, including what was and was not verified: docs/compat.md.

Receipts and the beacon URL

The phone can report detected, started and finished to an HTTPS endpoint you choose. Set EARSHOT_RELAY_BEACON_TOKEN and EARSHOT_RELAY_PUBLIC_URL, run earshot-relay status, and paste the printed https://<host>/v1/beacons/<token> into the app's Optional HTTPS beacon endpoint. The phone must be able to reach that URL, which usually means a tunnel: docs/tunnels.md covers Tailscale serve and Cloudflare Tunnel.

A receipt records what the phone did (device playback). It is not proof that a person heard the message, and the relay never words it that way. Details and edge cases: docs/receipts.md.

Security notes

  • Every endpoint except /healthz and the beacon URL needs Authorization: Bearer <EARSHOT_RELAY_TOKEN>. The beacon URL carries its own, different token in the path; it can record receipts but cannot send messages.
  • The relay needs only s3:PutObject on the channel prefixes. It never reads your bucket and never holds the phone's read key (docs/permissions.md).
  • The default channel list is phone only. The loud alarm channel cannot be sent to unless you list it in EARSHOT_RELAY_CHANNELS, the MCP alarm tool exists only then, and alarm can never be the default channel.
  • What alarm does on the phone: a siren, then the message on the alarm stream at high volume, ahead of normal items. It plays during a phone call (unless the app's Alarms can interrupt calls is off) and the other party may hear it. Do Not Disturb set to "Total silence", an Android refusal, a stopped service, a powered-off phone, battery restrictions or no network can still silence it. It is not an emergency or life-safety service.
  • Message text is not stored in the relay's database and is not logged, with one exception: text held for coalesce_window_s sits in SQLite until its window closes, then is deleted (docs/hygiene.md). Tokens are never logged. Secrets can be supplied as files (EARSHOT_RELAY_TOKEN_FILE, ...).
  • Bind to localhost (the compose file does) and put a tunnel or an HTTPS reverse proxy in front. Do not expose the plain-HTTP port to the internet.
  • The beacon route has its own rate limit (EARSHOT_RELAY_BEACON_RATE_LIMIT, 600 per minute) and accepts at most 16 devices per message, so a leaked beacon URL can forge receipts but cannot flood the relay.
  • Messages sit in your bucket as plain objects. Anyone who can read the bucket can read them.
  • Rate limits (60 per minute overall, 6 per hour for the alarm channel) are in memory and per process.
  • Compat routes (docs/compat.md) are off by default and take the relay token, or a send-only EARSHOT_RELAY_COMPAT_TOKEN that opens nothing but those routes (prefer it: a URL token lands in proxy logs). They never reach alarm unless you set EARSHOT_RELAY_COMPAT_ALARM=1. If you open EARSHOT_RELAY_COMPAT_PORT, publish it only where the producers are.

What it is not

  • Not a hosted service: you run it, with your bucket.
  • Not a speech-to-text or chat product, and not a delivery guarantee. The phone has to be on, online, listening and allowed to play audio; a 202 means stored, not played.
  • Not proof of attention: finished means the phone finished playback.
  • Not a way to read your bucket or list your files.
  • Not affiliated with any cloud provider. "Earshot" is the name of the Android app; this project's MIT license covers this code only and grants no trademark rights.

Development

uv sync
uv run pytest -q                              # moto-backed; no network or real bucket needed
uv run python scripts/gen_openapi.py          # regenerate openapi.yaml after API changes
uv run python scripts/compat_clients.py      # drive real clients (curl, Apprise, ntfy CLI, ...) at an in-process relay; see docs/compat.md
uv run python scripts/docker_smoke.py         # build the image and test it end to end against moto (Docker)
EARSHOT_COMPAT_PROVIDERS=1 uv run pytest -q tests/test_providers.py   # SeaweedFS and Garage in Docker

Docs

API · Producer compat · Hygiene · Receipts · Server TTS · Tunnels · Permissions · MCP · Hermes · Configuration · Examples

License: MIT, copyright AutomaticAI.

Live check

Not yet probed. This server declares a remote endpoint but we have not observed it, so nothing below is known either way.

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).

  • MCP Registry io.github.AutomaticAI-io/earshot-relay

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

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

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?

Frame 2085668439 (1)
Group 1261154229