AgenticWebScore
Scan

API and agent · Unscored check

Cryptographically signed agent card

An A2A card may be signed with JWS. Signing is optional in the specification.

  • Unscored check
  • Draft standard

Standard status Draft. A published specification that is not yet ratified. Standard: RFC 7515.

Kind
Unscored check: 0 points, never a level gate
Module
Sites with an API or agent surface
Listed under
Agent conventions
Applies when
an agent card is published
Who reads it today
A2A clients that verify cards.
Effect on Google Search
None. No Google Search documentation says Google reads it.
Cryptographically signed agent card — Property, Value
Property Value
Check ida2a-signed
DimensionAPI and agent
Part—
Tier—
Weight0
MaturityDraft. A published specification that is not yet ratified.
Publishing skilla2a-card-signing
StandardsRFC 7515

Sources

What the scanner requests

  • /.well-known/agent-card.json
  • /.well-known/agent.json

What is measured

The scanner reads the A2A agent card, at /.well-known/agent-card.json or, as a legacy card, at /.well-known/agent.json, and inspects its signatures array. It is present only when a signature is cryptographically verified: an entry is a JWS (RFC 7515) object with base64url protected and signature members whose protected header names alg, typ, and kid (A2A 1.0, section 8.4.2), and the public key under that kid in the key set at the header's jku URL verifies it. The scan checks the signature over the card's canonical form, as A2A 1.0 sections 8.4.1 and 8.4.3 define it: the signatures member excluded, each member at its default value removed unless a2a.proto marks it REQUIRED or optional, then RFC 8785. Only the members of the scan's table of a2a.proto 1.0.0 are ever removed, and a card nested deeper than 64 levels is not canonicalized. The card is canonicalized once, and the scan checks at most the first 8 signatures whose protected header names alg, typ, and kid; the evidence says when the card carries more. If that form does not verify, the scan checks the form the a2a-python SDK 1.3.0 signs, which also removes every empty member, and the detail names the form that verified, or, when none does, the forms it tried. The scan never requests a jku or x5u URL: it reads the key set only when it requested that path for another check, and it never uses a key the protected header embeds (jwk, x5c) or the card carries. So a signature is not measured when it names no jku, because its key would come from a trusted key store, which the scan does not hold, or when its key set is on another host, was not requested, did not answer, or answered 406, which refuses the scan's Accept header, or when the algorithm is one this scanner cannot check, such as Ed448 on its runtime. It is served with an error when the signature verifies over neither form, when the key set at a jku on this site answers an error or a page (HTML, markdown or a copy of the homepage), which publishes no key, does not publish the kid, or publishes it for another algorithm, and when no signature carries a protected header that names alg, typ, and kid with at least 32 signature bytes, a floor that is the scanner's own sanity rule, not A2A's. A card with no signature is not used: signing is optional in A2A. With no agent card there is nothing to sign, and the check is out of scope; when a card path was not requested, did not answer, answered a server error, or answered 406, which refuses the scan's Accept header, it is not measured.

Reproduce it yourself

You do not have to take our word for any of this. Run the same measurement against your own domain:

              ORIGIN=https://example.com
curl -sSL -A 'AgenticWebScore/0.3 (+https://agenticwebscore.com/bot)' -H 'Accept-Language: en' -H 'Accept: application/json, application/linkset+json;q=0.9, */*;q=0.5' "$ORIGIN/.well-known/agent-card.json" | jq -r '.signatures[0].protected' | python3 -c "import sys,base64,json;p=sys.stdin.read().strip();p+='='*(-len(p)%4);print(json.dumps(json.loads(base64.urlsafe_b64decode(p)),indent=2))"
            

The fix

This is an example written for example.com. Where the scan can build the fix from your own site, the report shows that version instead.

              // npm i jose canonicalize  ->  node sign-agent-card.mjs
import { readFileSync, writeFileSync } from 'node:fs';
import canonicalize from 'canonicalize';
import { CompactSign, exportJWK, generateKeyPair } from 'jose';

const card = JSON.parse(readFileSync('agent-card.json', 'utf8'));
const { privateKey, publicKey } = await generateKeyPair('ES256');
const { signatures, ...payload } = card;   // A2A v1.0 excludes signatures
// A2A v1.0 8.4.1 also leaves out each member at its default value ('', false, [] or {})
// unless a2a.proto marks it REQUIRED or optional: write agent-card.json without them,
// such as an empty extensions, examples, inputModes or outputModes array.
const canonical = canonicalize(payload);   // RFC 8785 canonical JSON

const jws = await new CompactSign(new TextEncoder().encode(canonical))
  .setProtectedHeader({
    alg: 'ES256', typ: 'JOSE', kid: 'key-1',
    // Optional in A2A v1.0; a verifier with no key store of its own needs it.
    jku: 'https://example.com/.well-known/jwks.json'
  })
  .sign(privateKey);

const [protectedHeader, signature] = jws.split('.');
const signed = { ...card, signatures: [{ protected: protectedHeader, signature }] };
writeFileSync('agent-card.signed.json', JSON.stringify(signed, null, 2));
const jwk = { ...(await exportJWK(publicKey)), kid: 'key-1', use: 'sig', alg: 'ES256' };
writeFileSync('jwks.json', JSON.stringify({ keys: [jwk] }, null, 2));
            

Standards referenced

  • RFC 7515

Related checks

Related checks — Check, Kind, Maturity, Same skill
Check Kind Maturity Same skill
mcp-card — MCP server cardUnscored checkDraft—
mcp-server — MCP server answers and lists its toolsScored checkAdopted—
openapi — OpenAPI definitionScored checkAdopted—
oauth-discovery — OAuth discovery documentsScored checkAdopted—
api-catalog — API catalogScored checkAdopted—
agent-skills — Agent Skills declarationUnscored checkDraft—
a2a-card — A2A agent cardUnscored checkDraft—
auth-md — /auth.md agent authentication guideUnscored checkDraft—