New JavaScript Secure Sandbox

@ChrisMatthieu
computes
Published in
2 min readSep 11, 2017

Gartner estimates that there will be 50 billion devices connected to the Internet by 2020. Most of these computers, mobile devices, and IoT devices will be idle 80% of the time. While there is an ever increasing number of idle computers, artificial intelligence (AI) and machine learning (ML) algorithms will require an unprecedented increase in demand for computing resources.

We have developed a global neural network supercomputing platform called computes.io. Our supercomputer is capable of harnessing these idle CPUs and GPUs across the Internet or even within organizations’ datacenters and desktops to turn idle computers into a private supercomputer capable of performing massively parallel computations as well as AI and ML neural net computing.

As discussed in our previous blog post, Computes is a New Distributed Computing Platform for Node.JS & NPM, our supercomputer is capable of distributing JavaScript applications and data across all of these idle cores as if they were a single supercomputer. Any computing resource that is capable of running JavaScript (most computing resources) is a potential computes.io computing resource including: web browsers, mobile devices, and IoT devices as well as traditional workstations and servers.

In an effort to better secure these computing resources from arbitrary computes.io distributed JavaScript applications, we are proud to announce the availability of our new and improved JavaScript application sandbox affectionately referred to as “computes-cores”. It’s a sandbox that can run untrusted code with whitelisted Node.JS built-in modules. Securely!

Our new JavaScript secure sandbox features include:

  • Runs untrusted code securely in a single process with your code side by side
  • Full control over sandbox’s console output
  • Sandbox has limited access to process’ methods
  • Sandbox can require modules (builtin and external)
  • It can limit access to certain (or all) builtin modules such as disk i/o etc.
  • It can securely call methods and exchange data and callbacks between sandboxes
  • It is immune to while (true) {}
  • Transpilers support
  • No limits to time-to-live computations

In addition to these amazing new features, we have included built-in support for several neural network machine learning tools making computes.io the perfect operating system for IoT and AI!

--

--

@ChrisMatthieu
computes

Builder of companies, robots, supercomputers, & motorcycles. @xrpanet & @twelephone CEO. Formerly @magicleap @computesio @citrix @octoblu @nodester @teleku