Back to search

The Johns Hopkins University

Segmented Program Analysis for Web Security and Privacy

Abstract

dc:description.abstract

Beyond traditional client- and server-side applications, modern web ecosystems have grown into many forms: browser extensions, mobile miniapps, and desktop applications. Each is a composition of multiple components — content scripts and background workers, render and logic layers, main and renderer processes. These components exhibit both isolation and interconnection: isolation through multi-process architectures and multi-trust domains; interconnection through inter-process communication, network requests, and event triggers. Such complexity introduces critical security and privacy vulnerabilities that existing techniques struggle to detect. Monolithic static analysis does not scale; dynamic analysis is difficult to tract across boundaries; local analysis misses cross-boundary effects; and uniform treatment loses meaningful structure. This thesis presents segmented program analysis, a methodology that decomposes analysis across program boundaries, layers, and processes to achieve both precision and scalability in vulnerability detection. We present three systems instantiating this methodology across different platforms. First, CoCo focuses on browser extension vulnerabilities, where adversarial web pages exploit extension APIs via crafted messages or events. CoCo introduces a coverage-driven, concurrent abstract interpretation framework that parallelizes taint propagation across branching statements, message-passing boundaries, and content/background script pairs. This segmentation overcomes the object explosion problem that made prior approaches unscalable. CoCo discovers 43 zero-day, manually verified, exploitable vulnerabilities undetectable by state-of-the-art tools. Second, Minnie targets privacy leakage in WeChat miniapps — embedded applications accessing sensitive user data through superapp APIs. Minnie proposes the first dynamic taint analysis system for miniapp privacy leak detection, using a unified shadow memory abstraction combining byte-level taint values and symbolic marks. This enables holistic taint propagation across the miniapp's isolated view/logic layers. Applied to a large-scale dataset, Minnie uncovers thousands of zero-day privacy leaks, including issues in high-profile applications such as DiDi Chuxing and WeBank. Third, Proton addresses an understudied attack vector: browser-initiated URIs triggering Electron desktop application launches and causing code execution across multiple processes. Proton introduces an LLM-guided segmented fuzzing framework that decomposes cross-process data flows into tractable segments, synthesizes per-segment harnesses and seeds, and composes validated segments for end-to-end exploit validation. Evaluated on 489 open-source Electron applications, Proton uncovers 18 zero-day vulnerabilities — 17 escalated to Remote Code Execution — earning 11 CVEs and a bug bounty from Vercel. Together, these systems demonstrate that segmenting program analysis is a principled and effective strategy for detecting vulnerabilities across the modern web stack.

Degree

thesis:*
Name thesis:degree_name
Ph.D.
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor dc:publisher
The Johns Hopkins University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Yu, Jianjia
Advisor dc:contributor.advisor
  • Yinzhi Cao
Chair dc:contributor.chair
  • Yinzhi Cao
Committee member dc:contributor.committeemember
  • Hao (Frank) Yang, Ziyang Li

Subjects

dc:subject × 5

Rights

Language dc:language.iso
English (United States)

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://jscholarship.library.jhu.edu/handle/1774.2/71942

Chain of custody

source
Harvested from
Johns Hopkins University
Base URL
jscholarship.library.jhu.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Yu, Jianjia. Segmented Program Analysis for Web Security and Privacy. The Johns Hopkins University, 2026. https://jscholarship.library.jhu.edu/handle/1774.2/71942