---
name: screen-anything
description: Polymorphic 5-domain deterministic public-data KYB, sanctions fuzzy matching, domain/TLS typosquatting, OSS supply-chain health, and bulk 50-vendor CSV screening engine (kyb_registry, domain_tls, sanctions_fuzzy, oss_health, vendor_scorecard, batch_csv) via REST, JSON-RPC 2.0 /mcp, 0%-commission Treg Hub, or run_hand.py. Strictly bills $0 on invalid/empty input, HTTP 422, SSRF, fake-200, or error.
---

# Screen-Anything — Agent-Executable Skill Contract

Use **Screen-Anything** (`https://screen.fastmesh.dev`, local dev `http://127.0.0.1:9013`) whenever an autonomous procurement agent, fintech onboarding pipeline, vendor security workflow, or coding agent needs a deterministic, tamper-evident **`ScreenDossier`** covering corporate registry consistency, domain/TLS age & typosquatting, OFAC/EU/UN fuzzy sanctions matching, or open-source repository/package bus-factor risk.

> **Public-Data Boundary Notice**: Screen-Anything aggregates public corporate registries, public sanctions lists (OFAC/EU/UN formats), public DNS/TLS certificates, and public OSS metadata only. It is **not a licensed credit bureau**, **not a consumer reporting agency under FCRA**, **not a law firm**, never pulls private personal credit reports, and does **not provide legal or compliance advice**.

---

## Core Surfaces & Distribution Channels

- **Web 5-Second Try-Now Console (zero signup)**: `https://screen.fastmesh.dev/`
- **Single Screen REST API**: `POST https://screen.fastmesh.dev/api/screen` (alias: `POST /screen`)
- **Concurrent Bulk Batch API (50+ CSV/JSON)**: `POST https://screen.fastmesh.dev/api/batch` (alias: `POST /batch`)
- **Multi-Format Exporter (JSON / Markdown / CSV / SARIF)**: `POST https://screen.fastmesh.dev/api/export` (alias: `POST /export`)
- **Pricing & Creem Credit Packs**: `GET https://screen.fastmesh.dev/pricing`
- **Native Streamable MCP Server (JSON-RPC 2.0)**: `POST https://screen.fastmesh.dev/mcp`
- **OpenAPI 3.1.0 Spec**: `GET https://screen.fastmesh.dev/openapi.json`
- **Health & Readiness**: `GET https://screen.fastmesh.dev/health`
- **Treg Hub 0%-Commission Package**: `screen-anything-kyb-oss-screener` (`c13_screen_anything_v1`)
- **Causal Bazaar Edge Hand**: `run_hand.py` (`hand_id: c13_screen_anything_hand_v1`, `card_id: c13_screen_anything_v1`)
- **Discovery Manifest**: `https://screen.fastmesh.dev/llms.txt`

---

## Per-Call Pricing, Credit Packs & Security Invariants

| Domain | Scope | Live / New-Tenant Cache (`100%`) | Same-Tenant Recheck (`10%`) | Invalid / `422` / SSRF / Error |
| :--- | :--- | :---: | :---: | :---: |
| `kyb_registry` | SEC EDGAR CIK, UK Companies House, ISO 17442 LEI MOD 97-10, corporate domain consistency, shell signals | `$0.05` (`50,000` micros) | `$0.005` (`5,000`) | `$0.00` |
| `domain_tls` | Public DNS MX/SPF/DMARC, TLS cert issuer/validity/age, newly registered risk, typosquatting lookalikes | `$0.04` (`40,000` micros) | `$0.004` (`4,000`) | `$0.00` |
| `sanctions_fuzzy` | Transliteration, suffix stripping, Jaro-Winkler + Token-Set vs OFAC/EU/UN & custom CSV/XML lists, zero-FP rationale | `$0.05` (`50,000` micros) | `$0.005` (`5,000`) | `$0.00` |
| `oss_health` | GitHub/npm/PyPI commit recency, bus factor, license shifts, sudden maintainer churn, download anomalies | `$0.05` (`50,000` micros) | `$0.005` (`5,000`) | `$0.00` |
| `vendor_scorecard` | Cross-dimensional `0–100` risk scorecard (`LOW`/`MEDIUM`/`HIGH`/`CRITICAL`) + SHA-256 attestation | `$0.08` (`80,000` micros) | `$0.008` (`8,000`) | `$0.00` |
| `batch_csv` (`/api/batch`) | Concurrent 50+ vendor CSV/JSON onboarding capped unconditionally at `max_budget_micros <= 2,000,000` (`$2.00`) | `$0.04/row` (`<= $2.00`) | `10%` on cached hits | `$0.00` |
| `auto` | Deterministic classifier routing to matching domain | `$0.04–$0.08` | `10%` of matched rate | `$0.00` |

**Prepaid Non-Expiring Creem Credit Packs**: Starter `$19` (`sku_screen_starter_19`, `$19.00` credits), Growth `$79` (`sku_screen_growth_79`, `$86.90` credits, `+10%`), Scale `$249` (`sku_screen_scale_249`, `$298.80` credits, `+20%`). Support: `ops@fastmesh.dev`.

### Non-Negotiable Security & Billing Guarantees

1. **SSRF Protection (Strict HTTP `422`, `$0` Billed)**: Before any outbound socket/HTTP request, hostnames are resolved and unconditionally blocked if targeting loopback (`127.0.0.0/8`, `::1`, `localhost`), RFC 1918 private networks (`10/8`, `172.16/12`, `192.168/16`), link-local / cloud metadata (`169.254/16`, `169.254.169.254`, `fe80::/10`, `metadata.google.internal`), CGNAT (`100.64/10`), multicast/reserved IPs, or non-HTTP(S) schemes (`file://`, `ftp://`, `gopher://`).
2. **Strict `$0` on Empty / `422` / SSRF / Fake-200 / Upstream Failure**: Empty strings, `"N/A"`, malformed inputs, SSRF refusals, deceptive HTTP `200` HTML error shells, and unreachable hosts always return `ok: false`, `billed_micros: 0`, and never enter `ArchiveCache`.
3. **Zero Sanctions False Positives on Common Names**: Generic commercial/geographic tokens are discounted and logged in `false_positive_exclusions` with `similarity_score` and `exclusion_reason`.
4. **Hard `$2.00` Spend Cap**: `/api/batch` and `run_hand.py` enforce `max_budget_micros <= 2000000` (`$2.00`) unconditionally.
5. **Zero Data Resale (`zero_data_resale: true`)**: Pure Python 3 stdlib deterministic execution — vendor payloads and custom watchlists are never forwarded to third-party AI model APIs, never resold, and never used for training.

---

## Invocation Pattern 1: REST API (`POST /api/screen`, `/api/batch`, `/api/export`)

```bash
# 1. Corporate KYB Registry & Website Consistency ($0.05)
curl -fsSL -X POST "https://screen.fastmesh.dev/api/screen" \
  -H "Content-Type: application/json" \
  -H "X-Tenant-Id: procurement-ops" \
  -d '{"domain":"kyb_registry","company_name":"Apple Inc.","reg_no":"0000320193","website":"https://apple.com"}'

# 2. Domain/TLS Certificate Age & Typosquatting ($0.04)
curl -fsSL -X POST "https://screen.fastmesh.dev/api/screen" \
  -H "Content-Type: application/json" \
  -d '{"domain":"domain_tls","target_domain":"str1pe-billing-verify.com","protected_brands":["stripe.com"]}'

# 3. OFAC/EU/UN Fuzzy Sanctions + Custom CSV List ($0.05)
curl -fsSL -X POST "https://screen.fastmesh.dev/api/screen" \
  -H "Content-Type: application/json" \
  -d '{"domain":"sanctions_fuzzy","entity_name":"Pacific Blue Ocean Logistics LLC"}'

# 4. OSS Supply-Chain Bus-Factor & Maintainer Health ($0.05)
curl -fsSL -X POST "https://screen.fastmesh.dev/api/screen" \
  -H "Content-Type: application/json" \
  -d '{"domain":"oss_health","npm_package":"express"}'

# 5. Concurrent 50-Vendor Bulk CSV Onboarding Batch (Hard <= $2.00 Cap)
curl -fsSL -X POST "https://screen.fastmesh.dev/api/batch" \
  -H "Content-Type: application/json" \
  -d '{"csv_content":"company_name,reg_no,url\nAcme Cloud Ltd,0000320193,https://example.com\nNorthwind Co,12345678,https://example.org","default_domain":"vendor_scorecard","max_budget_micros":2000000}'
```

---

## Invocation Pattern 2: Native JSON-RPC 2.0 MCP (`POST /mcp`)

Four flat tools exposed via `initialize`, `tools/list`, and `tools/call`:

| MCP Tool | Purpose | Key Arguments |
| :--- | :--- | :--- |
| `screen_vendor` | Run a single polymorphic public-data screen (`auto` supported) | `domain`, `company_name`, `reg_no`, `url`, `package`, `custom_list_csv`, `verify` |
| `screen_batch` | Concurrent 50+ vendor screening with hard `$2.00` budget ceiling | `items` or `csv_content`, `default_domain`, `max_budget_micros` |
| `screen_pricing` | Fetch live micro-USD domain pricing, cache tiers, and Creem packs (`$0`) | `{}` |
| `screen_verify_attestation` | Verify deterministic 64-hex `sha256_attestation` of any `ScreenDossier` (`$0`) | `dossier` |

```bash
curl -fsSL -X POST "https://screen.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -H "X-Tenant-Id: mcp-procurement-agent" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "screen_vendor",
      "arguments": {
        "domain": "vendor_scorecard",
        "company_name": "Acme Cloud Infrastructure Ltd",
        "reg_no": "0000320193",
        "url": "https://example.com"
      }
    }
  }'
```

---

## Invocation Pattern 3: Treg Hub (0%-Commission QuickJS Package)

```bash
treg call screen-anything-kyb-oss-screener --data '{
  "domain": "vendor_scorecard",
  "company_name": "Acme Cloud Infrastructure Ltd",
  "reg_no": "0000320193",
  "url": "https://example.com",
  "max_cost_micros": 100000
}'
```

---

## Invocation Pattern 4: Causal Bazaar Edge Hand (`run_hand.py`)

Invoke directly via Python import or CLI (`hand_id: c13_screen_anything_hand_v1`, hard `$2.00` external cap, `$0` on `422`/SSRF/error):

```bash
python3 run_hand.py --json '{"domain":"sanctions_fuzzy","company_name":"Pacific Blue Ocean Logistics LLC"}'
```

```python
from run_hand import run_hand

dossier = run_hand({
    "domain": "vendor_scorecard",
    "company_name": "Acme Cloud Infrastructure Ltd",
    "reg_no": "0000320193",
    "url": "https://example.com",
    "tenant_id": "bazaar-agent-01",
    "max_budget_micros": 100000,
})
assert dossier["ok"] is True
assert dossier["zero_data_resale"] is True
```

---

## Exact `ScreenDossier` Response Schema & Risk Tier Scale

Every valid screen returns:
- `ok` (`bool`), `status_code` (`200`), `dossier_id` (`str`), `domain` (`str`), `detected_format` (`str`)
- `risk_score_0_100` (`int` `0..100`, where `0` = cleanest, `100` = severest public-data risk)
- `risk_tier` (`"LOW"` `0–24`, `"MEDIUM"` `25–49`, `"HIGH"` `50–74`, `"CRITICAL"` `75–100`)
- `summary` (`str`)
- `findings_count` (`{critical, high, medium, low, info, total}`)
- `findings` (`list[dict]` — `{rule_id, severity, title, description, evidence, match_score, remediation}`)
- `false_positive_exclusions` (`list[dict]` — `{candidate, list_source, similarity_score, exclusion_reason}`)
- `signals` (`dict` — normalized IDs, DNS/TLS metadata, sanctions normalized tokens, OSS bus factor, or sub-domain score breakdown)
- `cache` (`{hit, scope, ttl_seconds, price_percent}`)
- `billing` (`{base_price_micros, billed_micros, billed_usd, external_cost_micros, tenant_id, charge_reason}`)
- `billed_micros` / `charged_micros` (top-level `int`, ALWAYS `0` on `422`/SSRF/fake-200/error)
- `sha256_attestation` & `receipt_sha256` (deterministic 64-hex SHA-256 over canonical core findings & exclusions)
- `disclaimer` (public-data boundary notice), `zero_data_resale` (`true`), `generated_at_utc` (`ISO-8601 UTC`)

### Agent Recovery Playbook

- **HTTP `422` (`billed_micros: 0`)**: Input was empty, sentinel (`"N/A"`), malformed, or blocked by the SSRF private-IP/metadata guard. Fix target/format before retrying — zero credits were consumed.
- **Same-Tenant Verification**: Re-submit with the same `X-Tenant-Id` within 7d–30d to refresh or re-read a cached dossier at `10%` of base price.
- **Attestation Check**: Pass any received `ScreenDossier` to `screen_verify_attestation` via `/mcp` (`$0`) to verify tamper-free integrity before attaching evidence to onboarding approvals.
