Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Agent Bridge

A local bridge for bidirectional collaboration between Claude Code and Codex.

Compatibility: Not stated.

Grade C

One Medium finding. Read the findings before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

Rescanned at commit 0244dfa2d6df, unchanged since the check below.

INSTALL_REMOTE_SCRIPT

Why this grade

  • INSTALL_REMOTE_SCRIPT Medium

    Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).

    scripts/postinstall.cjs, line 89 curl -fsSL https://bun.sh/install | bash

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Concern

    can delete files.

    PERMISSION_DELETE_FILES

    scripts/runtime-dual-pair-e2e.py, line 61

    return subprocess.run(

    src/atomic-json.ts, line 43

    fs.unlinkSync(tmp);

  • Install and update

    Serious

    install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.

    INSTALL_REMOTE_SCRIPT INSTALL_DOCUMENTED_INSTALLER

    README.md, line 77

    | [Bun](https://bun.sh) | v1.3.11+ | `curl -fsSL https://bun.sh/install \| bash` |

    README.md, line 91

    curl -fsSL https://bun.sh/install | bash

    scripts/postinstall.cjs, line 89

    curl -fsSL https://bun.sh/install | bash

    Show more

    README.zh-CN.md, line 77

    | [Bun](https://bun.sh) | v1.3.11+ | `curl -fsSL https://bun.sh/install \| bash` |

    README.zh-CN.md, line 91

    curl -fsSL https://bun.sh/install | bash

    docs/TROUBLESHOOTING.md, line 14

    curl -fsSL https://bun.sh/install | bash

    docs/TROUBLESHOOTING.md, line 56

    curl -fsSL https://bun.sh/install | bash

    src/net-detect.ts, line 171

    lines.push(" curl -fsSL https://tailscale.com/install.sh | sh");

    package.json, line 18

    postinstall

    docs/test-plans/v3-三机实测-runbook.html, line 94

    <pre><code>curl -fsSL https://bun.sh/install | bash

    site/index.html, line 65

    "acceptedAnswer": { "@type": "Answer", "text": "You are almost certainly missing Bun. AgentBridge's daemon and plugin server run on the Bun runtime; Node.js alone is not enough. In

    site/index.html, line 698

    <pre><span class="cmd">curl -fsSL https://bun.sh/install | bash</span></pre>

    site/index.html, line 792

    <p>You're almost certainly missing <strong>Bun</strong>. AgentBridge's daemon and plugin server run on the Bun runtime; Node.js alone is not enough. Install it with <code class="mo

    site/llms.txt, line 46

    1. Install Bun: `curl -fsSL https://bun.sh/install | bash`

    site/zh/index.html, line 60

    "acceptedAnswer": { "@type": "Answer", "text": "大概率是没装 Bun。AgentBridge 的 daemon 和插件服务跑在 Bun 运行时上,只有 Node.js 不够。用 curl -fsSL https://bun.sh/install | bash 装好 Bun,再重新执行 abg claude。"

    site/zh/index.html, line 672

    <pre><span class="cmd">curl -fsSL https://bun.sh/install | bash</span></pre>

    site/zh/index.html, line 766

    <p>大概率是<strong>没装 Bun</strong>。AgentBridge 的 daemon 和插件服务跑在 Bun 运行时上,只有 Node.js 不够。用 <code class="mono">curl -fsSL https://bun.sh/install | bash</code> 装好,再重新执行 <code class="mono">

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    docker/sim-client.ts, line 16

    const ws = new WebSocket(url);

    docker/chaos/run-load.sh, line 22

    health=$(curl -sS -m 3 http://127.0.0.1:4700/healthz 2>/dev/null)

    docker/chaos/run-soak.sh, line 18

    health=$(curl -sS -m 3 -o /dev/null -w '%{http_code}' http://127.0.0.1:4700/healthz 2>/dev/null)

    Show more

    plugins/agentbridge/scripts/health-check.sh, line 105

    if ! command -v curl >/dev/null 2>&1; then

    plugins/agentbridge/scripts/health-check.sh, line 132

    health_json="$(curl -fsS --max-time 1 "http://127.0.0.1:${port}/healthz" 2>/dev/null || true)"

    scripts/e2e-codex-transport.mjs, line 24

    const ws = new WebSocket(`ws://127.0.0.1:${PROXY_PORT}`);

    scripts/pr5-codex-idle-injection-probe.mjs, line 153

    const response = await fetch(`http://127.0.0.1:${controlPort}/healthz`, { signal: controller.signal });

    scripts/pr5-codex-idle-injection-probe.mjs, line 176

    const ws = new WebSocket(this.url);

    scripts/runtime-dual-pair-e2e.py, line 316

    require(command_exists("curl"), "curl not found")

    scripts/smoke-built-cli.mjs, line 163

    const response = await fetch(url);

    scripts/smoke-built-cli.mjs, line 216

    fetch(req, server) {

    scripts/smoke-codex-room.ts, line 68

    ws = new WebSocket(adapter.proxyUrl);

    src/codex-adapter.ts, line 827

    const res = await fetch(`http://127.0.0.1:${this.appPort}/healthz`);

    src/codex-adapter.ts, line 1282

    return fetch(`http://127.0.0.1:${self.appPort}${url.pathname}`);

    src/daemon-status.ts, line 15

    const response = await fetch(`http://127.0.0.1:${port}${path}`, { signal: controller.signal });

    src/integration-test/daemon-wiring.test.ts, line 173

    const healthz = await fetch(`http://127.0.0.1:${harness.controlPort}/healthz`);

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_UNCONFIRMED

    docker/provision-scenario.ts, line 17

    const tokenDir = process.env.TOKEN_DIR ?? "/data";

    docker/provision.ts, line 16

    const tokenFile = process.env.TOKEN_FILE ?? "/data/token";

    docker/scenario-agent.ts, line 23

    const TOKEN_FILE = process.env.TOKEN_FILE ?? "/data/token";

    Show more

    docker/sim-client.ts, line 13

    const token = (process.env.TOKEN ?? readFileSync(process.env.TOKEN_FILE ?? "/data/token", "utf8")).trim();

    docker/chaos/provision.ts, line 9

    const dir = process.env.TOKEN_DIR ?? "/data";

    docker/chaos/pub.ts, line 17

    const TOKEN_FILE = process.env.TOKEN_FILE ?? "/data/token-pub";

    docker/chaos/sub.ts, line 13

    const TOKEN_FILE = process.env.TOKEN_FILE ?? "/data/token-sub";

    src/integration-test/daemon-wiring.test.ts, line 2278

    const scrubbed: NodeJS.ProcessEnv = { ...env };

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Note

    a file was over the read cap and was not fully read.

    OBFUSCATION_FILE_OVER_READ_CAP

    plugins/agentbridge/server/bridge-server.js, line 1

    #!/usr/bin/env bun

    plugins/agentbridge/server/daemon.js, line 1

    #!/usr/bin/env bun

  • Licence

    Pass

    A licence file is present (LICENSE).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 0244dfa2d6df. can delete files. install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.

Date and source

Date checked:

View source

github.com

Commit graded: 0244dfa2d6dfd36a67531426b01714eda1b215eb

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen