# 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.01/call, status unknown (last checked 2026-09-15).

Performs deterministic static risk assessment on source code, diffs, configuration files, manifests, and structured text to identify security and quality risks.

## Facts

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

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-f742a778 -d '<json body>'
```

Example prompt: Can you run a static risk scan on this code diff and tell me if there are any security vulnerabilities or dangerous patterns before I merge it?

## When to prefer this

Choose this endpoint when you need fast, deterministic (non-AI-probabilistic) static risk analysis of bounded text artifacts like source code snippets, diffs, config files, or manifests. It is ideal for CI/CD pipelines, pre-merge checks, or any automated workflow where reproducible and consistent risk scoring is required. Prefer it over generative AI code review when you need consistent, auditable results rather than natural language explanations.

## Known failure modes

- Submitted content exceeds size or complexity bounds — content must be bounded/finite
- Malformed or unsupported file format returns an error or empty findings
- Network or payment settlement failure results in no response or rejected transaction
- Non-textual binary content cannot be assessed and returns an error

## 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

A deterministic risk assessment report covering identified risks, severity indicators, and findings across the submitted artifact (code, diff, config, or manifest), along with a payment settlement receipt confirming the $0.01 USDC transaction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "q": {
   "type": "string",
   "maxLength": 1024,
   "minLength": 1
  },
  "task": {
   "type": "string",
   "maxLength": 1024,
   "minLength": 1
  },
  "text": {
   "type": "string",
   "maxLength": 1024,
   "minLength": 1
  },
  "type": {
   "type": "string"
  },
  "claim": {
   "type": "string",
   "maxLength": 1024,
   "minLength": 1
  },
  "count": {
   "type": "integer",
   "default": 5,
   "maximum": 50,
   "minimum": 1
  },
  "limit": {
   "type": "integer",
   "default": 5,
   "maximum": 50,
   "minimum": 1
  },
  "query": {
   "type": "string",
   "maxLength": 1024,
   "minLength": 1
  },
  "topic": {
   "type": "string",
   "maxLength": 1024,
   "minLength": 1
  },
  "prompt": {
   "type": "string",
   "maxLength": 1024,
   "minLength": 1
  },
  "search": {
   "type": "string",
   "maxLength": 1024,
   "minLength": 1
  },
  "subject": {
   "type": "string",
   "maxLength": 1024,
   "minLength": 1
  },
  "contents": {
   "type": "object"
  },
  "keywords": {
   "type": "string",
   "maxLength": 1024,
   "minLength": 1
  },
  "highlights": {
   "type": "object"
  },
  "numResults": {
   "type": "integer",
   "default": 5,
   "maximum": 50,
   "minimum": 1
  },
  "max_results": {
   "type": "integer",
   "default": 5,
   "maximum": 50,
   "minimum": 1
  },
  "num_results": {
   "type": "integer",
   "default": 5,
   "maximum": 50,
   "minimum": 1
  },
  "useAutoprompt": {
   "type": "boolean"
  },
  "excludeDomains": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "includeDomains": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "max_budget_usd": {
   "type": "string",
   "default": "0.015000"
  },
  "client_request_id": {
   "type": "string",
   "maxLength": 128,
   "minLength": 1
  }
 }
}
```

## 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-f742a778/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)
