{"id":{"repo_id":"ohiolink","oai_identifier":"oai:etd.ohiolink.edu:case1752243286807377"},"canonical_url":"https://search.ndltd.org/etd/ohiolink/oai:etd.ohiolink.edu:case1752243286807377","repository":{"repo_id":"ohiolink","name":"OhioLINK","base_url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai"},"display":{"title":"LLM-Based Detection Of Browser Fingerprinting in JavaScript","abstract":"Browser fingerprinting enables persistent user tracking and poses a growing threat to online privacy. While large language models (LLMs) show promise for automating code analysis, their capability to detect browser fingerprinting in JavaScript is not well understood. This thesis systematically evaluates twelve leading LLMs—including both open-source (e.g., CodeLlama, Mixtral) and commercial (e.g., OpenAI GPT, Anthropic Claude) models—for binary classification of JavaScript scripts as fingerprinting or non-fingerprinting.Using a balanced, randomized subset of 1,000 scripts from the FP-Fed1 dataset, we assess all models with standardized prompts and metrics, and specifically examine detection across four major categories of browser fingerprinting: canvas, WebRTC, canvas font, and audio. Results show that commercial models outperform open-source alternatives (OpenAI: F1 = 0.7490; Claude: F1 = 0.7498), though models like CodeLlama and Mixtral-8x7B remain competitive in some settings.Context window limitations and prompt truncation present key challenges, especially for open-source models in few-shot scenarios. This work provides the first comprehensive benchmarking of LLMs for browser fingerprinting detection, highlighting both their potential and current limitations. Our findings emphasize the importance of prompt engineering, resource constraints, and model selection for practical deployment. Future directions include fine-tuning open-source models and optimizing prompt design. Overall, LLMs represent a promising and evolving tool for enhancing web privacy and security.","abstract_html":"Browser fingerprinting enables persistent user tracking and poses a growing threat to online privacy. While large language models (LLMs) show promise for automating code analysis, their capability to detect browser fingerprinting in JavaScript is not well understood. This thesis systematically evaluates twelve leading LLMs—including both open-source (e.g., CodeLlama, Mixtral) and commercial (e.g., OpenAI GPT, Anthropic Claude) models—for binary classification of JavaScript scripts as fingerprinting or non-fingerprinting.Using a balanced, randomized subset of 1,000 scripts from the FP-Fed1 dataset, we assess all models with standardized prompts and metrics, and specifically examine detection across four major categories of browser fingerprinting: canvas, WebRTC, canvas font, and audio. Results show that commercial models outperform open-source alternatives (OpenAI: F1 = 0.7490; Claude: F1 = 0.7498), though models like CodeLlama and Mixtral-8x7B remain competitive in some settings.Context window limitations and prompt truncation present key challenges, especially for open-source models in few-shot scenarios. This work provides the first comprehensive benchmarking of LLMs for browser fingerprinting detection, highlighting both their potential and current limitations. Our findings emphasize the importance of prompt engineering, resource constraints, and model selection for practical deployment. Future directions include fine-tuning open-source models and optimizing prompt design. Overall, LLMs represent a promising and evolving tool for enhancing web privacy and security.","abstract_has_math":false,"creators":["Gordon, Lyris"],"institution":"Case Western Reserve University School of Graduate Studies","degree_name":"Master of Sciences","degree_level":"masters","degree_discipline":"EECS - Computer and Information Sciences","degree_department":null,"school":null,"contributors":[],"advisors":["Wang, An"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-08-22","date_published":"2025-08-22","updated_at":"2026-11-27T05:01:24Z","subjects":["Computer Science"],"languages":["English"],"rights":["unrestricted","This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"http://rave.ohiolink.edu/etdc/view?acc_num=case1752243286807377","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"http://rave.ohiolink.edu/etdc/view?acc_num=case1752243286807377","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aohiolink%3Aoai%3Aetd.ohiolink.edu%3Acase1752243286807377","prefix":"oai_dc"},"source_record":{"url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Aetd.ohiolink.edu%3Acase1752243286807377","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Wang, An"]},{"key":"dc:creator","label":"Author","values":["Gordon, Lyris"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025-08-22"]},{"key":"dc:publisher","label":"Institution","values":["Case Western Reserve University School of Graduate Studies / OhioLINK"]},{"key":"dc:type","label":"Dc Type","values":["Electronic Thesis or Dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["EECS - Computer and Information Sciences"]},{"key":"thesis:degree_level","label":"Degree Level","values":["masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Sciences"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Case Western Reserve University School of Graduate Studies"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["English"]},{"key":"dc:rights","label":"Dc Rights","values":["unrestricted","This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://rave.ohiolink.edu/etdc/view?acc_num=case1752243286807377"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Browser fingerprinting enables persistent user tracking and poses a growing threat to online privacy. While large language models (LLMs) show promise for automating code analysis, their capability to detect browser fingerprinting in JavaScript is not well understood. This thesis systematically evaluates twelve leading LLMs—including both open-source (e.g., CodeLlama, Mixtral) and commercial (e.g., OpenAI GPT, Anthropic Claude) models—for binary classification of JavaScript scripts as fingerprinting or non-fingerprinting.Using a balanced, randomized subset of 1,000 scripts from the FP-Fed1 dataset, we assess all models with standardized prompts and metrics, and specifically examine detection across four major categories of browser fingerprinting: canvas, WebRTC, canvas font, and audio. Results show that commercial models outperform open-source alternatives (OpenAI: F1 = 0.7490; Claude: F1 = 0.7498), though models like CodeLlama and Mixtral-8x7B remain competitive in some settings.Context window limitations and prompt truncation present key challenges, especially for open-source models in few-shot scenarios. This work provides the first comprehensive benchmarking of LLMs for browser fingerprinting detection, highlighting both their potential and current limitations. Our findings emphasize the importance of prompt engineering, resource constraints, and model selection for practical deployment. Future directions include fine-tuning open-source models and optimizing prompt design. Overall, LLMs represent a promising and evolving tool for enhancing web privacy and security."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf","1007.8 KB"]},{"key":"dc:title","label":"Title","values":["LLM-Based Detection Of Browser Fingerprinting in JavaScript"]}]}],"canonical_facts":{"dc:contributor.advisor":["Wang, An"],"dc:creator":["Gordon, Lyris"],"dc:date":["2025-08-22"],"dc:description":["Browser fingerprinting enables persistent user tracking and poses a growing threat to online privacy. While large language models (LLMs) show promise for automating code analysis, their capability to detect browser fingerprinting in JavaScript is not well understood. This thesis systematically evaluates twelve leading LLMs—including both open-source (e.g., CodeLlama, Mixtral) and commercial (e.g., OpenAI GPT, Anthropic Claude) models—for binary classification of JavaScript scripts as fingerprinting or non-fingerprinting.Using a balanced, randomized subset of 1,000 scripts from the FP-Fed1 dataset, we assess all models with standardized prompts and metrics, and specifically examine detection across four major categories of browser fingerprinting: canvas, WebRTC, canvas font, and audio. Results show that commercial models outperform open-source alternatives (OpenAI: F1 = 0.7490; Claude: F1 = 0.7498), though models like CodeLlama and Mixtral-8x7B remain competitive in some settings.Context window limitations and prompt truncation present key challenges, especially for open-source models in few-shot scenarios. This work provides the first comprehensive benchmarking of LLMs for browser fingerprinting detection, highlighting both their potential and current limitations. Our findings emphasize the importance of prompt engineering, resource constraints, and model selection for practical deployment. Future directions include fine-tuning open-source models and optimizing prompt design. Overall, LLMs represent a promising and evolving tool for enhancing web privacy and security."],"dc:format":["application/pdf","1007.8 KB"],"dc:identifier":["http://rave.ohiolink.edu/etdc/view?acc_num=case1752243286807377"],"dc:language":["English"],"dc:publisher":["Case Western Reserve University School of Graduate Studies / OhioLINK"],"dc:rights":["unrestricted","This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws."],"dc:subject":["Computer Science"],"dc:title":["LLM-Based Detection Of Browser Fingerprinting in JavaScript"],"dc:type":["Electronic Thesis or Dissertation"],"thesis:degree_discipline":["EECS - Computer and Information Sciences"],"thesis:degree_level":["masters"],"thesis:degree_name":["Master of Sciences"],"thesis:institution_name":["Case Western Reserve University School of Graduate Studies"]},"updated_at":"2026-11-27T05:01:24Z"}