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

# Vulnerability scan

> The vuln-scan module checks your apps' images every night and flags an app when an update fixes a critical vulnerability or one attackers already exploit.

The **vulnerability scan** module checks the images of your apps for known vulnerabilities every night. An app is flagged when **an update of it fixes** a critical vulnerability, or one that attackers already exploit. Install it from the [Modules](https://docs.recasaos.org/modules/modules.md) window, or with `sudo casaos module install vuln-scan`.

## What you see

* On an app's tile: a badge such as *2 critical* or *1 exploited*.
* The **Security** card: the last scan, the apps to update, and **Scan now**.
* In an app's menu, **Security**: its vulnerabilities, *To fix first* and *The others*, each with its fix version.

*Exploited* comes from the list of vulnerabilities that attackers already exploit, updated every day. The **EPSS** figure is the probability that a vulnerability is exploited within 30 days; it only sorts the list.

When no update is offered yet, the app's publisher has to release an image with the fixes.

## Block a worse update

In **Settings**, **System**, **Automatic app updates**, turn on **Check the new version before an update**: an update whose new version has more critical vulnerabilities than the installed one is blocked, and the app stays on the version it had. The owner can still choose **Update anyway**. See [Update apps](https://docs.recasaos.org/apps/update-apps.md).


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