Skip to content
Infrastructure / Security scans

Security scans

Every running server checked each week for known vulnerabilities, weak settings, open ports, certificates and outdated apps.

Hardening sets a machine up the way it should be. A security scan looks for what has gone wrong since: a package with a published vulnerability, an image built on an old base, a port an app opened, a certificate about to lapse.

Find it at Insights → Security.

What a scan checks

Every running server the team has, in one pass:

  • Known vulnerabilities. Trivy, pinned by digest, runs as a container on each server against the machine’s own OS packages, read-only, and against every running image. Each finding names the package, the version installed and the version that fixes it, if one has been released.
  • Settings that matter for security. The server’s hardening checks that are failing – password logins, a firewall that is off, updates that never install.
  • Ports open to the internet. Anything beyond 22, 80 and 443 that answers from outside, probed from KamalCloud. Probing only reads.
  • Certificates. Each domain’s certificate, read from outside.
  • Outdated apps. Template apps running an older version than their template.

Nothing is installed on a server beyond Trivy’s image and its vulnerability database, cached in /var/lib/hoster/trivy.

When it runs

Every Sunday night, by itself. An admin can start one at any time with Scan now, or with hoster security scans create from the CLI. A running scan can be stopped; what it found so far is kept.

Reading the results

The page leads with four counts – critical, high, medium and low – and how many of each are new since the scan before. Under them:

  • Fix these first – the upgrades that close the most findings, worst first, with every place each one applies.
  • Findings – critical and high by default. Narrow them by severity, server or kind, search by CVE, package or image, and sort by any column.

Each finding has a fingerprint made of its server, kind, target, package and identifier, so the same machines give the same findings, and two scans compare. History lists every scan, with what each one found and what had been fixed since the one before.

Alerts

New critical or high findings fire the security.findings notification, so you hear about them without opening the page.

Who can do what

Everyone on the team can read the results. Starting or stopping a scan is for admins. The same results are in the API and MCP, so an AI app can read the findings and the fixes with your role.