INDRA: Formal Vulnerability Proof and Automatic Rule Synthesis Without Database Damage
Conventional scanners fire blind payloads at live services, risking table corruption and flooding engineers with false alarms. Similarly, conversational language models guess security advice from text statistics without executing a single socket check or verifying a cryptographic hash chain.
The INDRA platform (Invariant-guided Neural Discovery, Reconnaissance, and Attack-synthesis) resolves this trade-off at the transport layer. An in-path software wire filter blocks every destructive mutation before socket transmission, proves each flaw on a minimal formal witness against a paired control decoy, and compiles a ready defense contract for the mcp-sentinel proxy in under 50 milliseconds.
Empirical Testbed Receipt
All accuracy and latency figures on this site are computed dynamically from the labeled benchmark ground_truth.json by verify_gate_b.py and checked for zero hardcoded constants by abstract syntax tree (AST) verifier verify_gate_c.py.
Stand Status: CONFORMANT_GREEN (Gates A-E: 12/12 PASS)
Benchmark Sample: N = 28 (14 vulnerable + 14 control decoys)
Confusion Matrix: TP = 14 | FP = 0 | TN = 14 | FN = 0
Measured Rates: FPR = 0.0% | FNR = 0.0% | Precision = 100.0%
Wire Sandbox: 26/26 destructive mutations blocked (100.0%)
Rule Synthesis: 10-20 µs (< 0.05 s per vulnerability class)
Sentinel Filter: ~0.016 ms (in-memory) | ~22.5 ms (disk ledger)
GOST Ledger Hash: 12893d4741eac397918241743e88a613d6b1b1c6309ee77ebe6bb21fbccc9be3
indra_audit_passport.json | Timestamp: 2026-10-25T06:23:34Z | Hash: GOST R 34.11-2012
TP / FP / TN / FN) across N = 28 labeled benchmark scenariosmcp-sentinel 1.1.2 contract check in memory and with synchronous disk GOST receiptGate A through Gate E) from clean offline install1. Visual Explanation: Why Blind Scanners Break Databases While INDRA Proves Safety
To make the engineering mechanism clear at a glance to both non-technical decision-makers and principal security engineers, the diagram below compares conventional active scanning against the in-path wire filter of INDRA. A traditional tool transmits raw mutations directly to the server socket and relies on human analysts to sort through dozens of ambiguous error responses.
In the upper row, unguarded payloads reach the live database and generate false alarms that require weeks of manual triage. In the lower row, the software wire filter intercepts every destructive command inside the test runner, confirms the flaw on a harmless differential witness, and outputs a ready gateway rule in 50 milliseconds.
2. Interactive Five-Stage Pipeline (L1 through L5): Plain Meaning and Engineer's Proof
Every verification cycle moves through five deterministic stages without calling external cloud models or exposing internal traffic to third parties. Click any stage button below the schematic to inspect both the plain-language explanation and the exact technical proof recorded on the reference stand.
Stage L1: Route and Parameter Mapping (ScopeGuard)
Before sending a single test request, the verifier checks the target address against an explicit allowlist. If a route or redirect points outside the approved local testbed, the check stops immediately.
Module: ScopeGuard + ScopedRedirectHandler
Allowlist: localhost:8888, localhost:8890
HTTP 301/302/307/308 external hop -> ScopeViolationError
Gate A Verification: 1.140 s (PASS, rc=0)
3. Live Deterministic Wire-Filter & Immune Rule Simulator (What Language Models Cannot Do)
A conversational language model predicts words from training text and cannot execute an in-path AST wire check, compute a cryptographic Streebog-256 ledger receipt, or guarantee zero false positives on a 28-route testbed. Use the interactive simulator below to test any of the eight benchmark vulnerability classes or submit a custom request string against the live deterministic engine on this host.
{
"status": "VERIFIED_DETERMINISTIC",
"vector": "INJ-SQL",
"scan_mode": "AUTO_SCAN",
"wire_sandbox": {
"decision": "BLOCKED_DESTRUCTIVE_MUTATION_BEFORE_SOCKET",
"sandbox_rule": "SEC-ZD-SQL-01",
"blocked_tokens": ["DROP TABLE", "TRUNCATE"],
"packets_sent_to_live_db": 0
},
"formal_witness": {
"witness_hash": "85de2412c34d4965",
"stand_confusion_matrix": "TP=2, FP=0, TN=2, FN=0 (FPR=0.0%)"
},
"immune_compiler": {
"compiled_rule_id": "IMMUNE-SQL-85DE2412",
"synthesis_elapsed_sec": 0.00001,
"mcp_sentinel_latency_ms": {
"in_memory": 0.016,
"disk_gost_ledger": 22.5
}
},
"ledger_receipt": {
"algorithm": "GOST R 34.11-2012 (Streebog-256)",
"passport_digest": "12893d4741eac397918241743e88a613d6b1b1c6309ee77ebe6bb21fbccc9be3"
}
}
zero_damage_sandbox.py + immune_compiler.py | Dual Latency: ~0.016 ms memory / ~22.5 ms disk
4. Reference Matrix of 7 Active Auto-Scan Classes and 1 Isolated Lab Class
In the factory test passport (INDRA_AUDIT_PASSPORT.md), the eight vulnerability classes are divided into seven active probing classes (AUTO_SCAN, four scenarios each on the N = 28 stand) and one isolated laboratory class (LAB_ONLY, DOS-RSRC). Separating resource exhaustion into laboratory mode guarantees that routine automated scans never degrade production or staging targets.
| Class Code | Vulnerability Class & Technical Deep Dive | Scan Mode | Stand TP / FP / TN / FN |
Witness Hash | Compiled Contract |
|---|---|---|---|---|---|
INJ-SQL |
Database Query Injection | AUTO_SCAN |
2 / 0 / 2 / 0 |
85de2412c34d4965 |
IMMUNE-SQL-85DE2412 |
INJ-CMD |
Operating System Command Injection | AUTO_SCAN |
2 / 0 / 2 / 0 |
e22a45273df881ef |
IMMUNE-CMD-E22A4527 |
DIR-TRV |
Filesystem Path Traversal | AUTO_SCAN |
2 / 0 / 2 / 0 |
a17dfc4aef33a97d |
IMMUNE-FS-A17DFC4A |
AUTH-BOLA |
Broken Object Level Authorization | AUTO_SCAN |
2 / 0 / 2 / 0 |
e3ff9c8cdc04a3d1 |
IMMUNE-BOLA-E3FF9C8C |
SSRF-INT |
Server-Side Request Forgery and Redirect Bypass | AUTO_SCAN |
2 / 0 / 2 / 0 |
275905904349f049 |
IMMUNE-SSRF-27590590 |
SEC-LEAK |
Authentication Token and Secret Exposure | AUTO_SCAN |
2 / 0 / 2 / 0 |
2c95eab46a673898 |
IMMUNE-SEC-2C95EAB4 |
HDR-SEC |
Missing Transport and Framing Security Headers | AUTO_SCAN |
2 / 0 / 2 / 0 |
82f5eb1f4842ff2b |
IMMUNE-HDR-82F5EB1F |
DOS-RSRC |
Computational Resource Exhaustion (Isolated Lab Mode) | LAB_ONLY |
Lab Guarded (SEC-ZD-DOS-01) |
cf88675b91a40e12 |
IMMUNE-DOS-CF88675B |
INJ-SQL
AUTO_SCAN (TP=2, FP=0, TN=2, FN=0)
Database Query Injection
Formal witness verification and automatic rule compilation for database query injection (INJ-SQL) with zero false positives on the 28-scenario benchmark.
85de2412c34d4965 | Compiled Rule: IMMUNE-SQL-85DE2412 (10 µs)
INJ-CMD
AUTO_SCAN (TP=2, FP=0, TN=2, FN=0)
Operating System Command Injection
Zero-damage verification of operating system command injection (INJ-CMD) with formal witness e22a45273df881ef and rule IMMUNE-CMD-E22A4527.
e22a45273df881ef | Compiled Rule: IMMUNE-CMD-E22A4527 (20 µs)
DIR-TRV
AUTO_SCAN (TP=2, FP=0, TN=2, FN=0)
Filesystem Path Traversal
Deterministic verification of filesystem path traversal (DIR-TRV) with witness a17dfc4aef33a97d and auto-compiled contract IMMUNE-FS-A17DFC4A.
a17dfc4aef33a97d | Compiled Rule: IMMUNE-FS-A17DFC4A (10 µs)
AUTH-BOLA
AUTO_SCAN (TP=2, FP=0, TN=2, FN=0)
Broken Object Level Authorization
Differential verification of Broken Object Level Authorization (AUTH-BOLA / IDOR) with witness e3ff9c8cdc04a3d1 and rule IMMUNE-BOLA-E3FF9C8C.
e3ff9c8cdc04a3d1 | Compiled Rule: IMMUNE-BOLA-E3FF9C8C (20 µs)
SSRF-INT
AUTO_SCAN (TP=2, FP=0, TN=2, FN=0)
Server-Side Request Forgery and Redirect Bypass
Verification of Server-Side Request Forgery (SSRF-INT) and redirect scope enforcement with witness 275905904349f049 and rule IMMUNE-SSRF-27590590.
275905904349f049 | Compiled Rule: IMMUNE-SSRF-27590590 (20 µs)
SEC-LEAK
AUTO_SCAN (TP=2, FP=0, TN=2, FN=0)
Authentication Token and Secret Exposure
Verification of secret and token exposure (SEC-LEAK) with zero-exfiltration handling, witness 2c95eab46a673898, and rule IMMUNE-SEC-2C95EAB4.
2c95eab46a673898 | Compiled Rule: IMMUNE-SEC-2C95EAB4 (20 µs)
HDR-SEC
AUTO_SCAN (TP=2, FP=0, TN=2, FN=0)
Missing Transport and Framing Security Headers
Verification of mandatory transport security headers (HDR-SEC) with witness 82f5eb1f4842ff2b and auto-compiled policy IMMUNE-HDR-82F5EB1F.
82f5eb1f4842ff2b | Compiled Rule: IMMUNE-HDR-82F5EB1F (20 µs)
DOS-RSRC
LAB_ONLY (SEC-ZD-DOS-01)
Computational Resource Exhaustion (Isolated Lab Mode)
Isolated laboratory verification of computational resource exhaustion (DOS-RSRC) under sandbox rule SEC-ZD-DOS-01 and contract IMMUNE-DOS-CF88675B.
cf88675b91a40e12 | Compiled Rule: IMMUNE-DOS-CF88675B (15 µs)
5. Clean-Room Demarcation, Honest Boundaries, and Offline Reproducibility
Engineering trust requires explicit boundaries regarding what the platform measures and where its scope ends. Every deployment of INDRA adheres to four verifiable technical and legal boundaries:
- In-path software wire filter: The
Zero-Damage Sandboxis a deterministic software interceptor in the request path (zero_damage_sandbox.py) that inspects candidate probes before network transmission. On the reference stand it blocked26 of 26destructive mutations intest_sandbox_integrity.pyand7 of 7destructive probes in Gate B. - Clean-Room separation from closed solver cores: The
indra-corepackage and the open-source utilities (mcp-sentinel 1.1.2,iss-ledger-117 1.1.1,iss-agent-kit 0.1.1) operate on the Python standard library under the Apache-2.0 license without exposing proprietaryZ3satisfiability modulo theories (SMT) formulas. - Dual Latency disclosure for
mcp-sentinel: Contract checking insidemcp-sentinel 1.1.2takes approximately0.016 millisecondsin process memory and approximately22.5 millisecondswhen writing a synchronousGOST R 34.11-2012receipt to disk. - Factory test passport disclaimer: The generated document
INDRA_AUDIT_PASSPORT.mdis an internal developer factory test protocol structured aroundGOST R 56939-2024and Order No. 117 of the Federal Service for Technical and Export Control of Russia (FSTEC of Russia) dated April 11, 2025 (clauses 60-61), and does not replace a state compliance certificate.
Request the Offline Evaluation Kit or Joint Stand Verification
The offline wheel bundle (--no-index --find-links) and standalone verifier scripts are provided for isolated laboratory testing and enterprise pilot evaluations. Submit a work email below without page reload or write directly to info@isslan.ru.