Inspect JWTs for weak crypto and claims
appsec-config_jwt-inspectDecode JWTs, flag alg:none, weak HMAC secrets and lifetime issues. Price $0.03 USDC. POST /api/v1/appsec-config/jwt-inspect. An unpaid call returns the x402 payment terms and does not run.
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": {
"token": "<token>"
},
"name": "appsec-config_jwt-inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | now, string. Optional. | |
| token | Yes | token, string, length 10 to 16384. Required. | |
| publicKeyPem | No | publicKeyPem, string. Optional. | |
| expectedAudience | No | expectedAudience, string. Optional. | |
| maxLifetimeSeconds | No | maxLifetimeSeconds, integer, from -9007199254740991 to 9007199254740991. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| header | No | header. Object. | |
| expired | No | expired. Boolean. | |
| payload | No | payload. Object. | |
| sources | No | sources. Array. | |
| findings | No | findings. Array. | |
| limitations | No | limitations. Array. | |
| notYetValid | No | notYetValid. Boolean. | |
| signatureChecked | No | signatureChecked. Boolean. |