Skip to content

Refactor/Update code execution sandbox implementation across components#4904

Merged
HenryHengZJ merged 1 commit intomainfrom
chore/Use-Sandbox-For-Custom-Function
Jul 20, 2025
Merged

Refactor/Update code execution sandbox implementation across components#4904
HenryHengZJ merged 1 commit intomainfrom
chore/Use-Sandbox-For-Custom-Function

Conversation

@HenryHengZJ
Copy link
Contributor

  • Replaced NodeVM usage with a new createCodeExecutionSandbox function for improved sandbox management.
  • Enhanced JavaScript code execution with executeJavaScriptCode function, allowing for better handling of libraries and output streaming.
  • Updated multiple components to utilize the new sandboxing approach, ensuring consistent execution environment.
  • Added validation for UUIDs and URLs in various tools to enhance input safety.
  • Refactored input handling in CustomFunction and IfElseFunction to streamline variable management.

- Replaced NodeVM usage with a new createCodeExecutionSandbox function for improved sandbox management.
- Enhanced JavaScript code execution with executeJavaScriptCode function, allowing for better handling of libraries and output streaming.
- Updated multiple components to utilize the new sandboxing approach, ensuring consistent execution environment.
- Added validation for UUIDs and URLs in various tools to enhance input safety.
- Refactored input handling in CustomFunction and IfElseFunction to streamline variable management.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant