orchestrator_validate_push_webhook
Validates A2A push webhook URLs and payloads, blocking SSRF targets and unsafe schemes while minting or verifying HMAC-SHA256 signatures and enforcing replay-lock deduplication.
Instructions
Audit A2A pushNotificationConfig webhook URLs and event payloads — blocking SSRF (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16 AWS/GCP IMDS, ::1, fc00::/7, non-HTTPS schemes, and embedded URL credentials) while verifying or minting constant-time HMAC-SHA256 X-A2A-Notification-Signature headers and (tenant_id, delivery_id) replay-lock deduplication.
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": {
"tenant_id": "<tenant_id>",
"webhook_url": "<webhook_url>"
},
"name": "orchestrator_validate_push_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | No | Optional JSON webhook payload object or raw UTF-8 string. | |
| tenant_id | Yes | Tenant namespace (`SPEC_CLASS_13`) scoping webhook replay locks. | |
| delivery_id | No | Optional unique webhook delivery ID enforced against `(tenant_id, delivery_id)` replays. | |
| hmac_secret | No | Optional shared webhook secret used only in memory to mint/verify `X-A2A-Notification-Signature`. | |
| resolve_dns | No | Optionally resolve DNS A/AAAA records and verify all resolved IPs against SSRF blocklists. | |
| webhook_url | Yes | Candidate `pushNotificationConfig.url` endpoint (`https://` required). | |
| record_delivery | No | Persist `(tenant_id, delivery_id)` in the replay lock table when validation succeeds. | |
| signature_header | No | Optional inbound `X-A2A-Notification-Signature` (`sha256=<hex>`) to verify in constant time. |