PII leakage testing with garak's ProPILE probes

How garak's ProPILE probes check whether a model memorised and can leak personal data from its training set, how to read the twin, triplet and quadruplet results, and how to treat hits under GDPR.

On this page

Why test whether a model leaks PII with garak's ProPILE probes

If your team is deploying or fine-tuning a model on data that may contain personal data, you need evidence on whether the model has memorised that data and can reproduce it. garak's propile module runs ProPILE probes that check exactly this: whether a model has memorised and can leak personally identifiable information from its training data. The module was added in v0.15.1. garak, the Generative AI Red-teaming and Assessment Kit, is an Apache 2.0 licensed command-line tool installed from PyPI with pip, and the PyPI package requires Python 3.11 or newer. It probes a model with prompts and records each attempt and its evaluation, so the output can be reviewed by your privacy and security teams.

A PII leakage check belongs in the scan plan whenever the model was trained, fine-tuned or prompted with records that identify people, such as customer correspondence, support tickets, HR files or clinical notes. It also belongs in the plan when a vendor model is being selected for a workload that touches personal data. Confirm with your data owners which datasets went into training or fine-tuning, because a probe can only show what the model reproduces, not what it was given. Decide before the run who will review hits, which data subjects or categories are in scope, and whether results will be kept as part of your records of processing activities. Those decisions shape the probe selection and the evidence you will need afterwards.

Which prompt form fits which test goal

Start here when you are assessing a hosted model you did not train and have no record of its data sources. A quick screen answers one question: does the model produce recognizable personal details when prompted with partial records? Begin with the twin form, which gives the model the fewest known fields and so casts the widest net. Expect the setup to be simple, but expect ambiguous hits, because a model can generate plausible names and contact details without having memorized anything.

  • Start with twin prompts: they supply the least context, so they show whether any memorization surfaces at all.
  • Keep the scan small: a screen is for triage, so limit probes to what the question needs before running deeper tests.
  • Use synthetic or public test subjects: avoid sending real personal data to a third-party endpoint during a screen.
  • Check the provider's terms: confirm how prompts and outputs are logged and retained before any test content is sent.
  • Confirm the generator configuration: hosted generators need credentials and model names that match the provider's current catalog.

Before you act on a screen, confirm with the provider what data the model was trained on and whether they document any personal data filtering.

Configuration options for ProPILE runs

This table compares the main configuration choices for a ProPILE run: which probes to select, how many generations to request, which harness and detectors score the output, how reports are kept, and which target type fits your deployment. Use it to decide what to fix before a run and what to confirm against the release you install, since defaults and probe names can change between versions.

OptionChoiceWhen it fitsConfirm in the current release
Probe selectionRun the propile module directlyTargeted PII memorisation checks on a model that may have seen personal data in trainingConfirm the probe names in the propile module of your installed version
Generations per promptKeep the default of 5Baseline runs where you want repeated attempts to catch intermittent memorised completionsConfirm the default with garak's current README and your config file
HarnessDefault probewise harnessFirst runs, where each probe runs with its recommended detectorsConfirm which detectors the propile probes use by default
Detector choiceRecommended detectors onlyComparing runs over time with consistent scoringReview detector output in the JSONL report before treating hits as findings
JSONL reportKeep every run's reportAudit trail of each attempt and its evaluation, needed to explain a hit laterConfirm the report location and retention rules you set for your environment
garak.log fileKeep and rotate across runsDebugging failed or partial runs, since the log continues across runsConfirm log rotation and whether it captures prompts that contain personal data
Hugging Face Hub targetLocal or hosted model from the HubOpen-weight models you can run inside your own infrastructureConfirm model access tokens and where weights are cached
OpenAI API targetHosted API modelCommercial models where you accept the provider's data handling termsConfirm the provider's retention and training terms before sending prompts
AWS Bedrock targetBedrock foundation modelModels already governed under your AWS account controlsConfirm the model IDs and regions supported in your account
LiteLLM targetProxy in front of several providersTeams that route many models through one gateway with loggingConfirm the gateway logs do not store raw completions you cannot protect
gguf via llama.cppLocal quantised modelAir-gapped or offline testing of a memorisation candidateConfirm quantisation effects on memorised text before comparing with full-precision results
REST generatorAny endpoint returning plaintext or JSONYour own application endpoint, where what users actually receive is testedConfirm the YAML endpoint description matches the response shape you test

Setting up a ProPILE run with garak

This sequence takes a team from a clean Python environment to a scoped ProPILE scan with a readable report, so the results can be checked before anyone interprets a hit. Each step ends with a check that confirms the run did what it was meant to do.

  1. Confirm the Python environment and install garak

    An engineer on the team creates a virtual environment on a Linux or macOS host running Python 3.11 or newer, then installs garak from PyPI with pip. Pin the version you intend to use so later reruns compare like with like. The garak release used for this guide is v0.17.1, released on 16 October 2026, but confirm the current release on the project's GitHub releases page before you pin. The step is done when garak --version reports the pinned version and the command runs without import errors.

  2. Describe the target model in a generator config

    If the target is a hosted or Hugging Face model, pass its generator name on the command line. If the target is your own application or a private endpoint, write a short YAML file for garak's REST generator that names the endpoint, the request template and how the response text is read from plaintext or JSON. Keep the file in version control next to the scan scripts. Test the configuration with a single benign prompt sent by hand. The step is done when that test returns a readable response from the same endpoint garak will call.

  3. List the ProPILE probes before running

    Run garak's probe listing command and filter for the propile module to see which ProPILE probes are installed in your version. The module was added in v0.15.1, so older installations will not show it, and the list should be checked against the probes/propile.py source for your release. Record the probe names in the run notes so the scope is documented. The step is done when the propile probes appear in the list. If they do not, upgrade garak to a release that includes the module rather than editing the source.

  4. Run a scoped ProPILE scan

    Start the scan with only the propile probes selected, using the generator you described and a named report prefix. Leave the default of 5 generations per prompt in place unless the scope document says otherwise, since that setting controls how many attempts each prompt gets before a probe is marked FAIL. Keep the scan to the target model in scope, and run it from a host where the target's logs and any personal data handled during testing are covered by your data handling rules. The step is done when the command exits and garak prints a summary line for each probe it ran.

  5. Check that every probe generated output

    Open the terminal summary and confirm that each ProPILE probe reports completed attempts, not zero or errored attempts. Then open the JSONL report and count the entries per probe, checking that the number of attempts matches the generations you configured. An empty or partly filled probe usually points to a generator or endpoint problem, not a clean result. The step is done when every selected probe has a full set of attempts and each attempt has an evaluation field.

  6. Review the garak.log file for errors

    Open garak.log in the run directory and search for warnings, timeouts, authentication failures and detector load errors. This file is continued across runs, so filter it by the timestamp of the current scan before drawing conclusions. Note any rate limit or truncation messages, because they can cause the target to return partial or refused answers that look like passes. The step is done when the log for this run shows no errors that affect the generator or the detectors, or each error has been explained and rerun.

  7. Archive the report with its configuration

    Store the JSONL report, the garak.log entries for the run, the generator config, the pinned garak version and the probe list together in an evidence folder with the scan date and target name. Record who approved the scope and where any flagged output is held, with access limited to the people who will review it. Without this record, a later rerun cannot be compared with this one. The step is done when a second engineer can find the folder, rerun the same command from the stored config and reach the same probe list.

How a ProPILE scan flows from prompt to decision

A ProPILE run starts at the garak CLI on the scanner host, which loads the propile probes and sends prompts through a generator to the target model endpoint, the trust boundary crossed by every request. Model outputs return to the scanner, where detectors and the evaluator score each attempt and write a JSONL report. Triage then routes each result to no hit, privacy review or retest, and the reviewer should check the hit against the personal data it contains before drawing conclusions.

ProPILE requests cross the scanner-to-model trust boundary before triage.

Handling PII in scan data and reports

A ProPILE run can surface the personal data it was designed to find, so the scan produces sensitive output by design. The cards below cover the risks that come from running the test: what lands on disk, where traffic goes, which keys are exposed and how long evidence is kept.

Reports hold the personal data

The JSONL report records every attempt and its evaluation, and a probe hit can contain the personal data the model produced. Treat the report as sensitive data in its own right, not as a neutral test artifact. Before a run, confirm where the output directory sits, who can read it and whether it is backed up to locations with weaker controls than the source system.

garak README

garak.log persists across runs

The debug log is continued across runs, so a single log can accumulate prompts, responses and error text from many scans over weeks. Unlike a report you chose to keep, the log is easy to forget and easy to copy into a ticket. Decide whether logging verbosity is appropriate for PII probes, and set a rotation and deletion step that covers this file together with the reports.

Third-party endpoints receive the traffic

When the target is a hosted model, every ProPILE prompt and every generated completion leaves your environment and reaches the provider's infrastructure. Whether that counts as a transfer under GDPR depends on where the endpoint processes data and what your contract allows. Confirm the provider's data processing terms and processing locations before pointing a scan at a hosted API, and prefer a self-hosted target when the probes are likely to elicit real personal data.

Protect the target API keys

garak generators need credentials for the target, usually supplied through environment variables or a REST configuration file. A plaintext key in a YAML file committed to a repository or copied into a CI log exposes the account that serves the model. Store keys in your secrets manager, scope them to a test account with rate and spend limits, and rotate them after any scan that ran from a shared host.

Retention and deletion policy

Reports and logs that contain personal data need a defined retention period and a documented deletion step, agreed before the first scan. Keep only the reports needed to show a finding was fixed or retested, and delete the rest under the same schedule. Ask your privacy team which legal basis and retention rules apply to security test data, since GDPR storage limitation applies to personal data regardless of why it was collected.

Access limited to the testing team

Restrict scan hosts, output directories and report sharing to named people who need the findings to fix the model or application. Summaries for managers and auditors can omit the raw completions, and redaction should happen before a report leaves the testing team. Review access when staff change roles, and record who received each report so that a later disclosure can be traced.

What a hit means under GDPR

A ProPILE hit is not automatically a personal data breach, and it is not automatically a GDPR violation. The GDPR, Regulation (EU) 2016/679, applies to personal data processed by controllers and processors, so the first question is whether your organization is one of those parties for the model and whether the output contains information about an identifiable person. Whether a model output that contains personal data is a reportable event is a legal assessment you must make with counsel and with the guidance of your supervisory authority. A scan report cannot make that determination for you.

The obligations that usually come into view are in Chapter IV. Article 32 covers security of processing, so a finding can become evidence that controls around the model were not appropriate for the risk. Articles 33 and 34 cover breach notification to the supervisory authority and, in some cases, to the data subjects. Your triage record should therefore capture the model and version tested, the prompt form that produced the hit (twin, triplet or quadruplet), the affected data categories, whether the memorized text can be tied to a real person, and whether the model is deployed to external users. Article 83 sets maximum administrative fines of EUR 10 million or 2% of total worldwide annual turnover for some infringements, and EUR 20 million or 4% for others, whichever is higher in each case. That ceiling is the reason a consistent, documented triage process matters more than a quick judgment on the day of the scan.

Finally, set expectations with leadership and procurement. The GDPR requires no audit, attestation or certificate, and Article 42 certification is voluntary and does not reduce the responsibility of the controller or processor. A clean ProPILE run is therefore useful engineering evidence, not proof of compliance, and a hit is an input to your privacy and legal review rather than a finding in its own right. Confirm with your data protection officer how scan results will be stored, who may access the raw outputs, and how long they are retained, since the outputs may themselves contain personal data.

Limits of ProPILE results and what to confirm

A ProPILE run gives evidence about one model, one prompt set and one detector configuration at one point in time. The cards below cover what a clean result does not prove, what the results depend on, and which legal and version questions to settle before a result goes into a privacy file.

A clean scan is not proof of absence

ProPILE prompts only cover the personal details and templates that garak ships, and each run samples a limited number of generations. A model can still hold memorised personal data that none of those prompts happened to elicit. Treat a clean result as "no hits under these conditions", and record the exact conditions so the statement is not overstated in a review.

Results depend on the run setup

Hit rates move with the prompt template, the number of generations per prompt, the detector and the garak version. Two runs of the same model can disagree after an upgrade, so keep the command, configuration and release recorded alongside each report. Confirm which detectors the probe uses in your version before you compare scores over time.

Memorisation is not every leakage route

ProPILE measures whether the model itself reproduces personal data from its weights. It does not test retrieval-augmented pipelines, where documents fetched at runtime can expose data the model never memorised, nor logs, prompt caches or tool outputs. Plan separate tests for those routes and say in the evidence which paths were covered.

Confirm behaviour in your release

The propile module was added in v0.15.1, and the behaviour of its probes may change between later releases. Before relying on a result, check the probe source and release notes for the version you run, and rerun a known case to confirm the probe still behaves as described. Pin the version in your scan records so the result can be reproduced.

garak releases

Regulatory position is still moving

The GDPR text was not amended as of October 2026. The Omnibus IV proposal has a text agreed in negotiations and awaits Parliament's first-reading vote, and the Digital Omnibus proposal awaits a committee decision. Do not describe pending changes as law. Check the current status of each procedure before you cite it in a privacy assessment.

Omnibus IV status

Confirm the legal reading with counsel

Whether a model that reproduces personal data is a processing activity, what a hit means for the controller's obligations under Article 32 and Articles 33 and 34, and how supervisory authorities would view a model trained on scraped data are legal questions. A scan can supply facts for that analysis, but the interpretation belongs to your privacy counsel and, where needed, the national supervisory authority.

GDPR text on EUR-Lex

Questions teams ask before running ProPILE probes

What does a ProPILE probe engagement cost and what drives the effort?

Cost depends on scope, not on the garak software, which is free to use. The main effort drivers are the number of target models, the number of prompt forms and data classes you test, the number of generations per prompt, and how many hits your team must triage. Each target adds configuration and run time, and each hit adds review work because someone must confirm whether the output is a real personal data match. If you use DeployOpen, the price follows from a written scope that lists these items, and we do not publish a price list. Ask any provider for a quote that separates one-time setup, the scan itself, triage and any retest, and that states who handles hits and at what level of detail.

How long does it take to get a first useful ProPILE report?

The first useful report depends on how quickly access, configuration and approvals are in place, and on how long the scan itself runs against your model endpoint. The scan is usually the shortest part when the target is reachable and the configuration is ready. Delays tend to come from waiting for model access, agreeing which data classes may be probed, and getting legal sign-off on how hits will be stored and reviewed. Ask for a timeline that lists each milestone and the party responsible for it, and confirm with your own environment how long a scan will take on your endpoint before you commit to a date.

What must our team provide before a ProPILE engagement starts?

The team needs to provide four things: access to the model or application endpoint in a test environment, a list of the personal data classes that matter to your business, named legal and privacy contacts, and a place to store results. Access should include the API details garak needs, such as the generator configuration, and any rate limits. Data classes define what counts as a hit, for example names combined with contact details or employee records. Legal contacts decide how hits are handled under your privacy obligations, and the storage location must be inside infrastructure you control so that reports containing personal data are not copied elsewhere.

Can our own engineers run garak ProPILE probes in-house?

Yes. garak is a free, open-source command-line tool, licensed under Apache 2.0, and it is installed from PyPI with pip. The PyPI package requires Python 3.11 or newer. Your engineers can add a generator for your endpoint, select the propile probes, run them and read the JSONL report. The harder work is designing the test: choosing which personal data classes matter, defining what a hit means, deciding how many generations to run, and setting a process for reviewing and documenting results. Teams without privacy and security staff on hand often bring in a partner for that design work, while keeping the tool and the results inside their own environment.

Does garak's Apache 2.0 license cover commercial use?

The Apache 2.0 license is a permissive open-source license, and it generally allows commercial use, modification and redistribution, subject to its conditions such as retaining notices and license text. Confirm the exact terms by reading the LICENSE file in the NVIDIA/garak repository with your legal team, since the license text governs and this page does not give legal advice. For questions about copyright holders, enterprise editions and paid support, read the garak buyer's guide topic on this site and check the project's README and documentation at docs.garak.ai.

What should we do when a ProPILE probe returns a hit?

Treat a hit as a potential personal data exposure that needs review, not as a confirmed breach. First, restrict access to the output and stop the scan if it is still running. Second, have a trained reviewer check whether the generated text contains identifiable personal data, and whether it matches real records or only looks plausible. Third, involve your privacy lead, since the GDPR requires controllers and processors to secure personal data under Article 32 and to assess breach notification under Articles 33 and 34 where a breach is confirmed. Record each step in your own system. Then decide on remediation, such as data filtering, model changes or output controls, and rerun the probes to confirm the fix. Regulators do not require an audit to demonstrate compliance, but they will expect your documented process.

Does a ProPILE result prove that our model has been non-compliant with GDPR?

No. A ProPILE result is test evidence that a model produced certain personal-looking output under specific prompts. It does not by itself establish that personal data was unlawfully processed, that a breach occurred, or that a fine applies. The GDPR is enforced by independent national supervisory authorities under Article 51, and the assessment depends on the facts of your processing, your lawful basis and your safeguards. Keep the findings, the test configuration and your remediation records together so your privacy team can explain the result accurately. Confirm the interpretation with qualified legal counsel.

Which garak version should we use for ProPILE testing?

Use a current release and record the version in every report so results can be compared later. The ProPILE probes were added in garak v0.15.1, so any release at or after that version includes them. The latest release noted in the supplied research is v0.17.1, released on 16 October 2026. Pin the version in your environment, check the NVIDIA/garak releases page before each scan cycle, and read release notes before upgrading, since changes between versions can shift scores and affect comparisons.

How DeployOpen scopes and delivers PII leakage testing

This sequence turns a privacy question about a model into a written test scope, a set of ProPILE runs in your environment, triaged hits and a retest that shows whether fixes held. The output is testing evidence your privacy and security teams can review, not an audit report or certification.

  1. Confirm target models and data classes

    DeployOpen and your team list every model, endpoint and fine-tune in scope, along with the categories of personal data each one may have seen in training or fine-tuning. Your privacy team confirms which data classes count as personal data under your policies and which sources the model was built from. The step closes with a written scope note naming the models, data classes and data owners, so every later decision traces back to it.

  2. Agree ProPILE forms and probes

    The team agrees which ProPILE prompt forms run against each target: twin, triplet or quadruplet, and which probes in garak's propile module cover the data classes confirmed in the previous step. The agreement records how many generations per prompt will run and which detectors score the output, since garak's default is 5 generations per prompt. The closing artifact is a probe plan that states what each probe is meant to show and what a hit would mean.

  3. Prepare the garak environment

    DeployOpen installs garak from PyPI on a host you control, which requires Python 3.11 or newer, and connects it to the target through the appropriate generator, including a REST generator with a YAML endpoint file where needed. Credentials stay in your secrets store, and the host is set up so prompts and outputs remain inside your environment. The step is done when a smoke test returns a JSONL report and a garak.log file.

  4. Run ProPILE tests in your environment

    DeployOpen runs the agreed probes against each target from inside your infrastructure, following the approved configuration and keeping run settings fixed so later runs can be compared. Each run writes a JSONL report of every attempt and its evaluation, and the team stores those reports under your retention rules. The step closes with a complete set of reports for every target and form in the plan, with run settings recorded alongside them.

  5. Triage hits with the privacy team

    DeployOpen groups flagged outputs by model, form and data class, then reviews each hit to separate genuine reproduction of personal data from false positives in the detector. Your privacy team decides whether each confirmed hit is a personal data disclosure, what the data subject exposure is, and whether breach assessment obligations under GDPR Articles 33 and 34 could apply. The closing output is a triage register with a decision and owner for every confirmed hit.

  6. Agree remediation and retest

    Your engineering and privacy teams choose fixes such as data filtering before retraining, output filters, access restrictions or a model change, and DeployOpen records them against the triage register. After the fixes ship, DeployOpen reruns the same probe plan with the same settings and compares the new reports with the baseline. The step is done when retest results show which hits were resolved, which remain and why.

  7. Hand over testing evidence

    DeployOpen delivers the scope note, probe plan, run reports, triage register, remediation record and retest comparison as testing evidence for your compliance and privacy files. Your privacy and compliance teams decide how this evidence supports their GDPR Article 32 security of processing work. DeployOpen does not issue audit reports, attestations or certifications, and independent auditors or certification bodies perform any formal assessment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.