CRLGJul 17

Code-Poisoning Property Inference Attacks

arXiv:2607.159705.2
Predicted impact top 61% in CR · last 90 daysOriginality Highly original
AI Analysis

For ML practitioners using code from public repositories, this attack demonstrates a new privacy risk where malicious code can leak global properties of private training data with perfect accuracy and no model degradation.

The paper introduces CPPIA, the first code-level property inference attack that achieves 100% attack accuracy without degrading model accuracy, overcoming limitations of prior attacks. It is evaluated across four datasets, eight model architectures, eighteen properties, and three defenses.

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. The training data for ML models, often regarded as private property (e.g., clinical records, transaction information), is at significant risk of information leakage. Property Inference Attacks (PIAs), as a significant type of privacy attack, aim to expose global property information of the training set. In this paper, we present Code-Poisoning Property Inference Attack (CPPIA), the first code-level PIA, which overcomes four limitations of existing works: insufficient attack performance, severe degradation of model accuracy, high computational overhead, and failure under defenses. We consider malicious code providers from code hosting platforms (GitHub) and coding agents (Codex). Upon downloading the poisoned code, data holders train models with their private data without professional auditing, subsequently releasing label-only APIs to the public. The adversary embeds the properties into secret samples during training and queries the trained model on these samples later to leak privacy. CPPIA offers 100\% attack accuracy without degrading model accuracy. It is also computationally lightweight and requires no shadow models. We evaluate the attack performance across four datasets, eight model architectures, eighteen properties, and under three defense mechanisms, demonstrating the universality and effectiveness of CPPIA.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes