arXiv AI

PrivacyPR: A Dataset of Real-World Privacy Fixes for Benchmarking Privacy-Aware Code Review

PrivacyPR is a dataset of 4,131 merged GitHub pull requests from 1,469 repositories, each containing commits, diffs, review discussion, and LLM-generated labels for privacy relevance, fix type, and GDPR principles. It includes 1,169 high‑confidence privacy fixes, 1,643 non‑fix PRs, a manually verified split of 250 privacy fixes and 250 non‑fix PRs, and a 100 + 100 subset for evaluation. The dataset enables empirical study of privacy defect emergence and provides a benchmark for privacy‑aware code review, showing that coding agents detect privacy defects more effectively when explicitly prompted to check privacy. whyItMatters":"PrivacyPR supplies the first large, real‑world collection of privacy fixes linked to review context, allowing researchers to benchmark and improve privacy‑aware code review tools."

arXiv AI
Oct 21

Reliable Estimation of Differential Privacy under Selection Bias

The paper addresses a flaw in differential privacy audits where selection bias in Membership Inference Attacks leads to overestimated lower bounds on privacy leakage. By applying statistical correction methods, the authors demonstrate that uncorrected audits can violate theoretical privacy guarantees up to four times more often than claimed, while corrected audits maintain valid bounds at the nominal confidence level.

By Valentin Dorseuil (DI-ENS), Meenatchi Sundaram Muthu Selva Annamalai (UCL), Jamal Atif (CMAP), Olivier Capp\'e (DI-ENS), Nicolas Papernot (Inria)
arXiv Machine Learning
Sep 16

Differentially Private Semantic Plans for Aggregate Insight Generation

The paper introduces ‘DP-SPIN’, a trusted‑curator framework that generates differentially private semantic plans for aggregate insight generation. ‘DP-SPIN’ maps each record to a bounded sparse nonnegative vector over pre‑defined semantic concepts, sums these vectors into a semantic sketch, and releases a noisy plan containing admitted concepts and their masses. The framework provides user‑level privacy by clipping each user’s contribution and ensures that the final summary is differentially private through post‑processing, with guarantees established under both add/drop and replacement adjacency.

By Behrooz Razeghi
arXiv AI
Oct 27

A Causal Perspective on the Role of Training Dynamics for Interpreting Privacy Risks in Code Models

The paper investigates how different types of personally identifiable information (PII) are learned and leaked by large language models for code (LLM4Code). By creating a diverse PII dataset, fine‑tuning models of various scales, and analyzing training dynamics through a structural causal model, the authors find that leakage risk varies by PII type—easy‑to‑learn data such as IP addresses leak more often, while harder types like keys and passwords leak less. The study provides causal evidence that leakage risks are type‑dependent and suggests that defenses should be tailored to specific PII categories and their learnability.

By Hua Yang, Alejandro Velasco, Sen Fang, Bowen Xu, Denys Poshyvanyk
arXiv Machine Learning
Jul 20

Code-Poisoning Property Inference Attacks

arXiv:2607. 15970v1 Announce Type: cross Abstract: The flourishing code hosting platforms and coding agents enable even beginners with private data to build tailored Machine Learning (ML) models using available code quickly.

By Xukun Luan, Yuhui Gong, Gang Zhang, Zixuan Huang, Yuanguo Bi, Xuesong Li, Jinyan Liu
arXiv Computation and Language
1d ago

SkillPrivus: Uncovering PRIVacy of USe Harms in Agentic Skills

SkillPrivus is a static audit framework that examines AI assistant skills before installation to detect privacy‑of‑use harms. It extracts data operations from both code and natural‑language instructions, grounds them in source evidence, and applies a Contextual Integrity assessment to judge appropriateness. In a study of 726 real skills, 54.5% of those handling personal data were flagged for at least one potential violation, with high agreement (83.2%) with blind human annotators.

By Mariana Fernandez-Espinosa, Ivoline Ngong, Keerthiram Murugesan, Karthikeyan Natesan Ramamurthy
arXiv Computation and Language
Oct 16

QuasiLeak-Bench: Evaluating LLM-Based Privacy Detectors on Policy-Conditioned Quasi-Evidence Group Recovery

QuasiLeak-Bench is a new benchmark that evaluates large language model (LLM) based privacy detectors on their ability to recover quasi‑evidence groups—sets of weak quasi‑identifiers that jointly reveal private attributes—while respecting sender‑specified disclosure policies. The benchmark uses a reverse‑construction pipeline to generate documents containing verified quasi‑evidence groups and applies automated quality control to produce reliable ground truth at scale. Experiments show that current privacy detectors perform poorly on this task, but a fine‑tuned 4B LLM can outperform the best prompted models, indicating the task is learnable.

By Yufan Zhu, Yangfan Jiang, Yang Fei, Shizheng Hou, Shubhankar Mohapatra, Xiaokui Xiao