TRANSMISSION // 2612.00864v1

Why AI Needs a Checker for Privacy Settings

Source published

A benchmark found that malicious requesters could persuade LLMs to propose privacy-policy violations. A separate code gate blocked them under stated assumptions.

AI-generated conceptual illustration for Why AI Needs a Checker for Privacy Settings
AI-generated conceptual illustration; not documentary evidence.

Can an AI assistant safely configure differential privacy when the person asking it to do so is willing to lie? A new preprint tests that question—and finds that prompts alone are not a reliable safeguard.

When a privacy request comes with a lie

Differential privacy (DP) is a way to limit what a released statistic can reveal about any one person or other protected unit. Its protection depends on correct configuration: the sensitivity of the statistic, the amount of noise added, and how privacy costs accumulate across repeated releases. A language-model assistant might help calculate those settings. But what if the requester wants a more accurate result than policy permits—and misleads the assistant to get it?

Wenjun Yang, Eyhab Al-Masri and Tianhao Wang examine that scenario in a preprint about AI agents configuring DP. Their central question is not simply whether models know the formulas. It is whether they follow policy when a requester pressures them or supplies false information.

A benchmark with calculable answers

The researchers built 62 synthetic deployment tickets with answers they could calculate from the stated data and policy. Sixteen tickets were benign controls; 46 were malicious, spanning six kinds of attack. These included direct pressure to exceed a privacy limit, false claims about the data or number of releases, instructions hidden in a notes field, repeated requests, and forged documents or messages.

The tickets covered four types of statistics and used pure ε-differential privacy with Laplace noise and basic composition—the rule that adds up privacy costs across releases. This deliberately narrow setup gave each ticket a specific correct answer. The team evaluated eight language models in nine conditions, scoring 5,669 episodes. Code, rather than a language model acting as a judge, determined whether each proposed configuration actually violated the policy.

False facts were especially persuasive

Without a verifier, agents proposed policy-violating configurations in 19.3% of malicious episodes. Among those violations, the median actual privacy loss was three times the policy ceiling. Half were covert: the configuration claimed to meet the budget, but its noise scale or assumed sensitivity meant the real privacy loss was higher. Checking only the claimed budget would not catch those cases.

A false premise about the data could be more effective than an overt demand for extra budget. For example, claiming that a fleet was larger than it really was could make the sensitivity of a mean appear smaller, making an unsafe configuration look acceptable. The study also found that a second requester turn nearly tripled the success rate compared with a single-message attack.

Adding strict system-prompt rules reduced the violation rate to 3.8%, but did not eliminate it. Forged documents and spoofed reviewer messages still caused failures. The result suggests that instructions can improve a model’s behavior without providing a firm guarantee.

Make the check independent of the conversation

The authors’ proposed safeguard places a code-based gate between the AI’s proposal and deployment. The code check reads the structured registry and proposal, then recalculates sensitivity, release count, noise calibration and actual privacy loss. It does not read the requester’s chat or notes. A separate LLM reviewer receives registry facts and policy and may reject a proposal, but cannot override a rejection by the code check.

Under the assumption that the registry is accurate and the check is correctly implemented, the authors prove that any approved configuration stays within the policy, allowing for a stated rounding tolerance. In their tests, the gate approved no violating proposal in 1,840 malicious episodes. A separate property test of 114,553 generated proposals found no violation among approved configurations. The authors also report that benign task success increased from 81.2% without the verifier to 94.1% with it; the gate helped by prompting questions when key facts were missing and identifying infeasible requests.

The distinction between the two layers mattered. An LLM reviewer used alone approved 17% of scripted attacker proposals. In the tested setup, the deterministic calculation—not the reviewer’s judgment—carried the policy guarantee.

A result bounded by its assumptions

The guarantee is conditional. It does not protect against a corrupted registry, incorrect bounds in that registry, or a faulty implementation of the checker. The experiments also used synthetic tickets, a fixed set of workloads and phrasings, and a particular DP policy. Extending the method to other privacy definitions would require specifying and implementing the relevant accounting rules. The authors note that adaptive attackers, who change tactics in response to an agent, could raise failure rates for unverified agents; their formal gate guarantee is intended to hold regardless of requester behavior, provided its assumptions hold.

This is an arXiv preprint, so its findings have not necessarily been peer reviewed. The experiments are evidence about the tested benchmark and models, not a measurement of every real-world DP workflow. Still, the design lesson is concrete: when privacy loss can be recomputed from trusted facts, organizations should not ask an AI to be the final authority on its own proposal. Let the model draft; let an independent, auditable check decide what can run.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • How to catch an AI agent’s brief security breach

    Supporting evidence: Both papers show a role for deterministic checks where the relevant conditions can be encoded: Yang et al. recompute privacy loss from trusted registry facts, while Fu et al. use a model checker to evaluate formally specified properties over agent trajectories. These are different applications and mechanisms; the comparison supports only the bounded point that encoded checks can yield deterministic verdicts, not that either system covers risks outside its checks.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2612.00864v1 — Original paper

      Excerpt reference: static/papers/2612.00864v1.md:698-766
      Basis: Paper text
      Source file SHA-256: d6bf261c21adeb362dd2ae454528a7777f8ee0b77ecd1c26189ca9b4e0a6db3e

    • 2506.15253v2 — Original paper

      Excerpt reference: static/papers/2506.15253v2.md:13-57
      Basis: Paper text
      Source file SHA-256: cccdd86bad93b1843a87b72ff9307cf55dd13f123c03cb914dff6c0d8d98639c

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.