[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-391031-105":59,"doc-detail-391031-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","prmpt-sanitizing-sensitive-prompts-for-llms","Prϵϵmpt: Sanitizing Sensitive Prompts for LLMs","","The paper studies privacy risks of large language model (LLM) inference when prompts contain sensitive information and may be exposed to proprietary LLM APIs. It introduces a cryptographically inspired prompt-sanitizer concept that protects sensitive tokens while preserving response quality. The proposed system, Prϵϵmpt, classifies sensitive tokens into format-dependent tokens handled via format-preserving encryption and value-dependent tokens protected with metric differential privacy. Experiments show meaningful privacy guarantees with high utility, outperforming prior approaches.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/prmpt-sanitizing-sensitive-prompts-for-llms/391031/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/prmpt-sanitizing-sensitive-prompts-for-llms/391031.png","ImageObject",300,407,{"name":92,"@type":93},"Cart","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-22","2026-09-25",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",17,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What privacy problem does Prϵϵmpt address during LLM inference?","Question",{"text":113,"@type":114},"It addresses exposure of sensitive information contained in user prompts at inference time, especially when prompts may be sent to proprietary LLM APIs.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How does Prϵϵmpt treat different types of sensitive tokens?",{"text":118,"@type":114},"It separates sensitive tokens into format-dependent tokens (e.g., SSNs, credit card numbers) protected with format-preserving encryption, and value-dependent tokens (e.g., age, salary) protected with metric differential privacy.",{"name":120,"@type":111,"acceptedAnswer":121},"What do the results show about privacy and usability?",{"text":122,"@type":114},"The evaluation demonstrates practical privacy guarantees while maintaining high utility compared with unsanitized prompts, and it outperforms prior methods.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},391031,1790369029,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":19,"preview_urls":147},18829141979164,"https://eur-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Prϵϵmpt: Sanitizing Sensitive Prompts for LLMs  \nAmrita Roy Chowdhury ∥∗ , David Glukhov†∗ , Divyam Anshumaan‡∗ , Prasad Chalasani§ , Nicholas Papernot†, Somesh Jha‡ and Mihir Bellare¶∥ University of Michigan, Ann Arbor †University of Toronto and Vector Institute ‡University of Wisconsin-Madison  \n§ Langroid Incorporated ¶ University of California, San Diego  \nAbstract—The rise of large language models (LLMs) has introduced new privacy challenges, particularly during inference where sensitive information in prompts may be exposed to proprietary LLM APIs. In this paper, we address the problem of formally protecting the sensitive information contained in a prompt while maintaining response quality. To this end, first, we introduce a cryptographically inspired notion of a prompt sanitizer which transformsan input prompt to protect its sensitive tokens. Second, we propose Prϵϵmpt, a novel system that implements a prompt sanitizer, focusing on the sensitive information that can be derived solely from the individual tokens. Prϵϵmpt categorizes sensitive tokens into two types: (1) those where the LLM’s response depends solely on the format (such as SSNs, credit card numbers), for which we use format-preserving encryption (FPE); and (2) those where the response depends on specific values, (such as age, salary) for which we apply metric differential privacy (mDP). Our evaluation demonstrates that Prϵϵmpt is a practical method to achieve meaningful privacy guarantees, while maintaining high utility compared to unsanitized prompts, and outperforming prior methods.  \nI. INTRODUCTION  \nThe recent advent of large language models (LLMs) have brought forth a fresh set of challenges for protecting users’ data privacy. LLMs and their APIs present significant privacy concerns at inference time, which are fundamentally distinct from the well-documented risks of training data memorization [16, 40, 52, 85] . While the potential adversary in training data scenarios could be any API user, the threat during inference primarily stems from the model owner—typically the organization  \nhosting the LLM. This inference stage poses a significant *These authors contributed equally to this work.  \nNetwork and Distributed System Security (NDSS) Symposium 2026 23-27 February 2026, San Diego, CA, USA  \nISBN 979-8-9919276-8-0  \n[https://dx.doi.org/10.14722/ndss.2026.231277](https://dx.doi.org/10.14722/ndss.2026.231277)[ ](https://dx.doi.org/10.14722/ndss.2026.231277)[www.ndss-symposium.org](www.ndss-symposium.org)  \nFig. 1: Overview of Prϵϵmpt: Users begin with a onetime registration to set up configurations, which are used in all subsequent interactions. Users can then submit prompts to Prϵϵmpt and receive their sanitized versions, which are safe to be provided to the untrusted LLM. The LLM’s responses (to the sanitized prompts) can then bedesanitized to recover high-utility responses.  \nprivacy risk, as prompts in natural language may include various types of sensitive information, from personally identifiable data like SSNs or credit card numbers to personal health or financial details.  \nThe ensuing privacy threat is exacerbated with the growing use of in-context learning, that involves presenting the LLM with a few training examples as part of the prompt during inference [14] . This has shifted some of the concerns around privacy of training data from training time to inference time. Furthermore, the consumer-facing nature and widespread accessibility [27, 62, 48, 80, 46] of LLMs have significantly amplified the scope of these privacy risks. What renders the privacy risks particularly potent is the general lack of awareness among users, leading to unwitting disclosure of sensitive information [10] . Consequently, certain countries, such as Italy [18], along with financial institutions [47, 88], government agencies [82, 63, 83], medical institutions [28] as well as companies, such as Samsung [77, 76], Amazon [4] and Apple [7], have prohibited the use of propri","cbCaiel11Tr0NRFF","https://ap.wps.com/l/cbCaiel11Tr0NRFF","pdf",558467,18,"English","# Abstract\n# Introduction\n## Inference-time privacy threats\n## Motivation and contributions\n## Prior work and limitations\n## Prompt sanitizer concept\n# System Overview","[{\"question\":\"What privacy problem does Prϵϵmpt address during LLM inference?\",\"answer\":\"It addresses exposure of sensitive information contained in user prompts at inference time, especially when prompts may be sent to proprietary LLM APIs.\"},{\"question\":\"How does Prϵϵmpt treat different types of sensitive tokens?\",\"answer\":\"It separates sensitive tokens into format-dependent tokens (e.g., SSNs, credit card numbers) protected with format-preserving encryption, and value-dependent tokens (e.g., age, salary) protected with metric differential privacy.\"},{\"question\":\"What do the results show about privacy and usability?\",\"answer\":\"The evaluation demonstrates practical privacy guarantees while maintaining high utility compared with unsanitized prompts, and it outperforms prior methods.\"}]","Prϵϵmpt: Sanitizing Sensitive Prompts for LLMs | PDF",1790345905,45,[148,152,156,160],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/f7fb2396678658a5373d2fc9e1b81ceb.webp",983,1272,{"page_no":14,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/4eb795f6131ef1d7355dbd4dbf9dd7dc.webp",982,1270,{"page_no":81,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/92dcda7b7ee62a7b258566dedb0f421a.webp",981,1269,{"page_no":19,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/d855b2311d09039c20b2589b7f6a9346.webp",980,1268]