Routing, Inference & Settlement Security Maps
Cryptographic verification maps for routing decisions, inference execution, DIU metering, and settlement integrity. Each map documents the controls, verification points, and trust boundaries for its domain.
Routing + Scheduling Security Map
Every routing decision in MeshInfer.AI is cryptographically signed, verifiable offline, and logged to an append-only audit chain. No routing decision can be honored without a valid Coordinator signature.
Routing decision trust chain
Every routing decision is cryptographically signed by the Coordinator and verifiable offline by the SDK. No routing decision is honored without a valid signature. The trust chain proceeds through five stages: (1) the Gateway verifies the caller's identity token and API key, evaluates the privacy policy claim synchronously, and authorizes the routing class against the subscription tier; (2) the Router Engine assembles the eligible node pool and selects a candidate using reputation, uptime, model cache state, and latency; (3) the decision is signed with a quantum-resistant signature scheme and logged to the append-only audit chain; (4) the SDK verifies the signature against the Coordinator's published public key before dispatching; (5) the task is dispatched through the internal message bus with an envelope encrypted to the destination node's public key.
Attack surface controls. Routing forgery is blocked by signature verification. Loop injection is caught by a circuit breaker on re-dispatch storms. Priority escalation is tier-gated at the Gateway. Traffic monopolization is prevented by exploration in candidate selection. Routing table corruption is caught by TTL expiry and periodic reconciliation. DDoS is mitigated at the edge with per-key rate limiting.
Routing security controls โ per threat vector
Inference Integrity Verification Guide
Inference results in the Distributed Intelligence Stack are protected by a three-layer integrity chain: end-to-end encryption in transit, Proof-of-Inference attestation for result correctness, and hash-chain audit for non-repudiation.
Inference integrity chain
Inference results are protected by a three-layer integrity chain. Layer 1 โ Transport: task envelopes and results are encrypted end-to-end between Coordinator and node using keys derived from the TLS channel; tampering causes authentication failure. Layer 2 โ Proof-of-Inference attestation: each task carries a deterministic seed bound to the task identity and model. The node runs inference under deterministic decoding conditions and submits a hash of its output. A sample of tasks is re-dispatched to an independent verifier to detect mismatches. Layer 3 โ Append-only hash chain: every result hash is chained into an append-only audit log stored for compliance evidence. The chain is append-only โ no past entry can be modified โ and uses a PQC-compatible leaf format for future upgrade paths.
Attack surface controls. Inference tampering is caught by the encryption auth tag. Replay attacks are blocked because the seed is bound to the task identity. Model spoofing is detected because the model identity is embedded in the seed. Result substitution triggers a hash mismatch and investigation. Fake compute is caught by PoI sampling. Unauthorized execution is blocked at the Gateway by the identity token check.
Inference integrity controls โ per threat
Inference verification audit commands
# Retrieve PoI attestation chain for a specific node (last 100 tasks):
curl "https://coordinator.meshinfer.ai/v1/admin/poi-chain/node_f9a3e2b1" -H "Authorization: Bearer msk_live_..." | jq '.chain_entries | length, .[0]'
# Manually verify a specific task's PoI hash:
meshinfer-admin verify-poi --task-id req_a1b2c3 --model llama-3.2-3b-q4 --output "expected output text" --seed "$(meshinfer-admin get-poi-seed --task-id req_a1b2c3)"
# Expected output:
# LEAF = <hash of task_id and normalized output> = cafe1234...
# Status: VERIFIED โ
# Check verification sample results for a node (last 7 days):
meshinfer-admin verification-report --node-id node_f9a3e2b1 --period 7d --format tableVital (DIU) + Settlement Security Map
The Distributed Intelligence Unit (DIU) is compute-backed, non-inflationary, and non-spoofable by design. The following map documents every control that enforces these properties.
DIU issuance trust chain
The Distributed Intelligence Unit (DIU) is compute-backed, non-inflationary, and non-spoofable by design. The issuance trust chain proceeds in three stages.Step 1 โ Task completion: the node submits its result hash and token count, signed with its device key. Step 2 โ Coordinator verification: the result is verified (or sampled for PoI), latency is checked against the SLO to derive a quality multiplier, and the token count is validated against a model heuristic. If all checks pass, the Billing Meter emits a signed issuance event crediting the node's wallet. Step 3 โ Settlement: MeshNativeExchange receives the batch of issuance events, verifies the Coordinator's signature and batch integrity, checks for duplicate requests, and commits wallet credits atomically and irrevocably.
Non-inflation guarantees. No issuance event is created without a matching completed request in the routing log. No node-side issuance API exists โ issuance is Coordinator-internal only. Self-dealing tasks (where the requester is also the node) are capped at a reduced quality multiplier. Sybil creation is capped by the Identity Service's limit on node identities per user.
DIU spend trust chain
The DIU spend trust chain governs requester wallet debits. Step 1:when a request is accepted at the Gateway, the caller's identity and subscription tier are extracted from the token, and a synchronous spend-cap check ensures the estimated spend fits within the plan limit โ if not, the request is rejected immediately with a 402 status. Step 2: after task completion, the Billing Meter computes the actual spend based on output tokens and route tier, and debits the requester's wallet atomically with the metering event write. Every charge is recorded in the audit log with the request identity, organization, and timestamp.
Attack surface controls. Hard-cap bypass is prevented by the synchronous cap check at the Gateway. Self-issuance is impossible because no node-side issuance API exists. Supply inflation is caught by the per-epoch conservation check. Settlement tampering is detected by the signed batch hash chain. Sybil issuance is capped by the Identity Service node-identity limit.
DIU security properties โ verification checklist
Auditors verify DIU integrity across four dimensions:
- Compute-backed: every issuance event has a matching completed request in the routing log; PoI verification pass rate meets the required threshold; submitted token counts fall within the model heuristic bounds.
- Non-inflationary: per epoch, the sum of node issuance, platform fees, and reserves reconciles against total spend with zero duplicate request IDs and no issuance from unregistered nodes.
- Non-spoofable: all issuance events carry a valid Coordinator-internal signature; no issuance is accepted from non-Coordinator sources; self-dealing tasks are capped at the reduced quality multiplier; no user exceeds the Identity Service node-identity limit.
- Settlement integrity: the batch hash chain is verified, settlement audit records are written for every epoch, and no epoch is committed with conservation drift.
Cross-System Attack Surface Report
Trust boundary map
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ TRUST BOUNDARY MAP โโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ ZONE 1: PUBLIC INTERNET (untrusted) โ
โ โโ Any browser, device, network path โ
โ โโ TLS 1.3 + HSTS enforced at Cloudflare edge for all five domains โ
โ โ โ
โ โโโโโโโโโโโโโโผโโโโโโโโโโโโโโโ โ
โ ZONE 2: AUTH BOUNDARY โ identity.dosfi.ai โ โ
โ โโ Only OIDC tokens from โ Ed25519 JWKS โ โ
โ identity.dosfi.ai โ DPoP binding โ โ
โ accepted at any system โ Hardware MFA for โ โ
โ โโ No cross-domain SSO โ high-risk ops โ โ
โ tokens (each system โโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ โ
โ verifies independently) โ OIDC propagation โ
โ โโโโโโโโโโโโโโผโโโโโโโโโโโโโโโ โ
โ ZONE 3: SERVICE FABRIC โ MeshInfer.AI Coordinator โ โ
โ โโ Internal mTLS only โ + MeshNativeExchange โ โ
โ โโ No public API access โ (internal mTLS, no public โ โ
โ to internal services โ API for diu_issued events)โ โ
โ โโ Service tokens โโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ โ
โ (not user tokens) โ Internal event bus โ
โ โโโโโโโโโโโโโโผโโโโโโโโโโโโโโโ โ
โ ZONE 4: NODE FABRIC โ 20 Mesh Nodes โ โ
โ โโ mTLS + DOSFI cert โ NATS JetStream subjects โ โ
โ โโ Sandbox isolation โ (per-NodeID auth) โ โ
โ โโ No node-to-node โ Encrypted task envelopes โ โ
โ direct communication โ (AES-256-GCM) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ZONE 5: EDUCATION (SANDBOXED) โ
โ โโ DosfiAcademy: isolated lab containers, Academy proxy token โ
โ โโ DosfiUniversity: exam tokens (device-bound, single-use) โ
โ โโ No production credential access from education zone โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Cross-system vulnerability matrix
Spoofing vulnerability matrix โ full ecosystem
Security verification โ automated audit commands
Security verification is performed through the admin audit tooling against five domains: Identity Fabric (JWKS key validation, unexpected token issuance detection), Node Security (hardware keystore verification, heartbeat signature failure rates), Routing Security (routing signature audit trail completeness, loop detection), DIU Security(conservation verification per epoch, self-dealing detection), andCross-System (TLS 1.3 enforcement across all five ecosystem domains). All audit outputs are archived with the SOC 2 evidence package. Specific command syntax is available to authorized operators through the internal admin console.
