NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

$π$Creds: Privately Inferred Credentials

Samuel Breckenridge, Dani Vilardell, Derek Leung, Andrés Fábrega, James Austgen, Farinaz Koushanfar, Ari JuelsarXiv 2026

TL;DR

$\pi$Creds introduces a decentralized, privacy-preserving verifiable credential system that leverages Large Language Models (LLMs) running inside Trusted Execution Environments (TEEs). By enabling semantic reasoning over unstructured data and proprietary code, $\pi$Creds vastly expands the expressiveness of digital credentials while remaining fully compatible with legacy web data sources.

What Problem Does This Paper Address?

Traditional privacy-preserving credential systems (like those proving a user is over 18 without revealing their birthdate) rely on zero-knowledge proofs (ZKPs) or specialized hardware. However, these systems are strictly limited to structured data and rigid, predefined predicates.

The core issue is that most real-world data—such as bank statements, medical records, emails, and codebases—is unstructured. Existing architectures cannot easily perform semantic reasoning across these formats without complex, handcrafted parsing logic for every single data source. $\pi$Creds addresses this limitation by introducing LLMs into the credential pipeline, allowing users to generate rich, human-inspectable credentials from messy, unstructured data without exposing the underlying sensitive information.

Methods

The $\pi$Creds architecture combines a TEE-based oracle with a TEE-hosted LLM to create a secure data pipeline:

  1. Data Fetching (Oracle): Operating inside a TEE, an oracle securely logs into a user's whitelisted web accounts (e.g., Amazon, bank portals) and fetches raw documents over standard TLS.
  2. LLM Inference: A TEE-isolated LLM processes these documents using a natural-language prompt tailored to the specific credential type.
  3. Attestation: The TEE outputs a signed, verifiable credential ($\pi$Cred) containing the LLM's conclusion and a public record of data provenance, keeping the raw data completely private.
Figure 1: 𝜋Creds architecture and threat models. The prover submits credentials to a TEE-protected pipeline, shown in the gray box. Pipeline steps are: (1) The oracle (with user interaction) logs into the user’s whitelisted web data sources (e.g., banks, marketplaces, hospital portals) and fetches documents; (2) An LLM processes the documents under a credential-specific prompt; (3) The LLM returns its result; and (4) The TEE outputs a corresponding attested 𝜋Cred. The protocol shields data and computation from external ob- servers (orange adversary). Application-level threats remain: a malicious prover (red) may manipulate the underlying data at its source, while a malicious model provider (purple) may exploit model outputs as a covert channel.

Novel Threat Modeling

Because LLMs introduce unique vulnerabilities, the authors formalize two new application-level security problems:

  • Source-Constrained Adversarial Example (SCAE): Evaluates whether a malicious user can strategically manipulate their real-world data sources (e.g., making specific purchases) to trick the LLM into issuing a false credential.
  • Authenticated Covert Predicate Poisoning (ACPP): Evaluates whether a malicious model provider can fine-tune the LLM to covertly leak sensitive user attributes (like gender) through subtle, valid variations in the credential's output text or score.

Datasets

To evaluate baseline performance and security threats, the authors utilized the Open E-Commerce dataset. This dataset consists of real, crowdsourced US Amazon purchase histories paired with user demographic attributes.

Key Insights and Ideas

  • Legacy Compatibility: Because LLMs inherently understand unstructured text, $\pi$Creds can ingest raw HTML or JSON directly from existing web services. It automatically absorbs upstream schema changes without requiring developers to rewrite parsing code.
  • Credentials for Software: $\pi$Creds can be applied to codebases rather than users. For instance, an LLM can audit a proprietary software snapshot and attest that it complies with specific privacy policies (e.g., "deletes credit card data after processing") without revealing the underlying intellectual property.
  • Real-World Attack Costs: In the SCAE framework, an attacker's perturbation budget is constrained by real-world financial or social costs (e.g., buying actual items on Amazon), making data authentication a strong economic defense.
  • The Subjectivity Dilemma: The very flexibility that makes LLMs useful also creates a hiding place for privacy leaks. Because natural language responses have a high degree of subjective tolerance, poisoned models can easily hide covert channels within valid outputs.

Key Results

The authors implemented a fully functional prototype using a Flask service deployed inside a Google Confidential Space enclave equipped with an Intel TDX CPU and an NVIDIA H100 GPU.

Baseline Accuracy

When evaluated against a consensus of frontier models (GPT-5, Gemini 2.5 Pro, Claude Sonnet 4.5), Qwen2.5-7B-Instruct emerged as the best model for semantic credentials. For a product expertise credential (rating a user's familiarity with technology on a 1-10 scale), it achieved a remarkably low mean absolute deviation of just 0.45 points.

Security Evaluations

  • SCAE Hardness: Under a constrained greedy search attack, a modest adversarial budget of \$20 (roughly 5% of a user's average total spending) shifted the issued expertise score by 1.24 points away from the ground truth. This indicates that while source authentication imposes a real economic cost, credentials remain vulnerable to targeted manipulation.
Figure 5: Illustration of adversarial attack on SCAE problem. The rectangular colored space denotes the input domain 𝑋, and the diagonal line is the ground-truth decision boundary separating points with 𝑓∗(𝑥) = 0 (left) from those with 𝑓∗(𝑥) = 1 (right). Background colors indicate the model’s prediction 𝑓𝜃, with blue representing 𝑓𝜃(𝑥) = 0 and red representing the area where 𝑓𝜃(𝑥) = 1. White circles are source-consistent inputs 𝑥∈𝐶; an adversary with input 𝑥𝑢∼S may move only along such inputs and succeeds if it finds a nearby ˆ𝑥𝑢∈𝐶 with 𝑐(𝑥𝑢, ˆ𝑥𝑢) ≤𝜀for which 𝑓𝜃( ˆ𝑥𝑢) ∉𝑓∗( ˆ𝑥𝑢).
  • ACPP Hardness: The authors attempted to leak user gender via a "score parity" channel (even scores for male, odd scores for female) while forcing the model to stay within a valid $\pm 5$ point tolerance window. Enforcing this strict output constraint successfully degraded the attacker's demographic recovery rate to 55–65% (near chance), demonstrating that tight output bounding is a highly effective privacy defense.
Figure 7: Illustration of adversarial attack on ACPP problem in the setting of the product-category-expertise 𝜋Cred in Example 1. In the honest setting, training examples have no correlation between the user’s gender and the (numeric) review-expertise score, so gender is not recoverable from outputs. A malicious verifier poisons the training set so that examples for users with 𝑇(𝑥) = 1 (e.g., male) are relabeled to have an even score, and examples for users with𝑇(𝑥) = 0 (e.g., female) are relabeled to have an odd score. Each relabeling stays within the ground-truth tolerance (at most ±1 from the original score), so the examples still look valid to the user, but the final model’s outputs now potentially leak the gender through score parity.

Limitations and Future Work

  • Model Constraints: The study primarily benchmarks small-to-medium open-source models to allow for open inspection. Evaluating how frontier models scale in terms of both reasoning accuracy and adversarial robustness remains an open area.
  • Subjective Ground Truth: Defining a rigorous "ground truth" for highly subjective semantic claims (like expertise or creditworthiness) poses ongoing methodological challenges.
  • Expanded Applications: Future work includes exploring the SCAE and ACPP threat vectors within software auditing pipelines and exploring how TEE-hosted LLMs can be used to achieve robust, fuzzy-matching Sybil resistance in decentralized identity networks.

Summary updated

BibTeX
@misc{breckenridge2026creds,
  author = {Samuel Breckenridge and Dani Vilardell and Derek Leung and Andrés Fábrega and James Austgen and Farinaz Koushanfar and Ari Juels},
  title = {{$π$Creds: Privately Inferred Credentials}},
  year = {2026},
  eprint = {2606.03771},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.03771},
}
Figure