n8n-impl-security
Installation
SKILL.md
n8n Security Implementation
Harden n8n v1.x deployments: credential encryption, sandboxed execution, reverse proxy, SSL/TLS, Docker Secrets, audit, and data pruning.
Quick Reference
Critical Security Variables
| Variable | Default | MUST Set |
|---|---|---|
N8N_ENCRYPTION_KEY |
random | YES - ALWAYS set explicitly and back up |
N8N_RUNNERS_ENABLED |
false |
YES - true for sandboxed Code node execution |
N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS |
false |
YES - true to set 0600 on settings file |
NODE_ENV |
— | YES - production for production deployments |
N8N_PROTOCOL |
http |
YES - https behind reverse proxy |
N8N_BLOCK_ENV_ACCESS_IN_NODE |
false |
YES - true to block env access in expressions |
Security Audit
Related skills