Hacker News new | ask | show | jobs
by megous 14 days ago
ghostscript, imagemagick, ffmpeg, etc. etc. all these passthrough data in data out programs that don't need much of anything from the system, I'd think people would run them with untrusted input in a tight whitelist based seccomp+landlock sandbox. it's a bit annoying if they are not statically compiled, due to ld.so loading libraries, but possible.
2 comments

> I'd think people would run them with untrusted input in a tight whitelist based seccomp+landlock sandbox.

in fact, many do. if you're not doing this all your unsafe file processing in 2026, you're in for a bad time!

OpenBSD will get tons of support with pledged graphicsmagick and ffmpeg (and maybe GS).

I wish Ori B finishes the GeFS port from 9front.

We should just use wasm for all this stuff
Why not a restricted container?
Too much surface area for bugs
Maybe ok for low volume stuff but you think YouTube is going to take a 2x performance hit for all their video processing?

Lightweight VMs are probably the best solution in that case.