StateLens finds 68 new JavaScript engine bugs using LLM-guided state instrumentation
StateLens discovers 68 previously unknown bugs and outperforms existing fuzzers on JavaScript engines
Security & privacy arXiv 21 Sep 2026 Method Prototype evidence
Published as “State-Aware Fuzzing of JavaScript Engines with LLM-Guided Instrumentation”
Why it matters
StateLens can uncover previously hidden security bugs in mature JavaScript engines, strengthening browser and server-side security ecosystems.
Summary
StateLens discovered 68 new bugs across six major JavaScript engines, including 35 with security impact, and found 39 unique bugs in a 72-hour run-70% more than the next-best fuzzer. It achieves this by automatically mining developer artifacts with LLM agents to place lightweight state-coverage probes and feeding a dual-feedback loop to the fuzzer. The approach adds modest overhead (5.5% slower execution and 23% higher memory use) and its state-coverage advantage is modest when edge coverage is already saturated.
What they found 4
- StateLens uncovered 68 bugs across six JavaScript engines
“StateLens uncovered 68 bugs across six JavaScript engines: 25 in V8, 14 in JavaScriptCore, 9 in Escargot, 7 each in SpiderMonkey and QuickJS, and 6 in Hermes.”
- StateLens found 39 unique bugs in 72 hours, 70% more than the best baseline
“StateLens discovers 39 unique bugs in total, while the second-best fuzzer, Fuzzilli, only finds 23 (a 70%↑).”
- StateLens incurs a 5.5% runtime overhead compared to edge-only fuzzing
“Fuzzilli executes 9.35M test cases and StateLens 8.83M, a 5.5% runtime overhead.”
- State coverage advantage over baselines is limited to under one percentage point in edge coverage gap
“its absolute gap from the best baseline remains below one percentage point on every engine.”
Caveats 2
- StateLens adds a 5.5% runtime slowdown and 23% higher memory usage during fuzzing.
- Even with state-coverage feedback, the edge-coverage gap to the best baseline stays under one percentage point, indicating limited advantage when edge coverage is already saturated.
What’s new here 4
- Automates identification and instrumentation of internal engine states using LLM agents, removing the need for manual annotation.
- Introduces a dual-feedback mechanism that combines traditional edge coverage with semantic state coverage to guide fuzzing.
- Synthesizes lightweight, read-only probes from developer comments, design docs, and bug reports, scaling across six real-world JavaScript engines.
- Demonstrates a probe-density and knowledge-base impact analysis, showing how LLM-driven probe selection improves bug discovery.