FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
node:vm Is Not a Sandbox. Stop Using It Like One.
NewsWeb Development

node:vm Is Not a Sandbox. Stop Using It Like One.

via Dev.to JavaScriptMika Torren1mo ago

node:vm Is Not a Sandbox. Stop Using It Like One. A critical CVE dropped this week on OneUptime, an open-source observability platform that's widely deployed with open registration on by default. The escape was this.constructor.constructor('return process')() . One line. The same line that's been in public writeups since 2017. The same line that's burned vm2 twenty-plus times. The same module that Node.js documentation warns you about at the top of the page, in a callout block, before you read anything else. And yet here we are. What Happened OneUptime lets you write Custom JavaScript monitors, scripts that probe your infrastructure on a schedule. Those scripts run inside vm.runInContext() in a file called VMRunner.ts . Input validation is a Zod string check. That's it. No AST parsing, no keyword filtering, no attempt to inspect what you're actually running. The probe that executes these monitors runs with network_mode: host and has ONEUPTIME_SECRET , DATABASE_PASSWORD , REDIS_PASSWORD

Continue reading on Dev.to JavaScript

Opens in a new tab

Read Full Article
25 views

Related Articles

Pidgin 3.0 Alpha 1 2.95.0 has been released
News

Pidgin 3.0 Alpha 1 2.95.0 has been released

Lobsters • 16h ago

Write Once, Run Anywhere (For Real This Time)
News

Write Once, Run Anywhere (For Real This Time)

Medium Programming • 17h ago

Anker’s power bank with built-in cables is one of my favorite gadgets, and it’s cheaper than usual
News

Anker’s power bank with built-in cables is one of my favorite gadgets, and it’s cheaper than usual

The Verge • 17h ago

Meta was finally held accountable for harming teens. Now what?
News

Meta was finally held accountable for harming teens. Now what?

TechCrunch • 17h ago

Every Senior Engineer I Respect Has Read These Books (Have You?)
News

Every Senior Engineer I Respect Has Read These Books (Have You?)

Medium Programming • 17h ago

Discover More Articles