Requirements
Third-party plugins must run in an isolated child process with no access to main process memory. A malicious plugin with process.exit() should not crash the host. Plugin crashes must not affect main process stability.
Verification
- Write a test plugin that calls
process.exit(1) on load
- Load the plugin and trigger its execution
- Verify main process stays alive (no crash, no uncaught exception)
- Verify plugin failure is logged and the plugin is marked as failed
- After recovery, verify the plugin can be reloaded and executed normally
Requirements
Third-party plugins must run in an isolated child process with no access to main process memory. A malicious plugin with
process.exit()should not crash the host. Plugin crashes must not affect main process stability.Verification
process.exit(1)on load