Verify a signed scan attestation another agent shared with you (free, no API key)
verify_attestationConfirm a Lazaretto attestation's signature and return its attested claims so you can trust an out-of-band scan verdict without re-scanning the artifact.
Instructions
Verifies a Lazaretto attestation: the compact-JWS token that a scan verdict ships with. It confirms the signature is genuinely Lazaretto's and returns the attested claims, so a verdict another agent (or a README, or a lockfile) handed you can be trusted WITHOUT re-scanning the artifact yourself.
WHEN TO USE: when you receive a verdict out of band and want to rely on it. Prefer this over re-running scan_artifact when someone already scanned the exact artifact and gave you the token, since verification is free and instant. Use scan_artifact instead when no attestation exists yet.
COST AND EFFECTS: free, no API key, no payment. Read-only, a single HTTPS call. Ships no crypto of its own; the service checks the signature against its published keys.
LIMITS: a valid signature proves the verdict is authentic and unaltered, NOT that it is still
current. There is no expiry: a token says "clear at scan time under rules vX", not "clear
forever". Verification alone says nothing about the artifact in front of you: you MUST compare
what you are about to run against claims.sub (its sha256, or its package identity) yourself.
READING THE RESULT: valid: true with claims means the signature is Lazaretto's and the
claims are untampered. valid: false means the token is forged, altered, or not ours, so ignore
it. A contradicted field means the signature is valid but the subject is now a known-bad match
(a stale verdict): treat that as a failure, not a pass.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"attestation": "<attestation>"
},
"name": "verify_attestation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attestation | Yes | The compact-JWS attestation string from a scan report (the `attestation` field of a scan verdict): three base64url segments separated by dots. |