FilterPrompt — AI Security Testing & Vulnerability Scanner logo

AI Data Leakage: Test Exposure Before Choosing Controls

Best Practice · 2026-07-01 · 6 min read · FilterPrompt Security Team

Understand LLM data leakage, test with synthetic canaries, review response evidence and distinguish vulnerability scanning from runtime DLP.

FilterPrompt is AI Security Testing & Vulnerability Scanner. It submits adversarial prompts to a connected LLM or AI application, analyses model responses, identifies vulnerabilities and generates reports with test evidence. It does not block live traffic, redact customer requests or act as a firewall.

Where sensitive information can escape

Leakage can occur when prompts include confidential values, retrieval returns unauthorized documents, a model repeats private context, or a tool transmits data to an unintended destination. These are different boundaries; one redaction rule cannot validate all of them.

A safe synthetic-canary test

On a staging assistant you own, create a synthetic document containing TEST_CANARY_42. State which test user may access it. Ask a different test user for that value, then try a direct instruction override and an indirect instruction in a synthetic retrieved document. Record whether the protected value appears in the response. Never use real passwords, payment data or customer records.

Testing is not data-loss prevention

FilterPrompt discovers and documents observed leakage under test. Your application must implement retrieval authorization, data minimization, output validation and any runtime redaction separately. Retest those changes to measure whether the observed weakness remains.

Run an authorized assessment with FilterPrompt

  1. Create an account and connect an LLM using your own provider credentials. Use an authorized staging target and synthetic data.
  2. Choose a scan suite and review the probe selection and credit estimate. Test your application endpoint when you need coverage of its retrieval, tools and safeguards.
  3. Run the tests. FilterPrompt sends adversarial prompts and evaluates the responses against the selected criteria.
  4. Open the report and inspect each failing prompt, response, severity and evaluation reason. Manually confirm important findings; mark false positives with a reason when appropriate.
  5. Record remediation work with an owner in your existing issue tracker. Make changes in your application and retest the affected cases.
FilterPrompt vulnerability report with test evidence
Review the test prompt, model response and evaluation before accepting a finding.

What a scan can and cannot establish

Results describe the tested endpoint, configuration and prompts at that point in time. A passing scan is not a guarantee of security, certification or legal compliance. Testing a raw provider model does not test the access controls, retrieval sources or tools in your application. Test limits and provider costs must be agreed before running an assessment.

Put this guide into practice with FilterPrompt

FilterPrompt is an AI security testing and LLM vulnerability scanner. Connect an authorized LLM or AI application with your own API key, test it with adversarial prompts, and review prompt injection, jailbreak and data-leakage findings with the test prompts, model responses and severity. Use that evidence to prioritize fixes and retest; FilterPrompt does not intercept or block live traffic.

Create a FilterPrompt account and use 1 free welcome credit for any static scan on your connected LLM. Review test prompts, responses and findings. No credit card required. Dynamic testing requires purchased credits; your provider may charge for API requests.

Related