Afterburner
Capability-Sandboxed JavaScript/TS Runtime in Rust
Details
- External ID
- 48526827
- Source
- HN
- Company
- —
- Product
- Afterburner
- Website domain
- github.com
- Launched
- June 14, 2026
- Cohort
- —
- Upvotes
- 6
- Upvotes percentile
- 0.31420765027322406
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
Hey everyone! I've been working on something called Afterburner: a fast, embeddable JS/TS runtime written in Rust, with a capability sandbox baked right in.Scripts run locked down by default: no network, no filesystem, no environment variables. You explicitly grant whatever access a script actually needs, and every call gets hard caps on CPU, memory, and time.The goal isn't to replace your existing stack. It's to fit cleanly into it:Embed a JS/TS engine in your Rust app with a single crate. Run user scripts, plugins, business rules, or edge logic, each call fully sandboxed. Wrap the tools you already use. Commands like `burn node app.js`, `burn npm test`, `burn bun`, `burn deno run`, and `burn npx tsx` run your existing toolchain under the sandbox. Take an unmodified Express, Fastify, or Hono app and run it with zero ambient I/O and a memory ceiling. No code changes needed. Use the built-in registry at registry.afterburner.sh. Publish with `burn publish`, install with `burn install` or `burn add` dependencies are pinned by content digest. Every package ships with a capability manifest, so installed code is sandboxed by default. It also interops with npm, so you can still pull in npm libraries as needed. Since nothing gets ambient authority, it's also just a clean, practical way to run untrusted code without having to cross your fingers and hope.Repo: https://github.com/afterburner-sh/afterburner Site: https://afterburner.sh Registry: https://registry.afterburner.shThe full walkthrough like how it works, what it can do, and benchmarks hitting up to ~16.8M rows/sec is all in one post. It's the best place to start: https://vertexclique.com/blog/burn-after-reading/One licensing note: it's source-available under BSL-1.1, which automatically converts to Apache-2.0 four years after each release. Free to use for your own projects so go build something.
Enrichment
- Theme
- niche developer utilities and toolchains
- Vertical
- —
- Function
- Model & infra
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- sandboxed javascript runtime in rust
- Manually corrected
- False
Could you build this?
No Developing a secure, capability-sandboxed JavaScript/TypeScript runtime from scratch in Rust requires deep systems programming, virtual machine internals, and security engineering.
What it would actually take: The architecture requires integrating an engine like V8 (via deno_core) or QuickJS with Rust, wrapping host system calls in a granular capability security model. The hardest challenges are preventing sandbox escapes, securely managing memory and thread isolation, building a custom module resolver for TypeScript, and correctly sandboxing OS primitives like network and file descriptors. This requires specialized expertise in language runtime design, OS security models, and systems-level Rust.
Discussion
2 comments analyzed.
Feature requests: Supercruise functionality
Competitors
Other products that read as similar to this one — 235 launches clear the similarity bar, closest 8 shown.
Attention rank: #158 of 236 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 223 days after the earliest competitor.
- Titan · hn · 2025-12-11 · 49 upvotes · similarity 0.52
- Script: JavaScript That Runs Like Rust · hn · 2026-01-27 · 6 upvotes · similarity 0.51
- DepsGuard · hn · 2026-06-01 · 40 upvotes · similarity 0.48
- Shuck · hn · 2026-04-30 · 8 upvotes · similarity 0.46
- Hurry · hn · 2025-12-22 · 11 upvotes · similarity 0.45
- OpenWorkers · hn · 2026-01-01 · 500 upvotes · similarity 0.45
- Rapid-rs · hn · 2025-11-20 · 9 upvotes · similarity 0.45
- SyncKit · hn · 2025-11-27 · 87 upvotes · similarity 0.44
Other launches for this product
- No other launches for this product.