Stage-Supervised Latent Reasoning for Single-Shot JavaScript Deobfuscation
On the map: LLM reasoning → Reasoning for agents, planning and code also fits: Test-time compute and efficient thinking
Abstract (arXiv)
JavaScript obfuscation is widely used to protect code, but it also makes program analysis and security review substantially harder. Existing LLM-based deobfuscation methods usually treat the task as one-step translation, ignoring the staged structure of practical deobfuscation pipelines. This WIP paper proposes a stage-aware latent reasoning framework that converts intermediate outputs from a deterministic deobfuscation tool into supervision for Coconut-based training. The model learns from multi-stage rewrites during training but generates the final cleaned program in a single shot at inference time. Preliminary results on JsDeObsBench show that the Coconut-based model improves syntactic validity to 50%, compared with 15% for direct fine-tuning and 25% for a zero-shot baseline, and reaches 80% semantic correctness among valid outputs, indicating better semantic faithfulness than either comparison model in deobfuscation.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 2 of its 8 references that are in the map. First posted on arXiv 22 Sep 2026.
Builds on
2 of 8 references.
References · 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Can LLMs Deobfuscate Binary Code? A Systematic Analysis of Large Language Models into Pseudocode Deobfuscation ↗
- 2026Don't Judge a Book by its Cover: Testing LLMs' Robustness Under Logical Obfuscation
- 2025OpenCodeReasoning: Advancing Data Distillation for Competitive Coding
- 2026UNBIND: UNlearning By INference-time Directional Steering for Code LLMs
- 2025Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination
- 2025textttReMind: Understanding Deductive Code Reasoning in LLMs
- 2026The Effect of Code Obfuscation on Human Program Comprehension ↗
- 2025Code Execution as Grounded Supervision for LLM Reasoning