Papers for

web browser developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

JavaScript engine fuzzing improved by smart state-aware instrumentation

State-Aware Fuzzing of JavaScript Engines with LLM-Guided Instrumentation

Abstract: The security of the modern web depends on the correctness of JavaScript (JS) engines, yet these complex systems remain vulnerable to high-impact bugs. A critical limitation of state-of-the-art fuzzers is the coverage plateau: once a fuzzer saturates the control-flow graph, edge coverage loses its ability to guide discovery. Because complex engine behaviors, such as JIT optimization tiers and hidden class transitions, often share identical edge coverage, standard coverage metrics are blind to the distinct internal states required to trigger deep errors. To bridge this gap, we present StateLens, a framework that employs Large Language Models (LLM) to automate the discovery of deep internal states. Blindly placing instrumentation probes at all states is infeasible due to the vast state space and the high runtime overhead. StateLens introduces a novel agent-based reasoning pipeline that emulates the intuition of a security researcher. By iteratively traversing code and developer comments, our agents intelligently select high-value instrumentation targets, effectively separating logic-driving state variables from irrelevant data. This results in synthesizable, high-signal feedback probes that map the engine's hidden configurations. This instrumentation feeds a dual-feedback mechanism, effectively guiding the fuzzer toward unexplored engine semantics. Our evaluation confirms that StateLens significantly outperforms state-of-the-art fuzzers and uncovering 68 new bugs.

Mon 21 SeptCryptography and Security
The gist
JavaScript engines that run web code are very complex and sometimes have hidden problems that can cause security bugs. The researchers found that traditional testing methods get stuck because they can't tell apart different internal states of the engine that look the same on the surface. They created a new way called StateLens that uses large language models to find important internal engine details automatically, adding sensors that help tests explore deeper hidden bugs. Their approach helps the testing tools find more serious errors by understanding what’s really happening inside the engine.
Open 2609.24550v1

Cpu trojans activated by high-level code executed in browsers

Exploiting Software-level Abstractions To Support Practical Hardware Trojan Attacks

Abstract: Hardware trojan (HT) attacks against CPUs typically assume threat scenarios where an attacker targeting a system with a trojanized CPU is able to execute arbitrary code (i.e. machine-level instructions) to reliably interact with the implanted trojan. On end-user devices (i.e., mobiles, laptops), achieving arbitrary code execution in practice requires software exploits tailored to each specific target. Such strong adversarial premises reduce the generality of existing threat models casting doubt on CPU trojan attacks as a pragmatic threat vector. To push the envelope on HT attacks against client devices, we introduce the SURF class of CPU-trojans that can be activated without arbitrary code execution. Our key insight is that integer operations expressed in a high-level language can be mapped to microarchitectural side-effects distinguishable by a SURF trigger circuit. This observation unlocks HT activation via runtime engines, constrained environments executing untrusted high-level code. We demonstrate a SURF trojan inside a RISC-V processor and exploit JavaScript-level memory indexing operations inside Google's V8 engine to perform a code injection attack. Importantly, we show that SURF trojans remain effective across multiple JavaScript engine versions, enabling long-term compromise of endpoint devices. To facilitate research, we opensource SURF's design and supporting software.

Sat 19 SeptCryptography and Security
The gist
Most hardware trojan attacks assume the attacker can run any code on a device, which is hard to do in real-world users’ phones or laptops. The authors show a new kind of CPU trojan (called SURF) that can activate just by running certain high-level language instructions, like JavaScript code in a browser. They tested this on a RISC-V CPU and used JavaScript memory operations to trigger the trojan without needing full control over the device’s software. This means malicious hardware trojans could remain hidden and active across many browser versions, posing risks to everyday devices.
Open 2609.23173v1

Gaussian process optimization improves word hyphenation patterns efficiently

The Art of Hierarchical Competing Patterns: Gaussian Process Optimization of Hyphenation

Abstract: Hyphenation patterns remain a compact and widely deployed solution for word breaking in typesetting systems, text processors, and web rendering engines, but their generation still depends on manually tuned patgen program parameter profiles. We formulate patgen profile selection as a black-box hyperparameter optimization problem and evaluate Gaussian-process Bayesian optimization for this task. The search objective combines a precision-oriented F_{1/7}-score with an explicit trie size-accuracy trade-off using a normalized trie-size penalty. We evaluate the method on 17 hyphenated word-list datasets covering 14 languages and multiple scripts. Against two strong hand-tuned profiles regenerated from the same 8/10 training split and evaluated on the same 1/10 held-out test split, the GP-optimized profiles improve F_{1/7} on 16 of 17 datasets and reduce trie size on all 17. The median optimized/baseline trie ratio is 0.407. A dataset-level sign test gives p = 1.37e-4; a separate budget-matched comparison on five representative datasets shows that systematic search is competitive and usually improves over the best hand-tuned profile under the fixed comparison objective. The results show that model-based optimization can make pattern generation more reproducible and less dependent on expert trial-and-error while keeping the accuracy-compactness trade-off explicit.

Mon 7 SeptComputation and LanguageDigital LibrariesMachine Learning
The gist
Breaking words correctly at the end of a line is important for neat text layouts, and this uses rules called hyphenation patterns. These rules usually need expert tuning, which can be slow and inconsistent. The authors show that a machine learning method called Gaussian-process Bayesian optimization can automatically find better rules that both improve accuracy and reduce rule size. They tested this on many languages and found it usually beats expert-made rules, making the process easier and more reliable.
Open 2609.07638v1