1. Complete 11-Advisory A2A SDK CVE Matrix (a2a-sca)
Because several 2026 a2aproject/* advisories in OSV are commit-range mapped, standard package scanners miss vulnerable pins. a2a-card-guard sca . deterministically audits 10 lockfile formats against all 11 advisories:
| CVE ID | Ecosystem & Package | Vulnerable | Patched | Impact & Vector |
|---|---|---|---|---|
CVE-2026-90790 | PyPI a2a-sdk | <= 1.1.3 | 1.1.4 | Push Notification webhook SSRF |
CVE-2025-6167 | PyPI python-a2a | < 0.5.6 | 0.5.6 | Workflow ID path traversal |
CVE-2026-118128 | npm @a2a-js/sdk | <= 1.1.0 | 1.2.0 | Task FSM concurrent status TOCTOU race |
CVE-2026-116478 | Go a2a-go | <= 2.4.0 | 2.5.0 | Internal network error disclosure in push handler |
CVE-2026-113706 | Cargo a2a-rs | <= 0.4.3 | >= 0.4.4 | Cross-turn historyLength transcript leak |
CVE-2026-90819 | Maven io.a2a.sdk:* | < 1.3.0 | 1.3.0.Final | Push Authorization header CRLF splitting |
CVE-2026-111761 | Maven server-common | < 1.3.0 | 1.3.0.Final | Unvalidated push webhook SSRF |
CVE-2026-111762 | Maven transport-rest | < 1.3.0 | 1.3.0.Final | Cleartext Bearer token logged on Protobuf error |
CVE-2026-111763 | Maven io.a2a.sdk:client | < 1.3.0 | 1.3.0.Final | Cross-domain API key leak via HTTP 30x redirect |
CVE-2026-111764 | Maven server-common | < 1.3.0 | 1.3.0.Final | Fail-open InMemoryTaskStore cross-tenant IDOR |
CVE-2026-111765 | Maven http-client-android | < 1.3.2 | 1.3.2.Final | Sync POST cross-authority credential redirect |
2. Five-Layer MCP Tool-Poisoning & Annotation Rug-Pull Defense
- Layer 1 — Covert Directives: Blocks HTML comments (
<!-- -->), system-prompt overrides, and cross-tool coercion inside descriptions and examples. - Layer 2 — Invisible Unicode & BiDi: Flags zero-width joiners, right-to-left overrides (
U+202E), and invisible Plane-14 Unicode Tags (U+E0000..U+E007F). - Layer 3 — UTS #39 Homoglyphs & Typosquats: Normalizes mixed-script confusables impersonating trusted MCP servers.
- Layer 4 — Full-Envelope JCS Pinning: Hashes
name,description,inputSchema,outputSchema,$defs, andToolAnnotationsto catch silentreadOnlyHint → destructiveHintrug-pulls. - Layer 5 — Entropy & Exfil Sinks: Detects high-entropy steganographic blobs, markdown image exfiltration beacons, and split-chunk SSE secret leaks.
3. DNS-Pinned Webhook SSRF Guard & 8-Dimension Agent IQ Rubric
import ipaddress
import socket
from urllib.parse import urlparse
EXTRA_BLOCKED = (
ipaddress.ip_network("0.0.0.0/8"),
ipaddress.ip_network("100.64.0.0/10"),
ipaddress.ip_network("169.254.0.0/16"),
ipaddress.ip_network("fc00::/7"),
ipaddress.ip_network("fe80::/10"),
)
def assert_ssrf_safe_https_webhook(raw_url: str) -> tuple[str, list[str]]:
parsed = urlparse(raw_url.strip())
if parsed.scheme != "https" or not parsed.hostname:
raise ValueError("A2A_SSRF_BLOCKED_TARGET: https:// required")
host = parsed.hostname.lower().rstrip(".")
if host in {"localhost", "metadata.google.internal", "metadata"} or host.endswith((".local", ".internal", ".localhost")):
raise ValueError(f"A2A_SSRF_BLOCKED_HOST: {host}")
pinned: list[str] = []
for _, _, _, _, sockaddr in socket.getaddrinfo(host, parsed.port or 443, type=socket.SOCK_STREAM):
ip_obj = ipaddress.ip_address(sockaddr[0])
chk = ip_obj.ipv4_mapped if isinstance(ip_obj, ipaddress.IPv6Address) and ip_obj.ipv4_mapped else ip_obj
if chk.is_private or chk.is_loopback or chk.is_link_local or chk.is_multicast or chk.is_reserved or any(chk in n for n in EXTRA_BLOCKED):
raise ValueError(f"A2A_SSRF_BLOCKED_IP: {ip_obj}")
pinned.append(str(ip_obj))
return host, sorted(set(pinned))
IQ = 60 + round((passed_dimensions / 8) * 100) across D1 Discovery, D2 JCS/Ed25519 JWKS, D3 5-Layer Poisoning Immunity, D4 CSPRNG Task FSM CAS, D5 Monotonic Attenuation, D6 x402/AP2 Integer Math, D7 S4-REJECT-005 Dual-Case Guard, and D8 Byzantine 2f + 1 Sybil Collapse. Benchmark any model interactively at khoaphan.dev/a2a-iq/.