n8n-expression-testing
Warn
Audited by Gen Agent Trust Hub on Mar 6, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
SKILL.mdfile contains TypeScript implementation examples forvalidateExpressionSyntaxandtestExpressionthat use thenew Functionconstructor to dynamically evaluate strings as code. While intended for testing n8n expressions, this pattern is a form of dynamic execution that can be exploited if the input expressions are not strictly sanitized. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process external n8n expressions and evaluate them using the dynamic execution capabilities mentioned above.
- Ingestion points: The
expressionparameter in thetestExpressionandvalidateExpressionSyntaxfunctions defined inSKILL.md. - Boundary markers: The logic includes basic removal of n8n template markers (
{{and}}) but does not implement robust isolation for the execution context. - Capability inventory: The skill leverages dynamic JavaScript execution (
new Function) to process inputs. - Sanitization: The skill provides guidelines to scan for dangerous functions (like
eval) within the expressions it tests, which serves as a security control, though the testing logic itself utilizes similar dynamic execution patterns.
Audit Metadata