Skip to content

Security: RedSideSecurity/WebTop

SECURITY.md

Security policy

WebTop runs as root on web servers that may already be compromised, and its dashboard shows strings that attackers control (URLs, User-Agents, file names, command lines). Both directions are treated as hostile:

  • On the host, WebTop only reads: logs, /proc, inotify events, Apache mod_status (a local GET /server-status, which Apache writes to its access log), php-fpm status (FastCGI, read-only GET of the status page) and LiteSpeed reports. It never executes, deletes or modifies anything it finds.
  • In the web dashboard (--web), every attacker-controlled value is HTML-escaped, and a strict Content-Security-Policy with a per-run nonce blocks script that a missed escape could inject. The dashboard binds to 127.0.0.1 by default, needs a random per-run token (exchanged for an HttpOnly, SameSite=Strict cookie), is read-only and loads nothing from the network.
  • IP context never leaves the host unless you pass --geo online.

Reporting a vulnerability

Please report security issues privately via GitHub's Report a vulnerability (Security → Advisories) on this repository, not in a public issue. Include the version (webtop.py --version) and, if the issue is in the dashboard, the log line or request that triggers it.

There aren't any published security advisories