How Presidio data privacy works when you run it yourself
A checklist question asking whether personal data stays inside the company boundary is largely answered by a self-run Presidio deployment, provided two conditions are managed: remote recognizers and the missing built-in authentication on the API. The MIT-licensed open-source release is the only edition documented, and Presidio has no managed cloud offering, so the text you scan stays in the services you operate unless a recognizer sends it elsewhere. Remote recognizers, such as those for Azure AI Language, send text to that external service when they are used. The API endpoints have no built-in authentication by design. Your team must therefore inventory every recognizer and confirm which ones are local, place the services behind your own gateway, reverse proxy or service mesh with access controls, and test the result against your own data.
The components that touch personal data are the Analyzer, which finds entities in text, the Anonymizer, which applies operators to the findings, and the Image Redactor, which runs OCR before it redacts. The default NLP engine is spaCy with the en_core_web_lg model. Stanza and Hugging Face Transformers are optional engines whose models load lazily, so confirm when each model is fetched at runtime and whether your network policy allows that fetch. The image pipeline depends on Tesseract as its default OCR engine. Mirror the images published under ghcr.io/data-privacy-stack/ into your own registry, because the older mcr.microsoft.com images are no longer updated. Then review your configuration and disable any remote recognizer that your data classification policy does not approve, so no text leaves your environment through a recognizer call.
Verification is the part the project does not perform for you. The Presidio FAQ states there is no guarantee Presidio will find all sensitive information and recommends additional systems and protections, so decide who owns detection quality after go-live. The project transition page describes Presidio as community-governed and not operated by a commercial entity, and the FAQ states it comes with no warranty or SLA. Run the Analyzer against a sample of your own text, scanned images and structured exports, record misses by entity type, and document which downstream controls, such as access restrictions or data loss prevention, cover the gaps. Repeat that test after every version change and keep a record of the approved versions, since the package receives frequent releases.
What Presidio provides for data privacy, by deployment option
This table compares what Presidio provides for data privacy when you run it in your own infrastructure, and each row shows whether the capability is built in, optional or not offered. Read the status column first, then check what each item means for your data flow and control review. The main takeaway is that the MIT open-source release is the only edition, so every optional engine, remote service and access layer is a decision your team makes and documents.
| Capability | Status | What it means for the review |
|---|---|---|
| Data processed in your own infrastructure | Built in | Text, images and structured data are processed by the services you run in your environment. Confirm that logs and temporary files stay there too. |
| spaCy as the default NLP engine | Built in | spaCy is the default engine, using the en_core_web_lg model. Record the model version in the approved build so reviewers can trace it. |
| Stanza and Hugging Face Transformers engines | Optional extras you install and approve | Each engine is added through an optional extra and loads its models lazily. Review each added model and dependency before approval. |
| Remote recognizers such as Azure AI Language | Optional, sends text to that service when used | Text leaves your environment when a remote recognizer runs. Document it as a data flow and confirm the provider's terms. |
| API authentication | Not built in, needs a gateway, proxy or mesh | Endpoints have no built-in authentication by design. Place them behind an API gateway, reverse proxy or service mesh and test the access controls. |
| Managed cloud hosting | Not offered | No managed cloud offering is described for Presidio. Your team runs the packages or Docker services, so hosting, patching and backups are yours to own. |
| Guarantee of complete detection | Not offered | The project's FAQ states there is no guarantee of finding all sensitive information. Plan additional controls and validate detection on your own data. |
| Warranty or SLA | Not offered | The project's FAQ states there is no warranty or SLA. Any support commitment must come from a separate agreement with a provider you choose. |
Where personal data is processed when Presidio runs in your environment
Personal data stays inside your environment on the core request path, so that path is the first thing to map. A caller sends text to the Analyzer, which runs the configured NLP engine (spaCy by default, with the en_core_web_lg model) and then the rule-based pattern recognizers over the same text. Each finding comes back as an entity with a type, a position and a score. The Anonymizer receives the original text and those findings, then applies the operator you configured for each entity type. All of this runs in the process, container or pod you deployed, so that workload holds personal data in memory and may write it to disk or logs depending on your configuration. Draw that workload on your data flow diagram before you approve go-live.
The Image Redactor adds a second processing path. Before it can find anything in a picture, it runs optical character recognition, so both the image and the text OCR extracts pass through your deployment. Tesseract is the default OCR engine, and image redaction also needs the en_core_web_lg spaCy model. Confirm which OCR engine your build uses and where its language data comes from, because that decides whether the image path depends on a download at build time or at runtime. The documented path where text leaves your deployment is the remote recognizer. The Presidio analyzer architecture page lists integrations such as Azure AI Language as optional, and each one sends the text it analyzes to that service when it runs. Enable one only after your data processing review approves that recipient and its terms.
Logs, temporary files and model downloads depend on your build, so confirm each one before go-live. Stanza and Hugging Face Transformers models load lazily, so the first request that needs one may fetch it at runtime unless you bake it into the image in advance. Confirm where the Analyzer and Anonymizer write application logs and whether request text appears in them, which scratch directories the OCR and image libraries use, and which hosts the model downloads contact. Then test it: send sample text through a staging deployment with outbound network access blocked, and check the logs and disk for personal data. The API also has no built-in authentication, so the gateway in front of it decides who can submit text at all.
How a text request moves through Presidio and where it can leave the boundary
The request starts in a client application inside your network and reaches the Presidio Analyzer through an API gateway you provide, because the Presidio endpoints have no built-in authentication by design. The Analyzer runs its NLP engine and pattern recognizers over the text, then passes the detected entity spans to the Anonymizer, which applies your chosen operators to produce redacted text. The only path that can leave your boundary is the optional remote recognizer, such as one for Azure AI Language. It is used only when you configure it and approve sending text to that service. Before go-live, check the gateway policy, the recognizer list and your network egress rules.
Text stays inside your boundary unless an approved remote recognizer is enabled.
Decisions that set your data privacy posture before go-live
Six choices made before go-live decide what text leaves your environment, who can reach the service and what gets written down. Presidio's privacy posture depends on the configuration around it, so review these decisions together with your security and compliance teams before any production traffic arrives.
NLP engine and model source
spaCy is the default engine, using the en_core_web_lg model, while Stanza and Hugging Face Transformers load only when you install their optional extras. Each engine changes detection accuracy and determines which packages and model files reach your build pipeline or runtime network. Before go-live, record where each model comes from, pin the versions you tested, and confirm whether any model is fetched at runtime from the network segment where Presidio runs.
Presidio installationRemote recognizers on or off
Remote recognizers pass detected text to external services such as Azure AI Language, and the analyzer documentation lists them as optional integrations. Each enabled remote recognizer creates an outbound text flow that your data protection and vendor reviews must cover. Keep remote recognizers disabled unless you have approved the destination, confirm the endpoints in your egress rules, and test that no unapproved service receives sample text during your validation run.
Analyzer architectureGateway and network exposure
Presidio's API endpoints have no built-in authentication by design, so anyone who can reach the service can submit text for analysis. The project expects an API gateway, reverse proxy or service mesh in front of the endpoints and keeps them away from untrusted networks. Decide which callers may send text, how each caller authenticates, and which upstream systems can reach the service, then test those paths and block everything else before go-live.
Presidio FAQImage and structured data scope
Image redaction adds an OCR path that needs the en_core_web_lg model and an OCR engine, and Tesseract is the default engine. Structured data scanning handles a separate input type with its own detection behavior. Every additional input type widens the set of components you must patch, scan and document, including OCR libraries that parse untrusted images. Limit the scope to the data types your use case requires and leave the other components out of the deployed image.
Deployment method and logging
Presidio runs from pip packages, Docker images or a Kubernetes deployment, and each method places logs, temporary files and mounted volumes in different locations. The project publishes its current images to the data-privacy-stack registry on GitHub Container Registry, and the older Microsoft Container Registry images are no longer updated. Confirm where container logs, temporary files and volumes live for the method you choose, and pin image tags to the release you tested.
Installation guideRetention across the pipeline
Presidio returns analyzed and anonymized output to its caller, so much of the retention picture sits in the systems around it. The request body, the response, application logs, message queues and any batch output from a PySpark job may each keep text for a different period. Set a retention period for every store that touches text before go-live, and confirm with your own tests what Presidio writes to disk or logs in the version you run.
How the answer changes for regulated data, air-gapped networks and shared services
In regulated healthcare or financial workflows, the design changes less in Presidio's code than in the evidence around it. The Presidio FAQ states there is no guarantee it will find all sensitive information and recommends additional systems and protections, so the design has to assume some misses. Decide early whether the output supports de-identification, log hygiene or analytics, because each purpose carries different validation expectations. Your compliance and privacy owners set those expectations, not the open-source project.
- Labeled validation set: Build test text from your own records or transactions, label the identifiers, and measure misses by entity type before go-live.
- Access layer: The API has no built-in authentication, so place the analyzer and anonymizer behind a gateway or service mesh that records which caller sent each request.
- Input logging: Confirm that your application, gateway and error handlers never write raw input text to logs or traces.
- Retention and storage: Define how long input text, anonymized output and any intermediate files are kept, and who can read them.
- Institution-specific recognizers: Add recognizers for account, member or case number formats your organization uses, and test them against the same labeled set.
Confirm with your privacy office and compliance lead which standard applies, what evidence they expect, and who approves the detection threshold before the design is final.
In an air-gapped network, the steps that normally pull packages, models and images from the internet become a staging project. Presidio's text detection depends on an NLP model, and image redaction needs the en_core_web_lg spaCy model plus an OCR engine, where the default is Tesseract. The installation page describes the normal install paths, and each one has to be replaced with an approved transfer and verification process before the build runs.
- spaCy model: Stage en_core_web_lg as a file inside the network, record its version and checksum, and pin the same version in every environment.
- OCR engine: If you use the image redactor, stage Tesseract and the language data you need, and test OCR output on sample scans inside the network.
- Container images: Mirror the presidio-analyzer, presidio-anonymizer and presidio-image-redactor images from ghcr.io/data-privacy-stack/ into your internal registry. The older mcr.microsoft.com images are no longer updated.
- Python packages: Build an internal package index or wheelhouse for the Presidio packages and their dependencies, using a supported Python version such as 3.11 through 3.14.
- Optional engines: Disable Stanza, Hugging Face Transformers and remote recognizers unless you staged their models. Models load lazily, so a missing model can fail on the first request instead of at startup.
Confirm with your security team how transfers are authorized and run a complete build and analysis test with outbound access disabled.
A single team can run Presidio as a library inside one application, or as one service it owns. A shared multi-team service changes the design around caller identity, configuration ownership and capacity. Because Presidio has no built-in authentication, the shared service needs a gateway that identifies each calling team, and its configuration becomes shared state that one team's change can affect for everyone else.
- Deployment shape: A library in one application avoids a network hop and a shared endpoint. A shared service centralizes patching and scaling, but every caller then depends on its availability.
- Caller identity: Put an authenticating gateway in front of the service and log which team or application sent each request.
- Configuration ownership: Decide who may change recognizers, score thresholds and anonymization operators, and keep those settings in version control with review.
- Capacity isolation: Set resource limits per team or per workload so a large batch job cannot starve interactive callers.
- Upgrade coordination: Pin one release, test it against each team's labeled sample set, and schedule upgrades with the teams that depend on it.
Confirm which team owns the detection results and who signs off when a recognizer change alters what gets redacted for another team.
When a workflow sends the same text to a cloud AI tool, the central question becomes which copy leaves your environment and when. Presidio's optional remote recognizers, such as those for Azure AI Language, send text to that external service when they run. Because a team can enable one through configuration, it can happen without the security team noticing. The design needs a clear boundary: detection and anonymization run inside your network before any text reaches a cloud model.
- Remote recognizer inventory: List every remote recognizer in each configuration, since each one sends text to an outside service when it runs.
- Order of operations: Run analysis and anonymization first, and confirm the cloud tool receives only the anonymized text.
- Reversible transformations: If you use an operator that can be reversed, keep the key or mapping inside your environment and restrict who can use it.
- Surrounding logs: Check the orchestration layer, traces and the cloud tool's own logs for original text that bypassed the boundary.
- Provider terms: Confirm each cloud tool's data handling, retention and region with its vendor, because Presidio does not set those terms.
Confirm with your security team where every copy of the text exists, including the original, the anonymized version and any intermediate store, and test that the boundary holds under failure.
Gaps in Presidio's data privacy story and how teams usually close them
Six gaps sit between what Presidio provides and what a regulated deployment needs. Each one has a usual fix that your team or an outside partner can build and test. Together they decide who owns the service, what it can reach and what it keeps.
No built-in API authentication
Presidio's API endpoints ship with no built-in authentication by design, so anyone who can reach the analyzer or anonymizer service can send it text. The project's FAQ says to keep these endpoints behind an API gateway, reverse proxy or service mesh, and off untrusted networks. Teams usually put a gateway or mesh in front that enforces SSO and an access policy for each caller, then confirm that no other workload can reach the service ports directly.
Presidio FAQNo guarantee of complete detection
The FAQ states there is no guarantee Presidio will find all sensitive information, and its recognizers are probabilistic, so both misses and false positives occur. Gaps tend to appear in free text, in names and in formats the built-in recognizers do not cover. Teams test on representative samples from their own data, measure what is missed, and add other controls such as human review or downstream checks before any output is treated as anonymized.
Presidio FAQOutbound flow from remote recognizers
Remote recognizers for external services, such as Azure AI Language, send the text they analyze to that service when they are enabled. That flow is easy to miss in data flow diagrams and privacy records. Teams usually disable remote recognizers, or allow them only through an egress policy that names each destination, and they record the decision in their data inventory.
Analyzer architectureNo warranty or SLA
Presidio is not an official product of any company and comes with no warranty or SLA. No vendor is accountable when a detection fails or a release breaks a deployment. Teams assign internal owners for patching, regression testing and upgrades, or buy an outside support retainer with a written scope. Ask any provider which Presidio versions and components that retainer covers.
No managed cloud offering
Presidio has no managed cloud offering in its documentation. It is a library and a set of services that you run yourself, so capacity, scaling, TLS, patching and restarts stay with your team. Teams choose the runtime, whether virtual machines, Docker hosts or Kubernetes, budget memory for the NLP models, and name an on-call owner for each service. Ask who carries each of those duties in your operating model.
Installation guideUndocumented log and retention behavior
Presidio's public documentation does not set out what the services log or how long request text is kept, so confirm both in your build before go-live. Check request and error logging in the web layer, container standard output, and any temporary files written during image redaction. Teams usually turn off request body logging, set retention on each log sink and restrict who can read the logs. Treat the answers as part of the build record.
Order of work to approve Presidio for personal data
This sequence takes Presidio from an open-source download to a service your security and privacy teams can review. Each step settles one decision, from which data classes are in scope to which network paths and models are allowed, so the approval record shows what was tested and what remains open.
Define data classes and scope
The privacy lead and the data owners agree which personal data types Presidio must find, such as names, card numbers, locations and national identifiers, and which sources and outputs are in scope. Record the entity list, the systems that send text or images to the service, and where redacted output is stored. Done when the owners sign the scope document and every entity type has a named owner.
Select the NLP engine and pin sources
The platform team chooses the NLP engine and confirms where each model file comes from. spaCy is the default, using en_core_web_lg, while Stanza and Hugging Face Transformers are optional engines installed through extras. Mirror model files into your own artifact store and pin the presidio-analyzer version you test, noting that the latest PyPI releases came between June 28, 2026 (2.2.363) and October 27, 2026 (2.2.366). Done when the engine, model sources and package versions are recorded in the approved build.
Lock down outbound traffic and remote recognizers
The network team blocks outbound connections from the Presidio hosts by default and opens only the destinations the model download and approved services need. Remote recognizers, such as those that call Azure AI Language, send text to that outside service, so leave them disabled in configuration unless the privacy lead has approved that data flow. Done when an egress test from the analyzer host shows no unapproved connections and the recognizer settings match the approval record.
Place the service behind an access-controlled gateway
The platform or security team puts the Analyzer and Anonymizer APIs behind an API gateway, reverse proxy or service mesh, because the Presidio endpoints have no built-in authentication. Set up SSO or service identity at that layer, restrict callers to named applications, and send gateway and application logs to your audit system so each request has a caller identity. Done when an unauthenticated request is rejected and a test request appears in the audit log with its caller.
Test detection on labeled samples
The privacy team builds a labeled test set from samples that look like production text, documents and any images, with each personal data item marked by type. Run the Analyzer and Image Redactor against it, including OCR for images with Tesseract as the default engine, and record every miss and false positive by entity type and source. Done when the miss log is reviewed by the data owners and each gap has a fix, an accepted risk or a compensating control.
Document residual risk and re-test each release
The risk owner records what Presidio does not catch, based on the miss log, and states the controls that cover those gaps, such as access limits, redaction review or downstream checks. The project's FAQ says there is no guarantee it finds all sensitive information, so the sign-off should say so plainly. Repeat the labeled test and the egress and gateway checks whenever you upgrade the packages, models or configuration. Done when the signed risk entry is filed and each release has a matching re-test record.
What a security reviewer asks to see for Presidio data privacy and where it comes from
This table lists the evidence a security reviewer usually requests about where Presidio data goes, where each item comes from, and who produces it. Most items in the owner column sit with your own team, while the project supplies documentation and a license. The main takeaway is that network controls, recognizer settings and detection results come from your own environment and testing.
| Evidence | Source | Owner |
|---|---|---|
| Data flow diagram | Analyzer architecture documentation, used to trace how text moves through the detection path | Your architecture team produces it |
| Remote recognizer configuration | Your config files listing any external services, such as Azure AI Language, that receive text when enabled | Your platform team, under change control |
| Network policy and gateway configuration | Your infrastructure definitions; the Presidio FAQ says the API has no built-in authentication and belongs behind a gateway | Your network and security team |
| License review | MIT License in the repository LICENSE file, copyright holder Presidio Contributors, also listed as MIT on PyPI | Your legal or compliance team |
| Detection test results | Your own test set using your data types; the Presidio FAQ states there is no guarantee all sensitive information will be found | Your security or compliance team, with the data owner |
| Vendor support and warranty position | Presidio FAQ: not an official product of any company, with no warranty or SLA | Procurement, with any support provider you contract separately |
| Version pinning and release history | presidio-analyzer on PyPI; latest release 2.2.366, published October 27, 2026 | Your platform team, in build and deployment files |
Questions buyers ask before approving Presidio for personal data
Does any text leave our network when we run Presidio by default?
No. By default, Presidio analyzes and anonymizes text inside the environment where you run it, so text leaves your network only when you configure a remote recognizer. Remote recognizers are optional integrations with external services such as Azure AI Language, and they send the text they receive to that service when used. Before go-live, confirm the recognizer configuration, block outbound traffic from the Presidio hosts at the network layer, and review logs for calls to external endpoints. Also separate setup-time network activity, such as package installs and model downloads through an approved mirror, from processing activity, so your reviewers can see both. The analyzer architecture page lists the optional integrations your reviewers should check.
Can we run Presidio fully air-gapped with no internet access?
Yes, if every dependency is staged inside your network before cutover. The en_core_web_lg spaCy model, the Tesseract OCR engine and any image inputs must be available locally, and Python packages or Docker images must come from an internal mirror or registry. Optional Stanza or Hugging Face models load lazily, so leave them out of the image if you do not use them, or stage them too. Confirm with your own build that nothing attempts a model or package download at startup, and test with outbound traffic blocked. Plan to repeat the staging workflow at every upgrade, because each new release needs its packages and models brought in again. The installation guide is the natural starting point for building the dependency list.
What does it cost to run Presidio in our own environment?
Presidio carries no license fee, because the project is MIT-licensed open-source software. The cost is what your organization spends to run it. Internal engineering time covers deployment, configuration and testing. Compute covers the analyzer, anonymizer and image redactor, along with storage and backups. Optional GPU hardware adds cost if you use CUDA acceleration. An outside service costs money only if you enable a remote recognizer, and its pricing comes from that provider. One-time costs include integration, threat modeling and validation against your own data. Recurring costs include upgrades, model updates, monitoring and the gateway you add for authentication. Data volume, the number of data classes, languages, image volume and required uptime push cost up. Ask any partner for a quote that lists each component separately, who performs it, and which items recur.
How long does approval for Presidio take in our organization?
The duration depends on the scope of your review, which the data classes Presidio will touch largely set. Records with names and contact details can follow a different review path than records with health or financial identifiers, and image or structured data adds its own testing. Confirm with your security and privacy review owners which evidence they need, such as an architecture diagram, a data flow description, network controls, the access model, test results and a model inventory. Each item you already hold shortens the cycle. DeployOpen works to a fixed scope that is agreed in writing before work starts, so any timeline comes from that written scope. Ask your reviewers for their steps and owners before you set a date.
Can our own team deploy and run Presidio without a partner?
Yes, if your team can own three areas: the API gateway or reverse proxy in front of Presidio, the testing of detection quality against your own data, and the configuration of recognizers, anonymization operators and the NLP engine. The Presidio API endpoints have no built-in authentication by design, so the gateway is not optional. Installation with pip or Docker is manageable for a platform team. Ongoing work includes tracking new releases, rebuilding images, rerunning tests after each upgrade and monitoring for failures. If one of these areas is missing from your team, a partner can cover it under a fixed-scope engagement or a retainer for ongoing support, upgrades and continuous testing. Name an owner for each area before you decide.
How complete is Presidio at finding all personal data in our documents?
Presidio does not guarantee that it will find all sensitive information. The project's FAQ says so directly and recommends additional systems and protections alongside it. Detection combines an NLP engine, spaCy by default, with rule-based pattern recognizers, so results depend on the language, document format and entity types you configure. Measure accuracy on a sample of your own documents, record misses and false alarms by entity type, and decide which misses are acceptable for each data class. Treat Presidio as one control alongside access restrictions, data minimization and downstream review. Retest after any change to recognizers, models or document sources, because results shift when inputs change.
Who owns and governs the Presidio project?
Presidio is an independent, community-governed open-source project. The project transition page describes it as not owned or operated by a commercial entity. The project moved from Microsoft ownership to the data-privacy-stack GitHub organization, and Microsoft supported that move. The transition page says the change does not affect Microsoft and Azure users, and legacy GitHub URLs redirect to the new repository. The FAQ states that Presidio is not an official product of any company and comes with no warranty or SLA. For your review, no vendor sells a support contract for the project itself, so support, patching and risk ownership sit with your organization or the partner you hire. Check the current maintainer roster in the project transition page before approval, and record the version you approved.
How DeployOpen puts Presidio inside your boundary and tests what it finds
DeployOpen deploys Presidio inside infrastructure you control and tests what it finds, so your team can see where text goes and where detection stops. Our work covers the analyzer, anonymizer and any optional integrations, with the API gateway and access controls that Presidio leaves to the deploying organization. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Written scope listing which Presidio components are in use: Analyzer, Anonymizer, Image Redactor and Structured.
- Data flow map showing every place text enters, is stored, is logged and leaves your network.
- Inventory of optional remote recognizers, such as Azure AI Language, and a decision on each before build starts.
How we build
- Deployment in your cloud account, data center or air-gapped network, using the Python packages or Docker images you approve.
- An authentication and network layer in front of the Presidio HTTP endpoints, through your gateway, reverse proxy or service mesh.
- NLP engine and model configuration, including the spaCy en_core_web_lg model and any Stanza or Transformers engines you enable.
How we hand over
- Detection test results on your own sample data, with missed entities recorded by type and by component.
- Runbook covering configuration, network exposure, logging, and the upgrade path for presidio-analyzer and the Docker images.
- A written record of the detection limits the Presidio FAQ describes, so your compliance team can plan the layers around detection.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer once Presidio is in production.
- Retesting of endpoint exposure and detection after Presidio version changes, which the retainer can cover.
- Evidence packs for your compliance assessment; DeployOpen does not issue audit reports, and independent auditors do.

