Papers for

browser engineers

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.

Android agents need better source tracking for safer actions

From Observations to Authorized Actions: Measuring Source Information in Android Agents

Abstract: Android agents read content from applications and web pages and act on it with the user's authority, yet they cannot reliably tell where that content came from -- its source, the application or document that supplied it. The WebView accessibility fields we inspected expose the host application but omit the document origins available inside the browser, so an agent reading through this interface cannot check which document supplied an object; a limited reproduction on an unmodified WebView yields the same finding. We build and separately evaluate two prototypes to examine how source information supports authorization. Our application-source monitor withholds side-effecting calls whose signed source record contains an untrusted application. With the source set derived from the OS accessibility log, it blocked every selected attack write in the tested runs, but it also withheld benign sends issued after reading untrusted content, flagged benign tasks that use external content, and carried source records into a later clean task. Our WebView source-reference gate uses records from a modified browser to check object origins and reference lifetime through direct calls; in a separate 24-trial evaluation, the live agent selected no disallowed object. Supporting benchmark and planner measurements characterize textual argument matches and attacker-target selection, without establishing causal dataflow or a controlled model ranking. The prototypes are not an integrated defense: the WebView gate still lacks authenticated browser delivery and atomic capture of selected bytes and origin. Together, the results show which source information the tested policies need and why it must stay linked to the object used in execution.

Sun 11 OctCryptography and SecurityOperating Systems
The gist
Android apps called agents act on information taken from other apps or web pages, but they often can’t tell exactly where that information came from. The authors show that current methods inside Android’s WebView only know which app provided the content, not the specific document or page. They built and tested two prototype tools that track source information better to prevent agents from misusing untrusted content. While promising, their systems still have limitations and are not complete solutions yet. The work clarifies why knowing and keeping the source linked to data is important for authorizing actions safely.
Open → 2610.15502v1

Efficient memory compartmentalization scales UNIX processes beyond current limits

Efficient Linkage-Based Compartmentalization on CHERI

Abstract: We present an efficient linkage-based model for in-process compartmentalization built on CHERI memory safety, which enables fine-grained compartmentalization of the entire UNIX user-space, scaling to 10K+ compartments on desktop systems. The model's "push-button" compartmentalization along existing library boundaries regularly hosts 500+ compartments per process for large applications such as Chromium, far exceeding the number of concurrently available protection domains supported by other mechanisms (e.g., up to 16 for Intel MPK). Custom policies can further subdivide libraries. Of the thousands of C/C++ programs tested, only the V8 JavaScript engine required source-level adaptation (<300 lines of changed code concerning garbage collection and JIT compilation). We implement the model for CHERI-extended versions of Armv8-A and RISC-V through support in the compiler toolchain and operating system. Case studies illustrate the smooth delegation of memory between compartments, compartment-aware debugging and visualization, as well as extensibility to a complex managed language runtime, demonstrating the benefits of our single-address-space model. We evaluate using multiple processors, including Arm's superscalar Morello and, notably, the first commercial CHERI-enabled RISC-V application core---Codasip's in-order dual-issue X730.

Tue 29 SeptCryptography and SecurityHardware ArchitectureOperating Systems
The gist
Programs often need to keep different parts separate for security and stability, but existing methods limit how many separated parts they can have. The authors present a technique using CHERI hardware that lets software isolate tens of thousands of compartments within a single program, far more than before. This works automatically on existing libraries with minor code changes in rare cases. Their approach also helps programmers debug and manage these isolated parts more easily, supported by multiple modern processors.
Open → 2609.36731v1