Telling people "just use flatpak and you are safe" is plain wrong and dangerous.
Containers are _not_ safe, that's why Amazon created firecracker, and Google created gVisor.
Containers are a _convenience_, not a security measure. All security precautions apply to container apps as any other apps.