mlsanityData to 14 Oct 2026

MPC-Patch-Bench: Security-Aware LLM Code Patch for Multi-Party Computation

arXiv 2606.11416 ↗First posted 9 Jun 2026cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Repository-level benchmarks for evaluating Large Language Model (LLM) code repair on Secure Multi-Party Computation (MPC) software do not yet exist, and directly transplanting general-purpose benchmarks such as SWE-bench fails on three structural fronts: (i) MPC repositories are dominated by generic Python infrastructure rather than cryptographic logic; (ii) high-value MPC fixes lack the standardized tests rigid extraction pipelines require; and (iii) standard fail-to-pass evaluation is insufficient for code that must also be cryptographically safe. MPC is increasingly deployed for privacy-preserving machine learning, biomedical collaboration, and secure analytics. Existing MPC-specific code-synthesis efforts cover only operator-level or single-framework tasks; evaluating LLM agents on real repository-level MPC repair instead demands MPC-aware data curation and a verifier matched to the security and numerical-fidelity guarantees MPC programs must obey neither of which existing benchmarks provide. We introduce MPC-Patch-Bench, a repository-level benchmark organised around two frameworks. (1)The Data Curation Framework combines a domain-specific curation agent that filters raw pull requests through three cryptographic layers with a human-AI completion engine that synthesizes missing problem statements and Fail-to-Pass/Pass-to-Pass tests, yielding 205 fully verified instances. (2)The MPC Verifier provides dedicated security and numerical-fidelity checks via dynamic differential testing against plaintext oracles and MPC-specific static analysis rules that flag unsafe reveals, insecure arithmetic, and illegal public/private casts. The strongest evaluated LLM functionally resolves only 22.9% of MPC-Patch-Bench tasks; the MPC Verifier further reduces verified resolution to 17.1%, with up to 40% of functionally-passing patches rejected for cryptographic or numerical-fidelity violations.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 12 of its 25 references that are in the map. First posted on arXiv 9 Jun 2026.

Builds on

12 of 25 references.

References · 12

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2021Program Synthesis with Large Language Modelscited by 3,637
  3. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  4. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  5. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
  6. 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 285
  7. 2021CrypTen: Secure Multi-Party Computation Meets Machine Learningcited by 131
  8. 2019Helen: Maliciously Secure Coopetitive Learning for Linear Modelscited by 21
  9. 2018Private Machine Learning in TensorFlow using Secure Computationcited by 15
  10. 2024SPDZCoder: Combining Expert Knowledge with LLMs for Generating Privacy-Computing Codecited by 1
  11. 2025HawkEye: Statically and Accurately Profiling the Communication Cost of Models in Multi-party Learningcited by 1
  12. 2025CrypTorch: PyTorch-based Auto-tuning Compiler for Machine Learning with Multi-party Computationcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Tasks
  2. 2025SecRepoBench: Benchmarking Code Agents for Secure Code Completion in Real-World Repositories
  3. 2026Improving LLM-Assisted Secure Code Generation through Retrieval-Augmented-Generation and Multi-Tool Feedback
  4. 2026RealSec-bench: A Benchmark for Evaluating Secure Code Generation in Real-World Repositories
  5. 2026Enhancing Reliability in LLM-Based Secure Code Generation
  6. 2026Tool-Guided Retrieval-Augmented Repair for Securing LLM-Generated C Code
  7. 2025SecureFixAgent: A Hybrid LLM Agent for Automated Python Static Vulnerability Repair
  8. 2024ProSec: Fortifying Code LLMs with Proactive Security Alignment