SSRF-Hardened Public Domain & TLS Inspector with Strict $0 Billing on HTTP 422
Letting autonomous AI agents pass untrusted vendor URLs into naive network scrapers risks SSRF exposure against internal VPCs and cloud metadata services. Screen-Anything enforces strict pre-socket CIDR blocking and charges $0 on every HTTP 422 rejection.
zero_data_resale: true. Submitted vendor names, custom CSV/XML watchlists, domains, and batch files are never sold, licensed, or used to train third-party AI models.
Deterministic Screening Rules & Risk Matrix
Every call normalizes inputs deterministically, enforces SSRF and empty-payload HTTP 422 guards at $0.00, and outputs a 0–100 risk score with LOW, MEDIUM, HIGH, or CRITICAL tiering.
| Rule ID | Deterministic Check Condition | Severity | Reference | Action / Outcome |
|---|---|---|---|---|
SSRF-META-01 | Block 169.254.0.0/16, metadata.google.internal, and instance-data | Critical | Cloud Metadata | Rejected pre-socket -> HTTP 422, billed_micros = 0 |
SSRF-PRIV-02 | Block 127.0.0.0/8, ::1, 10/8, 172.16/12, 192.168/16, 100.64/10 | Critical | RFC1918 / CGNAT | Resolves DNS A/AAAA records and blocks private IP rebinding |
SSRF-SCHM-03 | Reject file://, ftp://, gopher://, javascript:, data: URI schemes | Critical | Scheme Allowlist | Permits public http:// and https:// only |
SSRF-FAKE200-04 | Block deceptive HTTP 200 HTML gateway shells on JSON endpoints | High | Anti-Fake-200 | Never caches or bills deceptive HTML responses |
Concrete Request & Attested ScreenDossier Schema
Use one flat JSON contract across REST, MCP, and Treg Hub. Every verified response attaches a canonical 64-hex sha256_attestation and exact micro-USD billing receipt.
Request Payload (POST /api/screen)
{
"domain": "domain_tls",
"url": "http://169.254.169.254/latest/meta-data/"
}
Verified Response (200 OK · Zero Data Resale)
{
"ok": false,
"error": "SSRF guard blocked link-local/metadata target",
"error_code": "SSRF_BLOCKED",
"billed_micros": 0,
"zero_data_resale": true
}
Step-by-Step Verification Workflow
- Validate URL scheme (http/https only) and reject non-HTTP schemes immediately at $0.
- Parse literal IPs (IPv4, IPv6, decimal, hex) and resolve hostnames to check every address against blocked CIDRs.
- Return HTTP 422 with error_code='SSRF_BLOCKED' and billed_micros=0 before any outbound socket connects.
- Proceed to passive TLS/DoH inspection only when all resolved IPs are globally routable public addresses.
Pricing Comparison vs. Middesk, Sayari, ComplyAdvantage, OpenSanctions & Socket.dev
Non-expiring fixed prepaid packs ($19 Starter = ~380 avg screens, $79 Growth +10% bonus = ~1,738 avg screens, $249 Scale +20% bonus = ~5,976 avg screens) replace annual enterprise sales contracts and per-seat taxes.
| Platform | Public / Benchmark Pricing | Structural Limitation | Screen-Anything Advantage |
|---|---|---|---|
| Middesk | Quote-only (~$10k–$200k+/yr inferred ACV; ~$2–$5/call) | Sales-led annual commitments; zero OSS health or /mcp agent endpoint | $19 non-expiring starter pack; $0.04–$0.08/call across all 5 domains |
| Sayari | Quote-only ($25k–$150k+/yr inferred contracts) | Named analyst seats and Tier-1 minimums lock out startups and APIs | Instant 5-second Try-Now UI + REST + /mcp with zero seat lock-in |
| ComplyAdvantage | $99–$319/mo Starter; quote-only Enterprise API | Production real-time API gated behind Enterprise contracts; sanctions-only | $0.05/call sanctions_fuzzy with zero monthly subscription + KYB/TLS/OSS |
| OpenSanctions | €50/500 credits (€0.10/query); 1-year credit expiry | Watchlists only; credits expire after 12 months; €2k–€15k for bulk tiers | Non-expiring credits at $0.05/call (>50% cheaper) + custom CSV/XML lists |
| Socket.dev | $25–$50/active committer/mo (Team/Business) | Per-committer tax and SCM lock-in; zero KYB, DNS/TLS, or sanctions | $0.05/call oss_health bus-factor & takeover scoring with zero seat fees |
Invoke via REST API, Native /mcp, or 0%-Commission Treg Hub
1. REST API (POST https://screen.fastmesh.dev/api/screen)
curl -fsSL -X POST "https://screen.fastmesh.dev/api/screen" \
-H "Content-Type: application/json" \
-H "X-Tenant-Id: procurement-ops" \
-d '{
"domain": "domain_tls",
"url": "http://169.254.169.254/latest/meta-data/"
}'
2. Native JSON-RPC 2.0 MCP Server (POST https://screen.fastmesh.dev/mcp)
curl -fsSL -X POST "https://screen.fastmesh.dev/mcp" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "screen_vendor",
"arguments": {
"domain": "domain_tls",
"url": "http://169.254.169.254/latest/meta-data/"
}
}
}'
3. Treg Hub QuickJS Package (0% Seller Commission)
treg call screen-anything-kyb-oss-screener --data '{"domain": "domain_tls", "target": "http://169.254.169.254/latest/meta-data/", "verify": true, "max_cost_micros": 100000}'
Frequently Asked Questions
Does Treg Hub's QuickJS wrapper also enforce SSRF blocking locally?
Yes. treg_hub/run.js enforces the identical SSRF CIDR guard locally before invoking ctx.call() and guarantees $0 charge.
What if a public domain resolves via DNS to 127.0.0.1 (DNS rebinding)?
The backend resolves DNS before connecting and blocks any private/loopback resolved IP with HTTP 422 at $0.
Are failed SSRF attempts ever written to the archive cache?
Never. HTTP 422 and error responses are unconditionally excluded from ArchiveCache.