Intel

AIKIDO-2026-53296

@agentclientprotocol/sdk is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-6q4g-4xp9-ch96 Published Yesterday

47

Medium Risk

This Affects:

JS@agentclientprotocol/sdk
0.4.7 - 1.5.0
Fixed in 1.5.1
Are you affected? Scan for Free

TL;DR

LineBuffer reassembles each ACP JSON-RPC message from the chunks of a byte stream and keeps the current incomplete line in a plain array with no byte limit. Standard input/output uses that stream for a spawned agent, and HTTP with Server-Sent Events uses it for a remote agent. Either the agent or the client can send one message large enough that the receiver keeps appending chunks to that line until it runs out of memory, which kills the connection and every session running on it. The fix adds a configurable maximum message and line size that rejects an oversized line before it is fully buffered.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you exchange ACP messages over standard input/output or HTTP with Server-Sent Events.

Background info

@agentclientprotocol/sdk is vulnerable to Denial of Service (DoS) in versions 0.4.7 - 1.5.0.

How to fix this

Upgrade the @agentclientprotocol/sdk library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform