n8n-expression-testing
Warn
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill's implementation guide in
SKILL.mdutilizes thenew Function()constructor to dynamically compile and execute string-based expressions. This pattern is used for both syntax validation and testing, effectively enabling runtime execution of arbitrary JavaScript code provided as input data. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and evaluate n8n expressions that may originate from untrusted external workflow data or user inputs, creating a surface for indirect injection.
- Ingestion points: Found in
SKILL.mdwithin thevalidateExpressionSyntaxandtestExpressionfunctions, which take anexpressionstring as input. - Boundary markers: There are no explicit delimiters or boundary instructions provided to the execution environment to isolate the expression content from the underlying system logic.
- Capability inventory: The skill leverages
new Functionto execute the input strings, providing a powerful capability for code execution. - Sanitization: The provided code snippets perform basic removal of template markers (
{{ }}) but lack robust sandboxing or deep sanitization of the JavaScript content before execution.
Audit Metadata