Using LLMs to Identify Personal Data Processing in Source Code

Assessing the privacy impact of software products is essential for adhering to regulatory requirements but it is also highly challenging. This is due to the need for expertise in both software engineering and data protection, and the time-intensive and error-prone nature of the task, particularly when dealing with large and frequently changing applications. In this study, we present a Large Language Model-based approach to automatically classify source code for its privacy impact. Our contributions are (1) a dataset of code snippets, labeled with personal data from a W3C personal data taxonomy (2) an extensible approach and framework to auto-classify source code using the taxonomy and different prompting strategies, and (3) a demonstration of multiple experiments that give insight into an effective use of such a framework. Our results demonstrate that LLM-based detection of personal data processing in source code is feasible with levels of accuracy that can effectively support human reviewers in assessing software at scale.

Authors

Institutions

Publication Details

Published
2025-05-15
DOI
https://doi.org/10.1109/spw67851.2025.00018
Primary Topic
Advanced Computational Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Using LLMs to Identify Personal Data Processing in Source Code

Dmitry Prokhorenkov, Julian Schütte, Ching-Yu Kao, Daniel Kowatsch et al.
Advanced Computational Techniques and Applications
article

Using LLMs to Identify Personal Data Processing in Source Code

Dmitry Prokhorenkov, Julian Schütte, Ching-Yu Kao, Daniel Kowatsch, Jens Hiller, Immanuel Kunz, Konstantin Bettinger
article en

Abstract

Assessing the privacy impact of software products is essential for adhering to regulatory requirements but it is also highly challenging. This is due to the need for expertise in both software engineering and data protection, and the time-intensive and error-prone nature of the task, particularly when dealing with large and frequently changing applications. In this study, we present a Large Language Model-based approach to automatically classify source code for its privacy impact. Our contributions are (1) a dataset of code snippets, labeled with personal data from a W3C personal data taxonomy (2) an extensible approach and framework to auto-classify source code using the taxonomy and different prompting strategies, and (3) a demonstration of multiple experiments that give insight into an effective use of such a framework. Our results demonstrate that LLM-based detection of personal data processing in source code is feasible with levels of accuracy that can effectively support human reviewers in assessing software at scale.

Fraunhofer Institute for Applied and Integrated Security (DE)
Openalex Percentile: Top 92%
Advanced Computational Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Using LLMs to Identify Personal Data Processing in Source Code — Dmitry Prokhorenkov, Julian Schütte, et al. · (2025) | TGRS Research Map | TGRS