Hardened JavaScript Security
Build distributed applications with object capability security, hardened compartments, and the SES standard.
A distributed secure computing platform that enables safe execution of untrusted code through object capability security and hardened JavaScript environments.
Unlike traditional security approaches, Endo implements object capability security where authority is represented by unforgeable references to objects.
Components only get the permissions they absolutely need
Isolated execution environments with controlled communication
Built on TC39 SES specification for secure JavaScript
// Principle of Least Authority
import { makeCompartment } from ‘endo’;
const compartment = makeCompartment({
// Hardened JavaScript environment
globals: { console },
transforms: [hardenTransform],
});
// Safe execution of untrusted code
const result = compartment.evaluate(`
// This code runs in isolation
const data = processUserInput(input);
return sanitize(data);
`);
// Secure Compartment
import { makeCompartment } from ‘endo’;
const compartment = makeCompartment({
// Hardened JavaScript environment
globals: { console },
transforms: [hardenTransform],
});
// Safe execution of untrusted code
const result = compartment.evaluate(`
// This code runs in isolation
const data = processUserInput(input);
return sanitize(data);
`);
// Standards-Based Hardening
import { makeCompartment } from ‘endo’;
const compartment = makeCompartment({
// Hardened JavaScript environment
globals: { console },
transforms: [hardenTransform],
});
// Safe execution of untrusted code
const result = compartment.evaluate(`
// This code runs in isolation
const data = processUserInput(input);
return sanitize(data);
`);
Discover how Endo’s innovative approach enables safer, more reliable distributed computing
Fine-grained security through unforgeable object references, eliminating ambient authority.
Secure, deterministic JavaScript execution that prevents prototype pollution and attacks.
Isolated code execution with controlled communication channels and limited authority.
Build distributed applications with secure message passing across network boundaries.
Create modular applications where components interact safely without compromising security.
Built on TC39 standards including SES and emerging JavaScript security specifications.
See how leading organizations use Endo to build secure, distributed applications
Secure plugin architecture using Endo's compartmentalization for safe third-party code execution.
Smart contract platform built on Endo's secure JavaScript execution for DeFi applications.
Reference implementation of the SES specification for hardened JavaScript environments.
Join the growing community of developers building the next generation of secure, distributed applications with Endo’s revolutionary security model.
Secure JavaScript execution platform built on object capability security and hardened compartments.
© 2025 Endo. All rights reserved.