n8n-impl-security

n8n-impl-security is a skill for Claude Code, Codex from Impertio-Studio/n8n-Claude-Skill-Package. It costs 130 tokens per session (2,661 once invoked), scanned A, original, MIT.

A security guide for n8n, a tool for building automated workflows, when it is run in a real environment. It explains settings for protecting credentials, isolating code, securing connections, and reviewing activity.

In plain words
What is it for?
Use it to configure encryption keys, sandboxed code execution, file permissions, HTTPS, reverse proxies, CORS, Docker Secrets, audits, and execution-data cleanup.
Why use it?
It helps reduce the risk of leaked secrets, unsafe workflow code, unauthorized access, and poorly protected network connections.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is file: ./secrets/encryption_key.txt.

Good fit Use it to configure encryption keys, sandboxed code execution, file permissions, HTTPS, reverse proxies, CORS, Docker Secrets, audits, and execution-data cleanup.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Impertio-Studio/n8n-Claude-Skill-Package
agentmods
npx agentmods add skills/impertio-studio/n8n-claude-skill-package/n8n-impl-security

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for n8n-impl-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/impertio-studio/n8n-claude-skill-package/n8n-impl-security/github.svg)](https://agentmods.dev/skills/impertio-studio/n8n-claude-skill-package/n8n-impl-security)
Your own site
<a href="https://agentmods.dev/skills/impertio-studio/n8n-claude-skill-package/n8n-impl-security"><img src="https://agentmods.dev/badge/skills/impertio-studio/n8n-claude-skill-package/n8n-impl-security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for n8n-impl-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/impertio-studio/n8n-claude-skill-package/n8n-impl-security"><img src="https://agentmods.dev/badge/skills/impertio-studio/n8n-claude-skill-package/n8n-impl-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,661 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00130 $0.02661
Opus 5 $0.00065 $0.01331
Sonnet 5 $0.00026 $0.00532
Haiku 4.5 $0.00013 $0.00266

Measured 10d ago against content hash 66fd6c0658ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

n8n-impl-security scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST '<N8N_HOST>:<N8N_PORT>/api/v1/audit' \
skills/source/n8n-impl/n8n-impl-security/SKILL.md · 289 lines

How it starts

The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

# CLI audit
n8n audit

# API audit (returns JSON report)
curl -X POST '<N8N_HOST>:<N8N_PORT>/api/v1/audit' \
  -H 'X-N8N-API-KEY: <key>' \
  -H 'Content-Type: application/json'

The audit checks for: abandoned workflows (default 90 days), insecure credential usage, risky node configurations, and workflow vulnerabilities.


Decision Trees

"How do I secure credentials?"

Set N8N_ENCRYPTION_KEY explicitly?
├─ NO → n8n generates random key stored in .n8n/config
│        ├─ DANGER: Lose this file = lose ALL credentials
│        └─ ALWAYS set explicitly in production
└─ YES → Key encrypts all credentials in database
         ├─ Multi-instance? → ALL instances MUST share the SAME key
         ├─ Back up the key? → YES, ALWAYS, separately from database
         └─ Using Docker? → Pass via _FILE suffix for Docker Secrets

"How do I handle sensitive environment variables?"

Running in Docker?
├─ YES → Use Docker Secrets with _FILE suffix
│        Example: DB_POSTGRESDB_PASSWORD_FILE=/run/secrets/db_password
│        ├─ NEVER put secrets in docker-compose.yml directly
│        └─ NEVER put secrets in Dockerfiles
└─ NO → Use OS-level secret management
         ├─ NEVER commit .env files to version control
         └─ NEVER log environment variables

Read the full file on GitHub · 289 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 289 lines · 130 tokens per session scan A 66fd6c0658ce

Subscribe to this mod's changes

n8n-impl-security is a skill published in the GitHub repository Impertio-Studio/n8n-Claude-Skill-Package (3 stars, last pushed 2mo ago), licensed MIT. It adds 130 tokens to every session and 2,661 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

qgis-agents-analysis-orchestrator

Use when planning a spatial analysis workflow, choosing between analysis approaches, or chaining multiple operations. Prevents wrong analysis method selection and suboptimal workflow ordering. Covers vector vs raster decision trees, processing algorithm selection, workflow chaining, CRS/format guidance, and MCP server…

Impertio-Studio/QGIS-Claude-Skill-Package · 100 tokens

qgis-errors-data-loading

Use when diagnosing data loading failures, invalid layers, or provider connection errors. Prevents silent failures from unchecked layer validity and incorrect URI formats. Covers invalid layer detection, URI format errors, encoding issues, GeoPackage locking, connection failures, and performance. Keywords: invalid…

Impertio-Studio/QGIS-Claude-Skill-Package · 92 tokens

qgis-errors-projections

Use when diagnosing CRS/projection errors, coordinate mismatches, or datum transformation issues. Prevents silent data corruption from wrong CRS assignment and coordinate order confusion. Covers wrong EPSG selection, lat/lon vs lon/lat, datum warnings, on-the-fly reprojection pitfalls, and fix patterns. Keywords: CRS…

Impertio-Studio/QGIS-Claude-Skill-Package · 99 tokens

qgis-agents-map-generator

Use when generating complete maps from data: loading, styling, composing layouts, and exporting. Prevents poor cartographic choices and empty map exports. Covers the full map pipeline: data loading, symbology selection, labeling, layout composition, atlas generation, and export. Keywords: map generation, create map…

Impertio-Studio/QGIS-Claude-Skill-Package · 104 tokens

qgis-core-architecture

Use when creating QGIS projects, understanding PyQGIS architecture, or reasoning about the QGIS data model. Prevents mixing standalone script initialization with plugin context, and threading violations. Covers Qt-based architecture, 5 core modules, project lifecycle, layer model, provider system, and QGIS 4.0 Qt6…

Impertio-Studio/QGIS-Claude-Skill-Package · 113 tokens

qgis-impl-3d-visualization

Use when creating 3D map views, configuring terrain, or rendering vector/point cloud data in 3D. Prevents performance issues from unoptimized point cloud rendering and incorrect terrain configuration. Covers Qgs3DMapSettings, terrain providers, 3D symbols, materials, camera/lights, and layout integration. Keywords: 3D…

Impertio-Studio/QGIS-Claude-Skill-Package · 132 tokens