Security Audit, Image Scans & Request Limits
See where every server stands, find known vulnerabilities in your images, get told when something gets worse, and limit how hard one visitor can hit an app.
The Security screen has five tabs. This page covers what each one does and what it cannot tell you.
Overview: every server at once
One row per server: when it was last audited and how many findings are still open. Servers that have never been audited are listed first, because "not known" is worse than a known problem.
Audit all servers runs the audit on each server in turn. A count of "None" means the checks that ran passed. It does not mean the server is secure, and checks that could not run are shown as "could not be checked", never as passed.
Audit on a schedule
Choose every day, week or month. DeployOS then runs the same read-only audit on each server and tells you only when something got worse since the last one, for example a new open port, a new SSH key or a new admin user. If email alerts are set up in Monitoring, you get one email as well.
The schedule runs while DeployOS is open. If an audit comes due while the app is closed, it runs the next time you open it.
Audit
The full list of findings for one server. Three things are new here.
Signs of compromise. The audit also looks for evidence that someone is already in: a successful login with a password, processes that look like crypto miners or run from a temporary folder, scheduled jobs that download and run a script, and SSH keys or admin users that were not there at the previous audit. These are signs, not proof. A clean result means none of these signs were found.
Accept a finding. Some findings are deliberate, such as a port you opened on purpose. Choose Accept, write the reason, and the finding stops counting as open and stops raising scheduled alerts. Accepted findings stay listed with your reason and can be reopened at any time.
Save report. Saves the audit as a single HTML file you can keep or send to a client. It includes accepted findings with their reasons and, if you ran one, the image scan.
Images: known vulnerabilities
Scan images checks every image your running containers use against the public vulnerability databases and lists the critical and high ones, with the version that fixes each.
- It uses Trivy, the standard open-source scanner, at a fixed version.
- It is the one check that downloads something. The scanner and its database are fetched to the server for the scan and removed when it ends.
- It reads your images and changes nothing. To clear a fixable vulnerability, redeploy the app on a newer version of the image.
- An image that could not be scanned is shown as "Not scanned". It is not known to be clean.
- The first scan takes a few minutes. Up to 15 images are scanned, the ones used by the most containers first.
Firewall and access
The firewall, Fail2Ban and SSH hardening are covered in Firewall & SSH and Fail2Ban & SSH hardening.
Request limits
A limit on how many requests one visitor address may make to an app each minute. Past the limit the proxy answers 429 Too Many Requests and the request never reaches your app. A short burst above the rate is always allowed, so a normal page load is not affected.
Use it for apps with a login page or an API that scripts might hammer. Start with 600 a minute and tighten it only if you need to.
What to know before turning it on:
- It is off by default and set per app.
- It works on servers that use Traefik. Caddy has no request limiting built in.
- Leave it off for a domain behind Cloudflare's proxy or another CDN. Every visitor then arrives from the CDN's addresses and would share one limit. Use the CDN's own rate limiting there.
- It slows down a single address. It does not stop a large attack from many addresses.
- Changing a limit restarts the proxy, which takes a second or two. The limit is kept across redeploys.
WordPress security settings
On a WordPress app's Config tab, Check settings looks at the settings that most often lead to a site being taken over: an administrator called "admin", debug mode left on, the built-in theme and plugin editor, open sign-ups, plugins that are installed but switched off, and xmlrpc. It changes nothing and tells you what to change for each.