@agentclientprotocol/sdk is vulnerable to Denial of Service (DoS)
47
Medium Risk
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.
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.
@agentclientprotocol/sdk is vulnerable to Denial of Service (DoS) in versions 0.4.7 - 1.5.0.
Upgrade the @agentclientprotocol/sdk library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.