> ## Documentation Index
> Fetch the complete documentation index at: https://docs.helloleo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Security

> Keep your app secure by running full and periodic scans using frontier models.

A security scan reads your app's code and lists the security issues it finds. Each issue comes with its cause and a solution. Leo can fix it for you.

> [!NOTE]
>
> Available on every paid plan. On the free plan, the tab shows an upgrade card. Scans consume [credits](https://docs.helloleo.dev/getting-started/credits-system.md).

> [!WARNING]
>
> A scan is an AI review of your code. It does not catch every possible risk and it is not a pentest.

## Run a scan

Open your project, then go to **Project Settings → Security**.

| Scan | What it reviews | When to use it |
| - | - | - |
| **Full security scan** | The whole project | First scan, or after large changes |
| **Quick security scan** | Only the code that changed since the last scan | After a few changes. Available after a first full scan |

## Schedule scans

Turn on the **Incremental scan** switch to scan your app on its own, for example every week. Pick an interval in hours, days, weeks or months. The tab shows when the next scan is planned.

A scheduled scan is a quick scan. It runs only when the code changed since the last scan, so an app you do not touch costs nothing. Scheduled scans start after a first full scan.

## Read the results

Each issue shows a severity, where it is in the code, its cause and a solution.

| Severity | Meaning |
| - | - |
| **Critical** | Fix it now. For example, anyone can read or change your ERP data |
| **High** | Fix it before you share the app |
| **Medium** | A real risk in some conditions |
| **Low** | Small risk, or good practice |

The tab has three lists:

* **Open issues**: what still needs a fix.
* **Resolved**: issues that are fixed or dismissed. A dismissed issue has an **Undo dismiss** button.
* **Scan history**: every scan, with its date and result.

## Fix an issue

Click **Fix it for me** on an issue. Leo gets the issue in the chat and fixes the code.

When Leo is done, HelloLeo checks the fix right away:

* **Verified fixed**: the issue is gone. It moves to **Resolved**.
* **Reopened**: the issue is still present. It goes back to **Open issues** with the reason, and you can ask Leo again.

Leo cannot close an issue itself. Only a check confirms a fix.

## Before you publish

When you publish, HelloLeo tells you if your app was never scanned, if a scan is still running, if your latest changes were not reviewed, or if issues are still open. You can start a scan from there: **Run full scan** or **Run quick scan**. The notice never blocks publishing.

## Good practice

* Run a full scan before you share an app for the first time.
* Turn on a weekly schedule for apps that connect to your ERP or hold customer data.
* Fix **Critical** and **High** issues before you publish.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.