
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
An adapter that bridges the Cursor CLI agent (`cursor-agent`) to the Agent Client Protocol (ACP). It exposes the Cursor agent over ACP’s ndjson stream so any ACP client can drive it. So far, it can be used in these clients: - Zed - JetBrains (coming soon)
An adapter that bridges the Cursor CLI agent (cursor-agent) to the Agent Client Protocol (ACP). It exposes the Cursor agent over ACP’s ndjson stream so any ACP client can drive it. So far, it can be used in these clients:
grepToolCall/globToolCall → ACP tool_call with summaries and file locationsbashToolCall/shellToolCall → ACP tool_call with output + exit codedefault and plan mode, including current_mode_updatecancelled, and flushes final updates before resolvecursor-agent) installed and on PATHThen:
npm install
npm run build
Expose the ACP server:
node ./dist/index.js
By default, the adapter calls cursor-agent on your PATH. To use a specific binary:
export CURSOR_AGENT_EXECUTABLE=/full/path/to/cursor-agent
Authenticate Cursor if needed:
cursor-agent login
Point your ACP client to the adapter’s stdio process. For SDK-based clients, use ndJsonStream with the adapter’s stdin/stdout.
import { spawn } from "node:child_process";
import { Readable, Writable } from "node:stream";
import { ndJsonStream, ClientSideConnection, PROTOCOL_VERSION } from "@agentclientprotocol/sdk";
const env = { ...process.env };
// Optional: target a specific Cursor binary
// env.CURSOR_AGENT_EXECUTABLE = "/usr/local/bin/cursor-agent";
// Start the adapter
const proc = spawn("node", ["./dist/index.js"], { stdio: ["pipe", "pipe", "inherit"], env });
// Wire ACP stream
const input = Writable.toWeb(proc.stdin);
const output = Readable.toWeb(proc.stdout);
const stream = ndJsonStream(input, output);
// Minimal client
class Client { async requestPermission({ options }) { return { outcome: { outcome: "selected", optionId: options?.[0]?.optionId ?? "allow-once" } }; }
async sessionUpdate(u) { if (u.update.sessionUpdate === "agent_message_chunk" && u.update.content.type === "text") console.log(u.update.content.text); } }
const conn = new ClientSideConnection(() => new Client(), stream);
// Drive a simple prompt
const init = await conn.initialize({ protocolVersion: PROTOCOL_VERSION, clientCapabilities: { fs: { readTextFile: true, writeTextFile: true } } });
const { sessionId } = await conn.newSession({ cwd: process.cwd(), mcpServers: [] });
const res = await conn.prompt({ sessionId, prompt: [{ type: "text", text: "Say hello" }] });
console.log("stopReason=", res.stopReason);
proc.kill();
Use this adapter as an External Agent in Zed.
cd /path/to/cursor-acp/cursor-acp
npm install
npm run build
Add an entry under agent_servers pointing to the built adapter:
"agent_servers": {
// ... your other agents
"Cursor": {
"command": "node",
"args": ["/absolute/path/to/cursor-acp/cursor-acp/dist/index.js"],
"env": {
// Optional: only if cursor-agent isn’t on PATH
// "CURSOR_AGENT_EXECUTABLE": "/usr/local/bin/cursor-agent"
}
}
}
cursor-agent login in a terminal and retry.CURSOR_AGENT_EXECUTABLE – optional path to the Cursor binary (defaults to cursor-agent)cancelled as required by ACP.npm run buildnpm run devMIT
FAQs
An adapter that bridges the Cursor CLI agent (`cursor-agent`) to the Agent Client Protocol (ACP). It exposes the Cursor agent over ACP’s ndjson stream so any ACP client can drive it. So far, it can be used in these clients: - Zed - JetBrains (coming soon)
The npm package cursor-acp receives a total of 181 weekly downloads. As such, cursor-acp popularity was classified as not popular.
We found that cursor-acp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.