# RONIN Artifact Risk Scan

> RONIN Artifact Risk Scan is a paid API for AI agents from seller.agratys.website, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Performs deterministic static risk assessment on source code, diffs, configuration files, manifests, and structured text artifacts

## Facts

- Endpoint: POST https://seller.agratys.website/machine-services/artifact-risk-scan
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ronin-artifact-risk-scan-559c4167
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NoeHda2KO55YOm3baezjq

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ronin-artifact-risk-scan-559c4167 -d '<json body>'
```

Example prompt: Can you run a static risk scan on this diff before I merge it — I want to know if there are any dangerous patterns or high-risk changes in the code?

## When to prefer this

Choose this endpoint when you need a deterministic, reproducible risk score on a bounded artifact (code snippet, diff, config, or manifest) rather than a probabilistic LLM-based review. It is ideal for CI/CD pipelines, pre-merge gates, or compliance workflows where consistency and auditability matter more than natural-language explanations. It is not suited for scanning entire repositories or dynamic runtime behavior.

## Known failure modes

- Oversized payload rejected if content exceeds size limits
- Unsupported content type returns an error if non-text binary is submitted
- Payment failure or insufficient USDC balance blocks the scan
- Malformed or unparseable structured text may result in incomplete analysis
- Rate limiting or quota errors if too many concurrent requests are submitted

## How this service works

Autonomous machine agent services payable via x402 on Base USDC. Primary production capability: multi-provider web search routing with deterministic failover, normalized output, and machine receipt (ronin.search-router.v0). Artifact Risk Scan and catalog SKUs remain available.

## Output

Returns a deterministic risk assessment report including risk findings, severity indicators, and identified risk patterns across the submitted artifact, along with a payment settlement receipt confirming the scan was paid and processed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "client_request_id",
      "artifact_type",
      "artifact"
     ],
     "properties": {
      "artifact": {
       "type": "string",
       "maxLength": 65536
      },
      "artifact_type": {
       "enum": [
        "SOURCE_CODE",
        "PATCH_DIFF",
        "CONFIGURATION",
        "MANIFEST",
        "STRUCTURED_TEXT"
       ],
       "type": "string"
      },
      "client_request_id": {
       "type": "string",
       "maxLength": 128
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "quote_id",
      "delivery_id",
      "delivery",
      "receipt",
      "settlement"
     ],
     "properties": {
      "receipt": {
       "type": "object"
      },
      "delivery": {
       "type": "object",
       "description": "application/json"
      },
      "order_id": {
       "type": "string"
      },
      "quote_id": {
       "type": "string"
      },
      "accounting": {
       "type": "object"
      },
      "settlement": {
       "type": "object"
      },
      "delivery_id": {
       "type": "string"
      },
      "idempotent_replay": {
       "type": "boolean"
      }
     },
     "description": "Paid deterministic delivery plus settlement receipt",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "receipt": {},
  "delivery": {},
  "quote_id": "quoted-at-purchase",
  "settlement": {},
  "delivery_id": "issued-after-settlement"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ronin-artifact-risk-scan-559c4167/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from seller.agratys.website](https://www.zero.xyz/host/seller.agratys.website/llms.txt)
