@ag-ui/client is vulnerable to Denial of Service (DoS)
54
Medium Risk
FilterToolCallsMiddleware in @ag-ui/client keeps its blocked tool call id set on the middleware instance instead of per run. A stalled or interrupted run leaves ids on that shared set, so a later run on the same middleware instance can have unrelated tool call events wrongly filtered, or the set can grow without bound across many runs. The fix moves the set into a per subscription scope and clears it on RUN_STARTED so state no longer leaks between runs.
You are affected if you are using a version that falls within the vulnerable range and you reuse a single FilterToolCallsMiddleware instance across multiple agent runs.
@ag-ui/client is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 0.0.59.
Upgrade the @ag-ui/client 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.