Code-Poisoning Property Inference Attacks
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 25 of its 53 references that are in the map. First posted on arXiv 17 Jul 2026.
Builds on
25 of 53 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2022Generative Adversarial Networkscited by 5,603
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2016Deep Learning with Differential Privacycited by 2,682
- 2020iDLG: Improved Deep Leakage from Gradientscited by 367
- 2020Blind Backdoors in Deep Learning Modelscited by 174
- 2017Machine Learning Models that Remember Too Muchcited by 165
- 2013Hacking Smart Machines with Smarter Ones: How to Extract Meaningful Data from Machine Learning Classifierscited by 128
- 2020Adversarial Machine Learning -- Industry Perspectivescited by 121
- 2021Property Inference From Poisoningcited by 56
13 more
- 2020Leakage of Dataset Properties in Multi-Party Machine Learningcited by 46
- 2021Formalizing and Estimating Distribution Inference Riskscited by 42
- 2021Property Inference Attacks Against GANscited by 32
- 2022SNAP: Efficient Extraction of Private Properties with Poisoningcited by 29
- 2021Pure Noise to the Rescue of Insufficient Data: Improving Imbalanced Classification by Training on Random Noise Imagescited by 16
- 2024Inf2Guard: An Information-Theoretic Framework for Learning Privacy-Preserving Representations against Inference Attackscited by 13
- 2022Protecting Global Properties of Datasets with Distribution Privacy Mechanismscited by 11
- 2026Overeager Coding Agents: Measuring Out-of-Scope Actions on Benign Taskscited by 8
- 2023Manipulating Transfer Learning for Property Inferencecited by 7
- 2024A Method to Facilitate Membership Inference Attacks in Deep Learning Modelscited by 6
- 2026More Code, Less Reuse: Investigating Code Quality and Reviewer Sentiment towards AI-generated Pull Requestscited by 5
- 2025Show Me Your Code! Kill Code Poisoning: A Lightweight Method Based on Code Naturalnesscited by 3
- 2026Your Space is My Zone: Demystifying the Security Risks of AI-Powered Applications on Pre-Trained Model Hubscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Loss Landscape Poisoning: Targeted Extraction of Unseen Training Data from LLMs
- 2024Privacy Backdoors: Enhancing Membership Inference through Poisoning Pre-trained Models
- 2025The Canary's Echo: Auditing Privacy Risks of LLM-Generated Synthetic Text
- 2026Lifecycle-Aware Dynamic Analysis for Secure ML Model Execution
- 2024Fortify Your Foundations: Practical Privacy and Security for Foundation Model Deployments In The Cloud
- 2026Phantoms and Disclosures: A Statistical Framework for Auditing Privacy in Synthetic Data
- 2025Towards Confidential and Efficient LLM Inference with Dual Privacy Protection
- 2026Stop Tracking Me! Proactive Defense Against Attribute Inference Attack in LLMs