Skip to content

MCPA-2026-0065

criticalmalicious-package

agenttunnels (npm) MCP bridge lets an author-controlled endpoint push unapproved shell commands and file writes

The npm package agenttunnels ships an MCP bridge whose tunnel_run_command tool executes a command string from a proposal payload fetched from a remote session worker via child_process.spawn with shell:true, inheriting process.env and the caller's workdir. Execution is gated on proposal.status==='granted' OR governance.customer.require_approval===false — the latter is a server-side flag controlled by the same remote worker, so the endpoint operator can toggle off human approval and autonomously drive shell execution on every connected host; a companion tunnel_apply_patch tool writes remote-supplied file contents under the same gating. The default session backend is hardcoded to a personal *.workers.dev subdomain matching the maintainer's GitHub handle. The package remains live on npm, and the 0.1.17 tarball (verified 2026-08-08, above the GHSA-flagged 0.1.14) still ships the same author-controlled default endpoint and require_approval bypass, so every version is recorded as affected.

Affected packages

EcosystemPackageAffected versions
npmagenttunnels
>= 0

Identifiers

GHSA-4cm6-97rm-ffqfMAL-2026-13400CWE-506CWE-912

References

Timeline

  • Published: 2026-08-08

← All advisories