The increasing reliance on client-side JavaScript has trans- formed the web into a dynamic application platform, where many security and privacy-relevant behaviors emerge only at runtime. This evolution challenges traditional web measurement, while the deployment of dynamic analysis remains hindered by practical limitations affecting its reuse. As a result, many measurement studies rely on simpler heuristic techniques or manual inspection, often at the cost of precision and scalability. This thesis investigates dynamic analysis of JavaScript as a methodological foundation for web security and privacy measurements. We first conduct a systematic evaluation of tools for dynamic information flow analysis, assessing their effectiveness on live websites. We then compare dynamic taint tracking and syntactic matching for the detection of stateful tracking. Finally, we design and implement an automated pipeline based on dynamic analysis to enable large-scale measurement of deployed pass- word strength meters. Our findings show that existing tools struggle to meet key requirements such as compatibility, transparency, coverage, and performance. The comparison between taint tracking and syntactic matching reveals that the two approaches are complementary, but their limitations significantly affect measurement outcomes. Finally, our large-scale analysis of password strength meters highlights variability in their adoption and accuracy, extending prior empirical findings. Overall, the thesis demonstrates both the potential and the practical challenges of using dynamic analysis for reliable web security and privacy measurements at scale.

Dynamic Analysis of JavaScript for Web Security and Privacy Measurements / Casarin, S.. - (2026 Nov 04).

Dynamic Analysis of JavaScript for Web Security and Privacy Measurements

Casarin, Samuele
2026

Abstract

The increasing reliance on client-side JavaScript has trans- formed the web into a dynamic application platform, where many security and privacy-relevant behaviors emerge only at runtime. This evolution challenges traditional web measurement, while the deployment of dynamic analysis remains hindered by practical limitations affecting its reuse. As a result, many measurement studies rely on simpler heuristic techniques or manual inspection, often at the cost of precision and scalability. This thesis investigates dynamic analysis of JavaScript as a methodological foundation for web security and privacy measurements. We first conduct a systematic evaluation of tools for dynamic information flow analysis, assessing their effectiveness on live websites. We then compare dynamic taint tracking and syntactic matching for the detection of stateful tracking. Finally, we design and implement an automated pipeline based on dynamic analysis to enable large-scale measurement of deployed pass- word strength meters. Our findings show that existing tools struggle to meet key requirements such as compatibility, transparency, coverage, and performance. The comparison between taint tracking and syntactic matching reveals that the two approaches are complementary, but their limitations significantly affect measurement outcomes. Finally, our large-scale analysis of password strength meters highlights variability in their adoption and accuracy, extending prior empirical findings. Overall, the thesis demonstrates both the potential and the practical challenges of using dynamic analysis for reliable web security and privacy measurements at scale.
4-nov-2026
38
CYSEC
Prof. Riccardo Focardi, Ca' Foscari University of Venice
File in questo prodotto:
File Dimensione Formato  
Samuele_Casarin_Thesis_Repository (1).pdf

Accesso aperto

Tipologia: Tesi di dottorato
Licenza: Creative commons
Dimensione 984.21 kB
Formato Adobe PDF
984.21 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.11771/45679
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • OpenAlex ND
social impact