Why not run n8n itself inside a Docker Sandbox?
If a Docker Sandbox can safely isolate an AI agent running arbitrary code, why not run a long-lived service like n8n in one too? n8n's whole job is reaching out to the internet with secrets attached exactly what you'd want on a leash.