Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jfparadis/SES-beta

 
 

Secure EcmaScript Shim (ses-shim)

build status contributing license

Secure EcmaScript (SES) is an execution environment which provides fine-grained sandboxing via Compartments.

  • Compartments Compartments are separate execution contexts: each one has its own global object and global lexical scope.
  • Frozen realm Compartments share their intrinsics to avoid identity discontinuity. By freezing the intrinsics, SES removes programs abilities to interfere with each other.
  • Strict mode SES enables JavaScript strict mode which enhances security, for example by changing some silent errors into throw errors.
  • POLA (Principle of Least Authtorithy) By default, Compartments received no ambient authorthy. They are created without host-provided APIs, (for example no XMLHttpRequest).

Learn about the SES specification.

Learn how to use SES in your own project.

Packages

All packages maintained with this monorepo are listed below.

Package Version Description
ses npm Secure ECMAScript.
@agoric/harden npm Build a defensible API surface around an object by freezing all reachable properties.
@agoric/make-hardener npm Create a 'hardener' which freezes the API surface of a set of objects.

Installation

Documentation

Examples

Contributing

Bug Disclosure

Please help us practice coordinated security bug disclosure, by using the instructions in our security guide to report security-sensitive bugs privately.

For non-security bugs, please use the regular Issues page.

License

SES is Apache 2.0 licensed.

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%
  • HTML 0.0%
  • Python 0.0%
  • Shell 0.0%
  • Batchfile 0.0%
  • CSS 0.0%