DeView: Confining Progressive Web Applications by Debloating Web APIs

  • Chang Seok Oh
  • , Sangho Lee
  • , Chenxiong Qian
  • , Hyungjoon Koo
  • , Wenke Lee

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

A progressive web application (PWA) becomes an attractive option for building universal applications based on feature-rich web Application Programming Interfaces (APIs). While flexible, such vast APIs inevitably bring a significant increase in an API attack surface, which commonly corresponds to a functionality that is neither needed nor wanted by the application. A promising approach to reduce the API attack surface is software debloating, a technique wherein an unused functionality is programmatically removed from an application. Unfortunately, debloating PWAs is challenging, given the monolithic design and non-deterministic execution of a modern web browser. In this paper, we present DeView, a practical approach that reduces the attack surface of a PWA by blocking unnecessary but accessible web APIs. DeView tackles the challenges of PWA debloating by i) record-and-replay web API profiling that identifies needed web APIs on an app-by-app basis by replaying (recorded) browser interactions and ii) compiler-assisted browser debloating that eliminates the entry functions of corresponding web APIs from the mapping between web API and its entry point in a binary. Our evaluation shows the effectiveness and practicality of DeView. DeView successfully eliminates 91.8% of accessible web APIs while i) maintaining original functionalities and ii) preventing 76.3% of known exploits on average.

Original languageEnglish
Title of host publicationProceedings - 38th Annual Computer Security Applications Conference, ACSAC 2022
PublisherAssociation for Computing Machinery
Pages881-895
Number of pages15
ISBN (Electronic)9781450397599
DOIs
StatePublished - 5 Dec 2022
Event38th Annual Computer Security Applications Conference, ACSAC 2022 - Austin, United States
Duration: 5 Dec 20229 Dec 2022

Publication series

NameACM International Conference Proceeding Series

Conference

Conference38th Annual Computer Security Applications Conference, ACSAC 2022
Country/TerritoryUnited States
CityAustin
Period5/12/229/12/22

Keywords

  • Browser
  • Debloating
  • PWA
  • Program Analysis
  • Progressive Web Application
  • Record-and-Replay
  • Web APIs

Fingerprint

Dive into the research topics of 'DeView: Confining Progressive Web Applications by Debloating Web APIs'. Together they form a unique fingerprint.

Cite this