Contain the Blast Radius: Sandboxing Your Sketchiest Plugins on Linux
You know the one. It's a 2013-era VST2 that sounds like nothing else in your folder, and roughly one time in five it takes the whole session down when you click the GUI. You keep it because it's irreplaceable. You also keep hitting Ctrl+S every four minutes because of it.
That plugin is the reason people talk about a plugin firewall. On Linux in 2026 you have at least four ways to build one, and they are not equivalent. Some stop a crash. Some stop a crash and a memory stomp. Almost none stop a determined attacker. Let's sort out which is which.
First, what a firewall actually buys you
A process boundary is a crash boundary. When a plugin runs in its own process, a segfault kills that process, not your DAW. The host notices the child died, marks the plugin offline, and your other 40 tracks keep playing. That alone is worth the setup for anything genuinely unstable.
A process boundary is not, by itself, a security boundary. A plugin in a separate process on the same user account can still read your home directory, open a socket, and phone home. If your concern is a closed-source binary from a vendor you don't trust — the kind of thing we dug into in our plugin network audit — you need actual confinement: filesystem, network, and IPC restrictions. Those are two different jobs. Most people need the first one and think they need the second.
REAPER's built-in modes
REAPER gives you three per-plugin options under the FX window's Run as menu, and the differences matter.
- Separate process puts the plugin's audio engine in a child process but keeps the GUI in another. Cheap, and usually enough to keep a wobbly GUI from eating the audio thread.
- Dedicated process gives each instance its own child process. One crashed instance doesn't drag the others down. This is the setting I'd pick for a flaky character compressor you use on three tracks.
- Firewalled is the strictest: the child process is further restricted from touching the host's memory, and REAPER assumes the plugin could be actively hostile. Expect some plugins to simply refuse to load here, particularly anything with a copy-protection scheme that inspects the host process.
The cost is mostly startup time and memory. A dedicated process per instance means a fresh allocation of the plugin's full sample-loading footprint per copy — load a 2 GB orchestral library across six instances and you'll feel it. Latency impact is modest because REAPER is passing buffers over shared memory, not over a network socket. What you will notice is that some plugins report their latency slightly differently in firewalled mode, which can smear your plugin delay compensation on parallel buses. Test parallel compression paths specifically.
yabridge process settings
If you're running Windows VSTs through yabridge, you already have isolation-shaped tools — you just may not have turned them on. In yabridge.toml you can assign plugins to groups, and each group gets its own Wine host process. Put the unstable plugin alone in a group of one and its crash stays there.
Running one host per plugin gives maximum isolation and maximum Wine overhead: each host spins up its own Wine environment, which is a few hundred milliseconds at load and a noticeable chunk of RAM per instance. Grouping related plugins (all the ones from one vendor, say) is the usual compromise — a crash takes out that vendor's plugins only.
One thing worth knowing: yabridge hosts are separate processes, not sandboxes. They still run as you, with your home directory mounted and your PipeWire socket available. If your threat model is malware rather than instability, add the next layer.
The container layer
For genuine confinement, bubblewrap (bwrap) is the tool that ships nearly everywhere and does the most with the least ceremony. The shape of a workable invocation looks like this:
bwrap --dev-bind /dev /dev \
--ro-bind /usr /usr \
--ro-bind /etc /etc \
--bind ~/Plugins /plugins \
--bind ~/.wine-plugins /home/you/.wine \
--tmpfs /home/you \
--unshare-net \
--die-with-parent \
reaper
The critical bits: --unshare-net kills network access for anything inside, --tmpfs /home/you hides your documents while leaving the plugin directory bind-mounted, and --die-with-parent ensures a hung child doesn't outlive its host. Two caveats cost people entire evenings. First, Wine needs /dev/shm and often /tmp writable — --dev-bind /dev /dev gets you the first, and you may need a real tmpfs rather than a read-only bind for the second. Second, you must bind-mount the runtime directory ($XDG_RUNTIME_DIR) so the plugin can reach the PipeWire socket, otherwise you get silence and a log full of connection refusals.
firejail does roughly the same job with a profile file and less typing, if your distro packages it. systemd-run --user --scope is a lighter-weight option that gives you cgroup CPU limits but no real filesystem confinement — useful if the problem is a plugin eating 300% CPU, not exposing your tax returns.
The bridging tax
Carla deserves its own paragraph because it's the routing-first answer. Run Carla as a standalone JACK/PipeWire client and you've moved the plugin out of the DAW entirely — the DAW can't crash because of it, period. Carla's own bridging options let you isolate individual plugins inside its graph.
The tax: every hop across a JACK/PipeWire connection costs you a buffer. One quantum at 48 kHz and a 256-sample buffer is about 5.3 ms each way. Put a plugin in Carla across the graph boundary and you've added roughly 10 ms of round trip plus whatever the plugin itself reports. For a reverb on a send, nobody will know. For a plugin on your monitored vocal chain, everybody will.
Measure it rather than guess. jack_iodelay or a loopback click through REAPER's own routing will tell you the truth in about ninety seconds, and the number is usually different from the marketing claim.
A sane default policy
Here's what I'd actually run. Keep your working chain in-process: the compressor, the EQ, the channel strip — all the stuff that's been stable for years and needs sample-accurate timing. Firewall anything that has ever crashed: one plugin per dedicated process in REAPER, one group of one in yabridge. Anything closed-source and unfamiliar gets the bwrap treatment with no network and no home directory, auditioned on a scratch session before it touches a client project.
And keep the real safety net — dated backups, session snapshots, and a plugin list you can rebuild from. A firewall narrows the blast radius. It doesn't replace insurance.