awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
laverdet avatar

laverdet/isolated-vm

0
View on GitHub↗
2,861 stars·188 forks·C++·ISC·23 views

Isolated Vm

Isolated-vm is a library for creating secure, memory-isolated JavaScript execution environments within Node.js. It functions as a manager for the underlying engine, allowing developers to instantiate multiple independent execution contexts that share no memory or global state. This architecture is designed to support the execution of untrusted third-party code while preventing interference with the main application process.

The project distinguishes itself by enforcing strict resource constraints, including memory limits and CPU execution timeouts, to ensure host system stability. It provides a secure interface for integrating compiled native modules and enables controlled communication between isolated environments through structured data cloning and pointer-based references. These mechanisms allow for the development of multi-tenant systems and extensible plugin architectures where code must operate within defined boundaries.

Beyond core isolation, the library includes tools for monitoring the health and efficiency of sandboxed scripts. It provides capabilities for tracking heap statistics to prevent memory leaks and includes CPU profiling utilities to identify performance bottlenecks within specific execution contexts. The project is distributed as a Node.js module, providing a programmatic interface for managing the full lifecycle of isolated environments.

Features

  • V8 Engine Integrations - Embeds the V8 engine to create multiple independent, memory-isolated execution contexts.
  • Resource-Constrained Runtimes - Optimizes JavaScript execution contexts for minimal memory footprints and deterministic resource usage.
  • Code Execution Sandboxes - Executes untrusted third-party scripts in secure, isolated sandboxes to prevent unauthorized system access.
  • JavaScript Sandboxed Runtimes - Provides a library for creating secure, memory-isolated JavaScript execution environments within Node.js.
  • Memory-Isolated Runtimes - Executes scripts in isolated memory spaces to prevent interference with the main application process.
  • V8 Resource Caps - Wraps the V8 engine to manage separate execution contexts with strict memory and CPU limits.
  • Execution Resource Constraints - Enforces strict memory and CPU limits on execution instances to ensure host system stability.
  • Native Module Definitions - Integrates compiled native modules into isolated environments while maintaining context-awareness and thread safety.
  • JavaScript Bytecode Pre-compilation - Provides pre-compilation of JavaScript into bytecode to enhance execution speed within isolated environments.
  • Plugin Extension Architectures - Builds extensible plugin systems that maintain strict security boundaries between host and extensions.
  • Native C-JavaScript Bridges - Exposes native C++ functions to isolated JavaScript environments through a secure, thread-safe interface.
  • Sandbox Lifecycle Controls - Manages the full lifecycle of sandboxed execution contexts from instantiation to disposal.
  • Multi-Tenant Application Foundations - Provides architectural primitives for isolating users and plugins within separate memory spaces.
  • Secure Isolation Layers - Enables controlled communication between isolated environments through secure data transfer and references.
  • Heap Memory Monitoring - Tracks heap statistics and enforces memory limits to ensure stability in long-running execution processes.

Star history

Star history chart for laverdet/isolated-vmStar history chart for laverdet/isolated-vm

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does laverdet/isolated-vm do?

Isolated-vm is a library for creating secure, memory-isolated JavaScript execution environments within Node.js. It functions as a manager for the underlying engine, allowing developers to instantiate multiple independent execution contexts that share no memory or global state. This architecture is designed to support the execution of untrusted third-party code while preventing interference with the main application process.

What are the main features of laverdet/isolated-vm?

The main features of laverdet/isolated-vm are: V8 Engine Integrations, Resource-Constrained Runtimes, Code Execution Sandboxes, JavaScript Sandboxed Runtimes, Memory-Isolated Runtimes, V8 Resource Caps, Execution Resource Constraints, Native Module Definitions.

Which projects share features with laverdet/isolated-vm?

Projects with overlapping indexed features include: judge0/judge0 — Judge0 is an online code execution engine and multi-language compiler API designed to compile and run source code… nodejs/nodejs.org — Node.js is an open-source, cross-platform JavaScript runtime environment built on the V8 engine, designed for… ncsoft/unreal.js — Unreal.js is a JavaScript runtime and scripting layer for Unreal Engine that embeds the V8 engine to implement game… bytecodealliance/wasmtime — Wasmtime is a WebAssembly runtime and sandboxed bytecode executor designed to run WebAssembly bytecode on a host… hyperlight-dev/hyperlight — Hyperlight is an embedded virtual machine manager designed to execute guest binaries within hardware-isolated code… sebastienros/jint — Jint is a JavaScript interpreter for the .NET ecosystem that executes code without requiring a browser or Node.js…

Projects sharing features with Isolated Vm

These projects share indexed features with Isolated Vm. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • judge0/judge0judge0 avatar

    judge0/judge0

    3,978View on GitHub↗

    Judge0 is an online code execution engine and multi-language compiler API designed to compile and run source code within isolated sandboxes. It functions as an asynchronous job processor that handles code submissions via a queue and provides a secure environment to run arbitrary programs while preventing unauthorized system access. The system distinguishes itself through a multi-stage compilation pipeline and a flexible execution model that supports both single-file submissions and multi-file program execution via archives. It employs an isolate-based sandboxing mechanism to enforce strict ha

    HTMLai-agent-toolsai-agentsai-tools
    View on GitHub↗3,978
  • nodejs/nodejs.orgnodejs avatar

    nodejs/nodejs.org

    6,842View on GitHub↗

    Node.js is an open-source, cross-platform JavaScript runtime environment built on the V8 engine, designed for executing JavaScript code outside a web browser. It operates as a server-side JavaScript platform with an event-driven, non-blocking I/O architecture that enables building scalable network applications and web servers. The runtime integrates the CommonJS module system for synchronous module loading and the npm ecosystem for sharing and reusing packages. The platform provides comprehensive capabilities for web server development, including creating HTTP and HTTPS servers, managing HTTP

    TypeScriptnextjsnodenodejs
    View on GitHub↗6,842
  • ncsoft/unreal.jsncsoft avatar

    ncsoft/Unreal.js

    3,754View on GitHub↗

    Unreal.js is a JavaScript runtime and scripting layer for Unreal Engine that embeds the V8 engine to implement game logic and manage application state. It provides a bridge for writing high-level application behavior and actor control without modifying the core engine source code, as well as a framework for extending the Unreal Engine editor with custom interface elements. The project distinguishes itself through a V8-based integration that supports real-time code reloading and live iteration, allowing scripts to be updated without restarting the application. It includes a bidirectional commu

    javascriptpluginscripting
    View on GitHub↗3,754
  • bytecodealliance/wasmtimebytecodealliance avatar

    bytecodealliance/wasmtime

    18,241View on GitHub↗

    Wasmtime is a WebAssembly runtime and sandboxed bytecode executor designed to run WebAssembly bytecode on a host system. It functions as an embeddable engine that integrates into applications through native APIs and language-specific bindings, as well as a standalone execution environment accessible via a command line interface. It is a WASI compatible runtime, implementing the WebAssembly System Interface to provide portable access to system resources. The engine utilizes a JIT compilation model to translate intermediate representation into optimized machine code for various CPU architecture

    Rustaotcraneliftjit
    View on GitHub↗18,241
  • Compare all 30 related projects→

    Curated searches featuring Isolated Vm

    Hand-picked collections where Isolated Vm appears.
    • AI-Generated Code Execution Sandboxes