Can a hacked app container reach my server and its deploy panel?

On a typical Docker host, yes. Every container can open a connection to the host itself and to anywhere on the internet. An app that is taken over through a bug can then reach the deploy panel listening on the host, the Docker control socket or the cloud metadata address, and it can send your data out to any server. Most teams cannot answer a simple question after an incident: what did that container connect to last night?

Two things to do.

For a container that runs code or queries from strangers, go further and deny all outbound traffic. Test from inside the container. The firewall listing can look right while stale, so try to reach the host's panel port from inside the container. It must fail.

Related: can attackers bypass Cloudflare and hit my server directly? Full item: the Server section of the security checklist.

Building something like this? How I work covers the rates, the availability and what I take on.

← All Agents FAQ