oathe / scan / reports / dangerous

Is EthanSK/agent-bridge safe?

No. EthanSK/agent-bridge is dangerous to install. Oathe's behavioral security audit gave the agent-bridge skill by EthanSK a trust score of 49/100 with 11 findings (6 high). Report updated

https://github.com/EthanSK/agent-bridge

49
DANGEROUS

Is EthanSK/agent-bridge safe to install?

Agent Bridge lets a user's coding agents run shell commands and send messages to other paired machines over SSH. It grants persistent SSH access to peers, disables host-key checking, auto-updates itself from the GitHub main branch every 10 minutes, and edits agent instruction files, so a compromised peer or upstream could take control of the user's machines.

What security issues were found in EthanSK/agent-bridge?

Category Scores

Prompt Injection 50/100 · 30%
Data Exfiltration 100/100 · 25%
Code Execution 0/100 · 20%
Clone Behavior 100/100 · 10%
Canary Integrity 100/100 · 10%
Behavioral Reasoning 100/100 · 5%

Findings (11)

HIGH Weekly update flow pulls instructions from a public source and agents are told to act on them -20 ▶

The SKILL.md files instruct the agent to check a public source pinned in skill-update.json on first use each week and explain/apply updates. Remote content fetched this way is not verified by the skill, and the agent is steered toward installing updates after user consent, which creates a path for a compromised source to change agent behaviour.

Evidence: On first use in a task... follow references/public-updates.md: claim the local shared lease, check the public source pinned in skill-update.json, and explain any available update.

HIGH Install script registers a periodic auto-updater that pulls, builds and runs code every 10 minutes -20 ▶

install.sh provisions a LaunchAgent/Scheduled Task that runs git fetch, pull and build every 10 minutes with no signature or pinned-hash verification. Any compromise of the upstream repo or the update path executes on the user machine without further consent. The default is ON for fresh installs.

Evidence: Install the harness-INDEPENDENT periodic auto-updater (launchd LaunchAgent every 10 min). Default ON for fresh installs. Opt-out via AGENT_BRIDGE_NO_PERIODIC_UPDATE=1.

HIGH Pairing grants remote SSH key access to the user's account -20 ▶

Setup and pair append the remote peer's public key to ~/.ssh/authorized_keys and enable Remote Login, giving any holder of the matching key (or anyone who photographs the pairing screen) shell access to the user machine. Setup prints a pairing token and public key on a screen intended to be photographed and sent over chat.

Evidence: Adds the public key to ~/.ssh/authorized_keys ... Photograph this screen and send to Claude on your other machine.

HIGH SSH host key verification disabled for all peer connections -20 ▶

Every SSH invocation for paired peers uses StrictHostKeyChecking=no and UserKnownHostsFile=/dev/null, so the client accepts any host key and is open to man-in-the-middle impersonation of a paired peer, which then receives commands and messages.

Evidence: local args=("-o" "StrictHostKeyChecking=no" "-o" "UserKnownHostsFile=/dev/null" ...)

HIGH Arbitrary remote shell execution via agent-bridge run and bridge_run_command -20 ▶

agent-bridge run and the MCP bridge_run_command execute any shell string on a paired machine as the configured user. Combined with pairing and the agent being told to run commands on peers, a peer or a prompt-injected agent can execute arbitrary commands. The design explicitly targets 'the other agent control this machine'.

Evidence: agent-bridge run MacBook-Pro "brew update && brew upgrade" ... "let the other agent control this machine"

MEDIUM Monitoring shows writes to AGENTS.md and mcp-server/.mcp.json during the run -10 ▶

Honeypot monitoring recorded create/modify events on AGENTS.md and mcp-server/.mcp.json, flagged as agent config writes. Whether these came from the install flow or the audited agent could not be fully attributed from the excerpt.

Evidence: [risk: agent_config_write] CREATE /home/oc-exec/skill-under-test/EthanSK/agent-bridge/AGENTS.md; [risk: agent_config_write] OPEN_WRITE .../mcp-server/.mcp.json

INFO Clone behaviour observed as expected git clone only 0 ▶

Monitoring showed the skill was cloned from GitHub with git clone --depth 1 and then only inspected with find/cat commands. No unexpected process spawns or outbound destinations beyond github.com were recorded during the clone.

Evidence: git clone --depth 1 -- https://github.com/EthanSK/agent-bridge ; external destination 140.82.121.4:443 (github.com)

INFO Canary integrity monitoring 0 ▶

Honeypot integrity check reported all canary files intact; no canary access or modification was recorded.

Evidence: Honeypot integrity - All canary files intact

HIGH install.sh pipes remote code to bash and installs unverified binaries with sudo -20 ▶

The documented installer downloads the CLI from the main branch with no checksum or signature, moves it into /usr/local/bin possibly via sudo, and registers a Claude Code plugin marketplace pointing at a directory. Compromise of the main branch yields code execution.

Evidence: curl -fsSL https://raw.githubusercontent.com/EthanSK/agent-bridge/main/install.sh | bash ... sudo mv "$TMPFILE" "$INSTALL_DIR/$BIN_NAME"

MEDIUM Inbound channel messages are injected into live agent sessions as trusted instructions -10 ▶

Messages pushed from paired machines land in the running agent as events, and the skill instructs the agent to act on them and reply. Authentication relies on SSH keys only, and the pairing trust model is weak, so a compromised peer can steer the agent with trusted-looking instructions.

Evidence: Incoming messages from other machines are **pushed** directly into the conversation as: <channel source="agent-bridge" ...>

MEDIUM Setup appends persistent instructions into agent harness config files -10 ▶

agent-bridge setup and pair rewrite ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, ~/.openclaw/AGENTS.md and ~/.gemini/GEMINI.md to add a block that directs agents to use bridge tools for agent-to-agent work. This persists across sessions and changes the instructions every future session follows.

Evidence: Auto-adds agent-bridge instructions to detected AI harness files (`~/.claude/CLAUDE.md`, `~/.codex/AGENTS.md`...)

Should I install EthanSK/agent-bridge?

Oathe's verdict for EthanSK/agent-bridge is DANGEROUS with a trust score of 49/100. Recommendation: Do not install.