Tests & Benchmarks
Rigorous evaluation of the full 2026 SOTA protection stack under realistic attacker models, including LLM-powered deobfuscators.
The goal is not merely βdoes it look obfuscatedβ. Every change is measured against a 12-axis matrix that captures correctness, performance, integrity, surface quality, and β most critically β resistance to modern automated reverse engineering under strict blind conditions.
Adversarial Robustness
ISOLATED BLIND RECONSTRUCTIONTests use a dedicated internal harness with strict static surface only β no execution, no logic guessing, no source hints. This simulates a strong CASCADE-style LLM+IR attacker given only the protected artifact.
Size & Performance Characteristics
Full AβH stack, maximum preset, on realistic modules exercising licensing, feature gating, heavy arithmetic, cross-calls and data-dependent control flow.
| Original | Protected Output | Expansion | Encode Time |
|---|---|---|---|
| 14 KB | 150β197 KB | 10β14Γ | 2.8β3.7 s |
| 50 KB | 310β374 KB | 6β7Γ | 5.9β6.7 s |
| 100 KB | 496β529 KB | β5Γ | 13β18 s |
The 12-Axis Evaluation Framework
12 EVALUATION AXES| # | Test | What it validates |
|---|---|---|
| 01 | Correctness / usability | Run the exact same workload on original and (when it loads) protected. Outputs must match (or be within defined tolerance). We verified stable main() results across 5+ runs and 10k iterations. |
| 02 | Cold-start / loading overhead | Time require() (or process spawn + first work). Break down Stage-0 assembly vs VM init vs oracle evaluation vs first receipt/proof setup when possible. |
| 03 | Warm execution performance | Micro-benchmark representative hot paths (the 2k / 10k main() loops, 3k-iteration bench on the size files). Report avg time or ops/sec. |
| 04 | Memory footprint | process.memoryUsage() before/after require, after workload. Record RSS and heapUsed deltas (load + work). |
| 05 | Environmental sensitivity (D oracles) | Run under mocked "bad" env (no node signals, instant time, etc.). Record whether behavior diverges, validation fails, or traps are hit. (Design intent: oracles are load-bearing for receipt keys.) |
| 06 | Receipt / proof chain integrity (design + spot) | The architecture (receipt re-keys xk + folds P0 + lastReceipt into proofRoot via rolling FNV-style mul/xor at every receipt point; PCET at terminal; obligations that poison on invariant failure) is intended to make partial replay or out-of-order simulation produce garbage or traps. |
| 07 | Size & surface / obfuscation metrics | Original total bytes/LOC vs protected bundle(s). Quick surface checks (no internal engine names, "receipt point", "P0 entanglement", "living trap", "PCET", "ADTI-LHB", "ADTI" etc. self-names remain in emitted code β verified on protected artifacts). Per-build polymorphism (different line numbers in errors, different protected sizes across rebuilds). |
| 08 | Long-running stability | Run workloads 5β10Γ longer than the baseline (10k iterations). Watch for crashes, accumulating state growth, or non-deterministic drift in audit hashes / results. |
| 09 | Encoder regression gates | TypeScript compilation and the full JsGuardianVM regression suite (16/16 cases) are enforced and must remain green after any change to the protector engine. |
| 10 | Cross-build polymorphism & "protected artifact usability rate" | Re-encode the same sources multiple times (different seeds / Stage-0 choices). Count how many of N rebuilds produce a loadable artifact that passes the workload with correct output. (Current full AβH + cross-flatten on >tiny apps: low success rate on exotic Stage-0; robust variants higher but still expensive.) |
| 11 | Adversarial regression (when artifacts are loadable) | Internal isolated blind reconstruction harness on the graded benchmark series. Current results on maximum + full AβH stack: overall ~6, nameRecovery 0.00, crossRefScore 0.00. |
| 12 | Branding / self-description | Grep protected output for technique names. Must be clean (no engine codenames such as JsGuardianVM or internal technique markers may leak into artifacts). |
The full AβH stack delivers very strong properties when the protected artifact loads. The dominant remaining constraint is Stage-0 emission reliability for payloads beyond small single files under cross-flatten at maximum. Larger combined images still occasionally land on fragile loaders. Future iterations prioritize robust Stage-0 bias for complex apps while preserving the deliberate diversity of the eight heterogeneous outer loaders.