SafeScript
A safe version of JavaScript for executing untrusted code
SafeScript launched on 8 November 2026. It ranked #127 on Daily Launch on 9 November 2026 with a Launch Score of 10, from 12 points on Show HN. It was new in the ranking that day.
What is SafeScript?
JSON for code. A safe computational subset of JavaScript. JSON gave the world a safe way to exchange data. SafeScript does the same for computation. It's a strict subset of JavaScript — no eval, no new, no globals, no prototype access — that compiles to plain JS and PHP. Open a .safe file and you see code that's safe to run. The compiler is ~48 KB minified (~12 KB gzipped). Ship it anywhere, verify locally, no trust needed.
From its README on GitHub
SafeScript is a launch on Show HN. It is written in JavaScript and released under the MIT license.
Launch timeline
Launch Score, last 7 days
Ranked on one day so far: 10 of 100 on 9 November.