Verify a scan attestation (free)
verify_attestationVerify a Lazaretto scan attestation that another agent (or a README, or a lockfile) handed you, WITHOUT re-scanning or paying. Free and anonymous. Returns signature validity and the signed claims, including verdict, risk and subject. For a clear or flagged SHA-256 subject only, checks the current known-bad indicator set and includes contradicted when it matches. That field is otherwise omitted; its absence is not a freshness or safety verdict. Package identities are not rechecked here. A valid signature authenticates an earlier claim, not current safety. The artifact's hash or package identity must match claims.sub for the claim to apply.
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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | Whether the signature verifies against Lazaretto's published keys. | |
| claims | No | ||
| reason | No | Why an invalid attestation failed, for example malformed_jws. | |
| contradicted | No | Present only when a clear or flagged SHA-256 subject now matches the known-bad indicator set. Omitted for package identities, already-malicious claims, misses and unavailable lookups; omission does not establish freshness or safety. |