@ag-ui/client is vulnerable to Denial of Service (DoS)
43
Medium Risk
During legacy event conversion, JSON.parse processes a tool call's function.arguments without error handling. Arguments from model output that are malformed or not JSON throw an uncaught exception, stopping conversion and its event stream. Any model or tool output that reaches the legacy conversion path can trigger the failure. With the fix, parse errors are caught and reported as stream errors.
You are affected if you are using a version that falls within the vulnerable range and you use the legacy event conversion path with tool call arguments from model output.
@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.