@a2a-js/sdk is vulnerable to Insufficient Verification of Data Authenticity
50
CVE Score
Medium
Insufficient Verification of Data Authenticity
The Client.getAgentCard method in src/client/multitransport-client.ts fetches an extended agent card from the transport when the base card advertises the extendedAgentCard capability, and passes it to an optional caller-supplied verifySignature callback. Before the fix, the fetched card was assigned to the client's cached agentCard field prior to calling verifySignature, so a card that failed verification (and whose rejection the caller observed via a thrown exception) had already overwritten the cached card and would be returned by subsequent getAgentCard calls without refetching, allowing a reused client to act on card data that failed verification.
Upgrade the @a2a-js/sdk package to version 1.2.0 or later.
You are affected if you use a version in the vulnerable range and call getAgentCard with a signature verifier for an agent that offers an extended agent card whose signature verification fails.
1.0.0 - 1.1.0
Fixed in 1.2.0@a2a-js/sdk is vulnerable to Insufficient Verification of Data Authenticity in versions 1.0.0 - 1.1.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
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.