chiprook
← Security
SecurityOctober 29, 2026, 03:08

n8n prompt-injection test: standard defenses failed, Code nodes blocked all 60 runs

A developer built a coffee-store support bot in n8n 1.123.84 running Qwen 1.8B in Ollama and attacked it with 20 prompt-injection payloads, three runs each. The naive workflow let 12 of 20 through, adding XML tags and defensive instructions raised that to 13 of 20, and moving all decision logic into deterministic Code nodes cut successful attacks to zero across 60 runs.

n8n prompt-injection test: standard defenses failed, Code nodes blocked all 60 runs
#N8n#Qwen#Ollama
Read next
Security

OpenAPA brings deterministic prompt-injection defense to AI agents

AI

Together launches GPU Auto Repair to fix failing AI nodes faster

Software

Cloudflare absorbs Deno: Node stays the standard, the prize is Durable Objects

Policy

Google Workspace to block AI agents without OAuth flag on Nov 11