arXiv AI By Hua Yang, Aditya Bhardwaj, Shidong Pan, Bowen Xu

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

Read the original on arXiv AI →

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."

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

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)