Why external task runners matter for any instance holding real credentials: the n8nio/runners sidecar, distroless images, non-root user, read-only filesystem, timeouts and runner placement in queue mode.
Stopping workflows from reaching cloud metadata endpoints and internal services: N8N_SSRF_PROTECTION_ENABLED, default blocked ranges, allowlists for legitimate internal APIs, and the larger 3.0 block list.
Protecting the key that encrypts every n8n credential: setting N8N_ENCRYPTION_KEY, storing it in a secret manager, the two-layer rotation model, backups before rotation and what a lost key means.
Deciding which nodes users may run: Execute Command, file access and SSH nodes, NODES_EXCLUDE versus Enterprise node type policies, per-project rules and re-enabling nodes that are off by default.
Using n8n audit to find unused credentials, SQL expressions open to injection, file system nodes, community and custom nodes and unprotected webhooks, and turning the report into fixes.
Protecting public webhook URLs: Basic, Header and JWT auth on the Webhook node, IP allowlists, request conditions, unique paths, rate limiting at the proxy and keeping test URLs closed.
Controlling what Code node scripts can import and read: NODE_FUNCTION_ALLOW_BUILTIN and NODE_FUNCTION_ALLOW_EXTERNAL, blocked environment access since 2.0, and setting these on task runners.
Hiding personal data, tokens and financial records in execution logs from users who can see workflows: per-workflow and instance-wide redaction, what stays visible and how it supports GDPR and SOC 2.
Reducing API exposure on self-hosted n8n: disabling the public API and playground when unused, API key expiry and Enterprise scopes, network restrictions and auditing key use.
Keeping a self-hosted n8n ahead of disclosed vulnerabilities: watching GitHub security advisories, judging severity for your nodes and users, emergency patch steps and testing fixes in staging.
Scoping a security test of n8n: editor and API authentication, webhook endpoints, SSRF from HTTP nodes, Code node escape attempts, credential exposure and the audit report as a starting point.