# StealthMark Forensic Graph Verifier

> StealthMark Forensic Graph Verifier is a paid API for AI agents from gateway.stealthmark.io, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Analyzes blockchain transaction graphs to detect cyclic flows, taint propagation, and collateral risks using formal Z3 invariant proving

## Facts

- Endpoint: POST https://gateway.stealthmark.io/x402/verify-forensic-graph?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stealthmark-forensic-graph-verifier-f39e989f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vRz6gS98owLkRGOXpJs02

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 stealthmark-forensic-graph-verifier-f39e989f -d '<json body>'
```

Example prompt: Can you run a forensic graph analysis on this set of Ethereum transactions, using 0x1234...abcd and 0xdead...beef as tainted seed addresses, and check for any cyclic clusters or high-risk protocol exits — especially through privacy bridge nodes like Tornado and Railgun?

## When to prefer this

Choose this endpoint when you need formal, graph-theoretic blockchain forensics — specifically cyclic flow detection, taint propagation scoring, and collateral verification for ERC-4626 vaults or complex DeFi structures. It is distinct from simple address screening tools because it performs full DAG construction, Z3-backed invariant checking, and privacy-bridge correlation in a single call. Best suited for DeFi security researchers, compliance teams, and audit workflows where mathematical proof of collateral integrity or fund flow is required.

## Known failure modes

- Invalid or missing transaction edges array returns a 400 error
- Unknown streams_demo value causes demo mode failure
- Unsupported chain value falls back to ethereum default or errors
- Tainted source addresses in wrong format (non-hex) cause parse failure
- Collateral topology object with missing required keys may produce incomplete results
- Payment failure via x402 returns 402 Payment Required before analysis begins
- Very large transaction sets may exceed timeout limits

## How this service works

Autonomous Z3 Formal Invariant Prover (ERC-4626 Vaults, Polymarket Baskets, ZK Circuits, Differential Consensus) &amp; 100-Point Perimeter Security Gateway on Base Mainnet (x402 v2).

## Output

Returns a JSON object with: a mode string identifying the analysis type, a boolean 'verified' result, an array of DAG edges in the transaction graph, per-node taint scores, identified cyclic cluster groupings, a node-to-cluster mapping, counts of resolved receipt links and privacy bridge links, and an array of high-risk protocol exit events with details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "task": {
   "type": "object",
   "description": "Optional SwarmTaskV2 payload"
  },
  "chain": {
   "type": "string",
   "default": "ethereum",
   "description": "Target blockchain for Mode C ('ethereum', 'base', 'arbitrum')"
  },
  "bridge_nodes": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Privacy bridge/swap nodes for entry-exit correlation"
  },
  "streams_demo": {
   "type": "string",
   "description": "Mode C: Built-in deterministic demo ('xusd_deusd_circular', 'opaque_offchain_yield', 'clean_erc4626_usdc')"
  },
  "transactions": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "description": "List of transaction edges"
  },
  "token_address": {
   "type": "string",
   "description": "Mode C: Target ERC-20 / vault token address to verify collateral backing"
  },
  "vault_address": {
   "type": "string",
   "description": "Mode C: Alternative parameter for vault address"
  },
  "protocol_nodes": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Known protocol/vault/bridge nodes excluded from cyclic collapse"
  },
  "tainted_sources": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Seed exploit or tainted wallet addresses"
  },
  "amount_tolerance": {
   "type": "number",
   "default": 0.05
  },
  "max_window_seconds": {
   "type": "integer",
   "default": 259200
  },
  "collateral_topology": {
   "type": "object",
   "description": "Mode C: Custom in-memory collateral dependency graph topology"
  },
  "bridge_fee_tolerance": {
   "type": "number",
   "default": 0.05
  },
  "bridge_max_window_seconds": {
   "type": "integer",
   "default": 7200
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": {
   "type": "string"
  },
  "verified": {
   "type": "boolean"
  },
  "dag_edges": {
   "type": "array",
   "items": {
    "type": "object"
   }
  },
  "taint_scores": {
   "type": "object"
  },
  "cyclic_clusters": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "node_to_cluster": {
   "type": "object"
  },
  "receipt_links_resolved": {
   "type": "integer"
  },
  "high_risk_protocol_exits": {
   "type": "array",
   "items": {
    "type": "object"
   }
  },
  "privacy_bridge_links_resolved": {
   "type": "integer"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stealthmark-forensic-graph-verifier-f39e989f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stealthmark.io](https://www.zero.xyz/host/gateway.stealthmark.io/llms.txt)
