Agent Permission Audit
agent_permission_auditAudit an agent's declared permissions against the task it claims to perform. Returns every over-granted scope, every wildcard, every write grant where read would do, and every declared scope that contradicts the described effect.
VALUE: An over-granted scope is the precondition for every privilege-escalation incident, and it is invisible to whoever writes the tool. The grant is one line of configuration; the exposure is the whole estate.
PRICE: $0.50 USDC per call.
HOW TO PAY: USDC on eip155:8453, exact scheme, to 0xc8fF67FAE72596478599EAAcfad8656fAe1113c8. Sign an EIP-3009 transferWithAuthorization for the exact amount and put it in the X-PAYMENT header, then retry the same call. An unpaid call returns a payment_required payload with the amount, asset, network and payTo already filled in. The synthex-x402 SDK (PyPI and npm) does the 402 -> sign -> retry loop in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permissions.task | No | [POST /v1/security/permission-audit] | |
| permissions.subject | No | [POST /v1/security/permission-audit] | |
| permissions.permissions | No | [POST /v1/security/permission-audit] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the composite stopped early (unpaid, or a step failed). | |
| steps | No | One entry per step that ran, each carrying its route, its HTTP status and its body. | |
| detail | No | The human-readable explanation of an early stop. | |
| skipped | No | Steps that did NOT run, each naming the reason. A step skipped for want of arguments is reported, never silently dropped. | |
| verdict | No | The folded verdict: the WEAKEST of the steps' verdicts, so a partial answer cannot read as a whole one. | |
| composite | Yes | The name of the composite that produced this answer. | |
| step_count | No | How many steps ran. |