n8n-workflow-patterns

Warn

Audited by Runlayer on Feb 26, 2026

Risk Level: MEDIUM
Scan Summary
Max Score
83%
Files
7
Flagged
5
Chunks
18
Flagged Files (5)
n8n-workflow-patterns/database_operations.mdMEDIUM
83.5%

Tool passed security scan

Malicious tool definition detected

'ROLLBACK' : 'COMMIT'}}" } ``` ### Pattern 2: Atomic Operations **Use database features for atomicity**: ```sql -- Upsert example (atomic) INSERT INTO inventory (product_id, quantity) VALUES ($1, $2) ON CONFLICT (product_id) DO UPDATE SET quantity = inventory.quantity + $2 ``` ### Pattern 3: Error Rollback **Manual rollback on error**: ``` Try Operations: Postgres (INSERT orders) MySQL (INSERT order_items) Error Trigger: Postgres (DELETE FROM orders WHERE id = {{$json.order_id}}) MySQL (DELETE F

n8n-workflow-patterns/ai_agent_workflow.mdLOW
73.6%

Tool passed security scan

Malicious tool definition detected

Read-Only Database Tools ```sql -- Create limited user for AI tools CREATE USER ai_agent_ro WITH PASSWORD 'secure'; GRANT SELECT ON public.* TO ai_agent_ro; -- NO write access! ``` ### 2. Validate Tool Inputs ```javascript // Code node - validate before execution const query = $json.query; if (query.toLowerCase().includes('drop ') || query.toLowerCase().includes('delete ') || query.toLowerCase().includes('update ')) { throw new Error('Invalid query - write operations not allowed'); } ``` ### 3.

n8n-workflow-patterns/README.mdLOW
62.1%

Tool passed security scan

n8n-workflow-patterns/http_api_integration.mdLOW
61.2%

Tool passed security scan

n8n-workflow-patterns/webhook_processing.mdLOW
58.9%

Tool passed security scan

Passed Files (2)Click to expand
n8n-workflow-patterns/scheduled_tasks.mdOK
39.9%

Tool passed security scan

n8n-workflow-patterns/SKILL.mdOK
21.7%

Tool passed security scan

Audit Metadata
Max File Score
83%
Classification
KNOWN_SERVER_ALL_UNKNOWN
Files Scanned
7
Files Flagged
5
Chunks Analyzed
18
Analyzed
Feb 26, 2026, 04:52 PM
Security Audit — runlayer — n8n-workflow-patterns