KBAISE/ for lovable
Library
Docs

Sensitive data scanning

about 10 minShippingchecked 5d agoOfficial page
The short version

Lovable can automatically detect personal or confidential information across your chat messages, file uploads, built-in database, and storage. You can review flagged items, stop users from sending private data in chat, or permanently remove it.

Enterprise teams handling private customer or regulated data who want to prevent sensitive information from leaking into their project.

Do this, in order

  1. 1

    Go to Workspace settings, select Security, open Privacy & security, and turn on Sensitive data scanning.

    This activates the detection tools and adds the security panel to your projects.

  2. 2

    Choose a Chat send protection mode, such as Ask before sending or Block original.

    This determines whether teammates are warned or blocked when a chat message or attachment contains sensitive information.

  3. 3

    Open your project, click More, click Security, and choose Sensitive data.

    This page displays all flagged items and lets you run scans on your project.

  4. 4

    Click Run scan to check existing chat history, database rows, and storage files.

    Scans inspect existing project contents to find private data that was already saved.

  5. 5

    Review each finding and choose Redact on chat messages, Delete on files, or mark incorrect items as Not PII.

    Scans only find issues without altering them, so you must choose an action to clean up the private information.

  6. 6

    For database rows containing private data, ask Lovable in chat to delete or update those rows, then click Run scan again.

    Database items cannot be edited directly from the findings table, and re-running the scan updates their status to fixed.

Paste this into your project

Check the built-in database tables for any test data or sample rows that contain real personal information such as actual names, emails, or phone numbers, and replace them with realistic but completely fake placeholder data.

Words decoded

PII
Personally Identifiable Information, meaning data that can identify an individual person, such as full names, phone numbers, home addresses, or ID numbers.
Redact
Permanently wiping out private text and replacing it with a placeholder badge so the real information is gone.
Chat send protection
A safety check that inspects your prompt and file uploads right before they are sent into the project chat.
False positive
When the scanner flags something as private information by mistake when it actually is not.

Where people get stuck

  • Database and file storage scans only sample recent items and roughly the first 200 rows, so a clean scan does not guarantee your entire database is completely free of private information.
  • Database findings cannot be cleaned up by clicking an action in the findings table; you must remove the row from the database and re-run the scan to mark it resolved.
  • External or self-hosted databases and third-party storage services connected to your app are not scanned.
  • Files uploaded with detected private data cannot be partially redacted; you must cancel or delete the file and upload a clean replacement.
  • Sensitive data scanning requires an Enterprise plan and must be turned on by a workspace owner or admin.

The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.