Portcullis: A Scalable and Verifiable Privacy Gateway for Third-Party LLM Inference
Abstract
Businesses using third-party LLMs face privacy risks from exposed prompts. This paper presents Portcullis, a privacy-preserving gateway that safeguards sensitive data while supporting efficient and accurate LLM responses. Portcullis functions as a mediator, anonymizing sensitive data in prompts through parallel substitution, securely interacting with LLMs, and accurately reconstructing responses. It ensures all data processing occurs within secure encrypted memory. The gateway is attested to ensure trustworthiness and protect user privacy. Portcullis is the first of its kind, offering a verifiable and scalable privacy gateway for third-party LLM inferences. We assess Portcullis's efficiency as a confidential container platform, demonstrating that its startup time scales linearly, ensuring scalability. Additionally, we evaluate its runtime performance using the PII and Enron Email Dataset. For masking and unmasking workloads, Portcullis outperforms Hide-and-Seek by 96x speed up, while maintaining equal or better false positive and false negative rates compared to existing solutions. On the Enron dataset, Portcullis achieves notably higher accuracy, surpassing Hide-and-Seek by over 0.1 for GPT-4o mini.
Cite
Text
Zhan et al. "Portcullis: A Scalable and Verifiable Privacy Gateway for Third-Party LLM Inference." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I1.32088Markdown
[Zhan et al. "Portcullis: A Scalable and Verifiable Privacy Gateway for Third-Party LLM Inference." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/zhan2025aaai-portcullis/) doi:10.1609/AAAI.V39I1.32088BibTeX
@inproceedings{zhan2025aaai-portcullis,
title = {{Portcullis: A Scalable and Verifiable Privacy Gateway for Third-Party LLM Inference}},
author = {Zhan, Jiangou and Zhang, Wenhui and Zhang, Zheng and Xue, Huanran and Zhang, Yao and Wu, Ye},
booktitle = {AAAI Conference on Artificial Intelligence},
year = {2025},
pages = {1022-1030},
doi = {10.1609/AAAI.V39I1.32088},
url = {https://mlanthology.org/aaai/2025/zhan2025aaai-portcullis/}
}