n8n-workflow-patterns
Pass
Audited by Gen Agent Trust Hub on Oct 25, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents patterns for workflows that process external data from Webhooks, REST APIs, and RAG document stores. This creates a surface where an attacker could provide malicious instructions via external data that are then processed by an AI Agent or downstream nodes.\n
- Ingestion points:
webhook_processing.md(form inputs),http_api_integration.md(external API responses), andai_agent_workflow.md(document loaders/RAG).\n - Boundary markers: The documentation explicitly mentions the risk of indirect prompt injection in
ai_agent_workflow.mdand recommends mitigations like human review and read-only scopes.\n - Capability inventory: The patterns involve file system access (writing backups), network operations (HTTP requests), and database writes.\n
- Sanitization: The skill provides guidance on input validation, signature verification for webhooks, and parameterized SQL queries to prevent injection.\n- [DYNAMIC_EXECUTION]: The documentation provides multiple JavaScript code snippets intended for use in n8n 'Code' nodes. These examples include the use of Node.js built-in modules to perform sensitive operations.\n
- Evidence:
database_operations.mdandscheduled_tasks.mdprovide code for encryption usingcryptoand executing system commands likepg_dumpviachild_process.execfor database backup automation.
Audit Metadata