{"record":{"id":"70c83e4d5fe863ad","repo":"n8n-io/n8n","slug":"security-violation","errorCode":"SECURITY_VIOLATION","errorMessage":"SECURITY_VIOLATION","messagePattern":"SECURITY_VIOLATION","errorType":"error_code","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"packages/@n8n/expression-runtime/src/types/runtime.ts","lineNumber":11,"sourceCode":"/**\n * Runtime error thrown inside isolated context.\n *\n * These errors are thrown by the runtime code when something goes wrong during\n * expression evaluation. The bridge must catch these and translate them to the\n * appropriate ExpressionError subclass (see evaluator.ts).\n *\n * Translation mapping:\n * - code: 'MEMORY_LIMIT' → MemoryLimitError\n * - code: 'TIMEOUT' → TimeoutError\n * - code: 'SECURITY_VIOLATION' → SecurityViolationError\n * - code: 'SYNTAX_ERROR' → SyntaxError\n * - other → ExpressionError\n */\nexport class RuntimeError extends Error {\n\tconstructor(\n\t\tmessage: string,\n\t\tpublic code: string,\n\t\tpublic details?: Record<string, unknown>,\n\t) {\n\t\tsuper(message);\n\t\tthis.name = 'RuntimeError';\n\t}\n}\n","sourceCodeStart":1,"sourceCodeEnd":25,"githubUrl":"https://github.com/n8n-io/n8n/blob/5ac6606e81f67bb9534255570cd4e86fd8101eee/packages/@n8n/expression-runtime/src/types/runtime.ts#L1-L25","documentation":"Error \"SECURITY_VIOLATION\" thrown in n8n-io/n8n.","triggerScenarios":"Thrown at packages/@n8n/expression-runtime/src/types/runtime.ts:11 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5ac6606e81f67bb9534255570cd4e86fd8101eee","analyzedAt":"2026-08-12T05:26:35.080Z","schemaVersion":2},"datasetVersion":"2026-08-12T13:17:24.610Z"}