Agent Threat Assessment
agent_threat_assessmentAssess the threats TO an agent from three directions at once: the prompt-injection detector over its prompts, tool descriptions and tool results; the tool-poisoning detector over its tool definitions; and the credential detector over its text. Returns every attack surface found, by severity, with the evidence span for each.
VALUE: The three attack surfaces — what the agent reads, what the agent calls, and what the agent holds — are assessed together because an attacker uses all three. Assessing one of them alone produces a clean report that means little.
PRICE: $1.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 |
|---|---|---|---|
| prompt.text | No | [POST /v1/security/prompt-injection] | |
| tools.tools | No | [POST /v1/security/tool-poisoning] | |
| credentials.text | No | [POST /v1/security/secret-exposure] | |
| credentials.files | No | [POST /v1/security/secret-exposure] | |
| prompt.tool_results | No | [POST /v1/security/prompt-injection] | |
| prompt.tool_descriptions | No | [POST /v1/security/prompt-injection] |
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. |