Zero-Secret BYOK, SSRF Guardrails & $0-on-Miss Architecture
Understand the 4 enforced runtime guardrails powering Mass-Devour-DevCloud: zero LLM calls, strict SSRF blocking, memory-only BYOK token pass-through, and anti-fake-200 / CAPTCHA $0 settlement.
llm_calls == 0)
0 micro-USD
https://devour-dev.fastmesh.dev/mcp · SuperBus https://mcp.fastmesh.dev/mcp
1. Live-Verified Upstream Endpoint Specification
Every endpoint below was live-verified over HTTPS 200 and compiled into a Swallow-Anything v3 manifest with cryptographic SHA-256 checksums, SSRF IP blocking, and strict empty-result rules.
| Organ Slug & IDs | Method & Live Upstream Endpoint | Cache TTL | Verified Hit Price | Auth Mode | Live Probe |
|---|---|---|---|---|---|
github_public_repodevcloud:github_public_repo · fastmesh:devcloud_github_public_repo | GET https://api.github.com/repos/{owner}/{repo} | 7d (604800s) | 1500 micro-USD ($0.0015) | optional_byok | HTTP 200 (1407.9 ms) |
gitlab_public_projectdevcloud:gitlab_public_project · fastmesh:devcloud_gitlab_public_project | GET https://gitlab.com/api/v4/projects/{id} | 7d (604800s) | 1500 micro-USD ($0.0015) | optional_byok | HTTP 200 (1061.0 ms) |
nvd_cve_lookupdevcloud:nvd_cve_lookup · fastmesh:devcloud_nvd_cve_lookup | GET https://services.nvd.nist.gov/rest/json/cves/2.0 | 14d (1209600s) | 2500 micro-USD ($0.0025) | optional_byok | HTTP 200 (2105.7 ms) |
Primary Organ Empty-Result Guardrails (github_public_repo):
Requires non-empty id, full_name; strictly bills $0 if empty object/array is zero-length or if HTML/CAPTCHA interstitials are detected.
2. Executable MCP JSON-RPC 2.0 & REST Invocation
A. MCP JSON-RPC 2.0 (POST https://devour-dev.fastmesh.dev/mcp)
Discover free via devcloud_search and devcloud_schema, then execute via devcloud_call (or invoke github_public_repo directly as the MCP tool name):
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "devcloud_call",
"arguments": {
"slug": "github_public_repo",
"params": {
"owner": "python",
"repo": "cpython"
},
"tenant_id": "devsecops-ci"
}
}
}
B. Direct REST API (POST https://devour-dev.fastmesh.dev/v1/organs/github_public_repo/invoke)
curl -sS -X POST https://devour-dev.fastmesh.dev/v1/organs/github_public_repo/invoke \
-H 'Content-Type: application/json' \
-H 'X-Tenant-Id: devsecops-ci' \
-d '{"params":{"owner":"python","repo":"cpython"}}'
3. Real JSON Schema, Input Payload & Verified Output Receipt
Input JSON Schema (github_public_repo)
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[A-Za-z0-9_.-]+$",
"description": "GitHub organization or user login (for example, python)."
},
"repo": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_.-]+$",
"description": "GitHub repository name (for example, cpython)."
}
},
"required": [
"owner",
"repo"
],
"additionalProperties": false
}
Sample JSON Request Body
{
"params": {
"owner": "python",
"repo": "cpython"
},
"tenant_id": "devsecops-ci"
}
Verified JSON Output Envelope (0-LLM + SHA-256 Receipt)
{
"ok": true,
"verified": true,
"status_code": 200,
"slug": "github_public_repo",
"cap_id": "devcloud:github_public_repo",
"outcome": {
"id": 81598961,
"full_name": "python/cpython",
"private": false,
"default_branch": "main",
"stargazers_count": 64000,
"forks_count": 30500,
"license": {
"spdx_id": "NOASSERTION"
}
},
"charged_micros": 1500,
"upstream_cost_micros": 0,
"cached": false,
"cache_status": "origin_verified_stored",
"cache_ttl_sec": 604800,
"external_http_calls": 1,
"llm_calls": 0,
"zero_llm": true,
"zero_charge_on_miss": true,
"byok_used": false,
"receipt_sha256": "8f3c2d7e91a4b5c6d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3",
"latency_ms": 1408
}
4. Production Engineering Use Cases & Safety Guarantees
- Use optional BYOK headers (X-GitHub-Token, X-GitLab-Token, X-NVD-API-Key) strictly in volatile memory with zero disk storage or request log leakage.
- Block loopback, RFC1918 private, link-local, cloud metadata (169.254.169.254), IPv6 loopback (::1), and file:// URLs before any socket opens.
- Eliminate wasted spend: HTTP 422 schema rejections, 404 misses, empty arrays, fake-200 HTML shells, and CAPTCHA/login gates strictly bill 0 micro-USD.
- Zero customer trajectory resale: prompts, parameters, and response payloads are never resold or used for external model training.
Prepaid Non-Expiring Credits: Try live in 5 seconds with zero signup, then top up via Creem prepaid packs — Starter $19 (19M micro-USD), Pro $79 ($90 credit value, +14% bonus), or Scale $249 ($310 credit value, +24% bonus). Zero trajectory resale and zero plaintext secret storage.
5. Related DevCloud 25 MCP Guides
- Zero-LLM Deterministic DevOps & Cloud MCP Catalog — Platform Pillar
- OSV.dev Vulnerability Lookup MCP Server — Security & Vulnerabilities
- NIST NVD CVE 2.0 & CISA KEV Security MCP — Security & Vulnerabilities
- OpenAPI 3 Reference & HTTP Headers Diagnostics MCP — Protocols & Dev Diagnostics