n8n-workflow-patterns
Pass
Audited by Gen Agent Trust Hub on Sep 19, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents patterns for building workflows that ingest data from untrusted external sources, creating a surface for injection attacks if the data is processed by AI agents or downstream systems.
- Ingestion points:
webhook_processing.md(receiving HTTP POST bodies) andhttp_api_integration.md(consuming responses from external REST APIs). - Boundary markers: While the skill suggests validation steps, it does not provide standardized delimiters for isolating untrusted data during interpolation into prompts or commands.
- Capability inventory: Described workflows have the capability to execute SQL writes (
database_operations.md), perform arbitrary API calls (http_api_integration.md), and trigger AI-driven actions (ai_agent_workflow.md). - Sanitization: The documentation proactively addresses this risk by teaching defensive measures such as SQL parameterized queries to prevent SQL injection and HMAC signature verification using the
cryptomodule for webhooks. - [DYNAMIC_EXECUTION]: The skill provides multiple JavaScript code snippets intended for execution within n8n "Code" nodes, which allow for runtime script evaluation.
- Evidence:
scheduled_tasks.mdprovides an example usingrequire('child_process').execto run system commands (e.g.,pg_dump).webhook_processing.mdprovides snippets using thecryptomodule for data verification. - Context: This dynamic execution is a standard feature of the n8n platform. The skill provides these as educational templates and encourages safe implementation, such as using environment variables for paths and credentials for authentication.
Audit Metadata