Tinplate 42 Edge APIs

Benchmarks & Honest Limitations

Security and compliance buyers deserve reproducible numbers, public test corpora, and clear engineering boundaries—not marketing claims of "100% protection". Below are our dated benchmark results, how they are measured, and what each engine does and does not catch.

Measurement Methodology & Public Corpora

How We Measure Latency & Accuracy (Compute Time vs. Network RTT)

Published Benchmark · 14 November 2026

1. Prompt Injection Detection API (/v1/prompt-guard v2)

Evaluated via scripts/benchmark-prompt-guard.ts against a 104-prompt labeled corpus (64 adversarial attacks across 7 categories + 10 languages, and 40 benign developer/support/code prompts) at default sensitivity: "medium" in deterministic mode (use_ai_judge: false):

Metric Measured Value (14 Nov 2026) Notes
Detection Recall (TPR) 93.8% (60 / 64 attacks flagged) Covers direct overrides, role hijacks, system prompt extraction, Base64/Hex/ROT13/Leetspeak, Unicode tags, and multilingual attacks
False Positive Rate (FPR) 0.0% (0 / 40 benign prompts flagged) Includes benign SQL/Python discussions, security training questions, and multilingual business emails
Precision / F1 Score 100.0% Precision / 96.8% F1 Zero false alarms on the benign benchmark set
In-Worker V8 Compute Time P50: 0.024 ms · P99: 1.040 ms In-process V8 isolate compute (full Hono Gateway compute P50 is 0.384 ms; client HTTPS RTT is typically 15–65 ms; optional use_ai_judge: true adds ~150–450 ms)

What Prompt Injection Detection Does Not Catch

Published Benchmark · 14 November 2026

2. Log Redact & Secret Scanner (/v1/secret-scanner)

Evaluated via scripts/benchmark-secret-scanner.ts against a 60-case labeled corpus (40 structured & high-entropy secrets covering all 28 supported secret categories compared against gitleaks/trufflehog rule sets, plus 20 benign logs, stack traces, UUIDs, Git SHAs, and lockfile SRI hashes):

Metric Measured Value (14 Nov 2026) Notes
Detection Recall (TPR) 100.0% (40 / 40 secrets detected, 0 misses) Near-zero misses across all 28 categories (AWS, GitHub, GitLab, Stripe, Slack, OpenAI, Anthropic, Google AI, HuggingFace, SendGrid, Twilio, Mailgun, NPM, PyPI, Docker, Shopify, Databricks, DigitalOcean, Linear, Supabase, Postman, Discord, Telegram, PEM keys, JWT, Basic/Bearer Auth, DB URIs, high-entropy assignments)
False Positive Rate (FPR) 0.0% (0 / 20 benign cases flagged) Zero false alarms on UUIDv4s, 40/64-char Git SHAs, SHA-512 SRI hashes, CSS hashes, stack traces, and example placeholders
Precision / F1 Score 100.0% Precision / 100.0% F1 Deterministic prefix + structural rules combined with context-gated Shannon entropy
In-Worker V8 Compute Time P50: 0.051 ms · P99: 2.864 ms In-process V8 isolate compute (full Hono Gateway compute P50 is 0.209 ms; client HTTPS RTT is typically 15–65 ms)

What Secret Scanner Does Not Do

Published Benchmark · 14 November 2026

3. Deterministic Hallucination Diff (/v1/hallucination-diff)

Evaluated via scripts/benchmark-hallucination-diff.ts against 25 labeled RAG source-answer pairs (10 grounded answers, 13 factual number/date/entity hallucinations, and 2 pure semantic negation inversions) in deterministic mode (use_ai_judge: false):

Metric Measured Value (14 Nov 2026) Notes
Human-Judgment Agreement Rate 92.0% (23 / 25 pairs) Agrees with human labels on 23 of 25 benchmark cases
Factual Number & Entity Recall 100.0% (13 / 13 factual fabrications caught) Catches all unsupported numbers, percentages, currencies, dates, and proper-noun entities
Grounded Answer Precision 100.0% (10 / 10 grounded answers passed) Handles comma-normalized numbers (e.g. 10,000 vs 10000) without false alarms
In-Worker V8 Compute Time P50: 0.051 ms · P99: 1.297 ms In-process V8 isolate compute (full Hono Gateway compute P50 is 0.178 ms; optional use_ai_judge: true adds ~150–400 ms)

Cheap First Filter, Not a Truth Detector

Spec Conformance Fixtures · 14 November 2026

4. Agent Tool-Call Validator & MCP Manifest Linter

Unlike statistical classifiers, /v1/tool-call-validator and /v1/mcp-manifest-linter are validated for deterministic correctness against provider specifications using dedicated JSON fixture suites in CI:

Compliance & Security Test Suites · 14 November 2026

5. High-Stakes Compliance, Financial & Cryptographic Auditors

For financial, tax, and cryptographic endpoints where a false validation carries legal or security impact, each engine is verified against statutory checksum algorithms and RFC test vectors in CI:

Published Benchmark · 14 November 2026

6. Portfolio-Wide 42-API In-Worker Compute Benchmark (49 POST Endpoints)

Evaluated via scripts/benchmark-all-apis.ts across all 42 APIs (49 POST endpoints, 100 measured iterations each after 10 warmup iterations) through the full Hono Gateway pipeline (request-ID, streaming size cap, constant-time auth, Zod OpenAPI validation, domain logic, and JSON envelope serialization):

Portfolio Metric Measured Value (14 Nov 2026) Notes
HTTP 200 Success Rate 100.0% (49 / 49 endpoints) All 42 APIs and multi-route endpoints verified end-to-end
Portfolio Median P50 Compute Time 0.205 ms (Min: 0.130 ms, Max: 2.996 ms) In-Worker V8 compute time (add 15–65 ms for typical client HTTPS network RTT to nearest Cloudflare PoP)
Portfolio Median P99 Compute Time 0.510 ms (Min: 0.214 ms, Max: 3.689 ms) 100% of endpoints achieve sub-4 ms P99 in-Worker compute time (256 KB pathological stress test max is 12 ms, well below the 100 ms Worker CPU cap)