Hacker ApprovedDepartments

Bubblewrap (bwrap)

Hacker Approved

Ranked 6 of 10 sandboxing tools by recommenders

A simple Linux sandbox for isolating apps and agents without running a full container. Critics say its limits are real and its isolation is weaker than it looks.

A simple Linux sandbox for isolating apps and agents without running a full container. Critics say its limits are real and its isolation is weaker than it looks.

15 people gave an opinion

recommend it
11
criticize it
4
approval share
73%
Each figure is one person. RecommendsCriticizes

Recommended in 7 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 11 people recommend itNeeds 10 or more, met.
  • 2.8 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 7 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Pairs well with Nix

    “The tools to do so are there (e.g. Nix and firejail/bwrap) and, unlike Wayland, they play well with existing software.”

    Comment from 2 Feb 2026 in “Noctia: A sleek and minimal desktop shell thoughtfully crafted for Wayland”

    “I use nix + bwrap, which gives a similar result”

    Comment from 18 May 2026 in “The foundations of a provably secure operating system (PSOS) (1979) [pdf]”
  • Lighter than a full container

    “to properly sandbox without running a full container”

    Comment from 31 May 2026 in “Codex just found a "workaround" of not having sudo on my PC”

    “At bare minimum use a simple jail such as bwrap”

    Comment from 4 Jul 2026 in “I found a malware hiding in my TailwindCSS config file”
  • Used for untrusted code

    “I personally use bwrap if I'm not confident about the source.”

    Comment from 12 Aug 2026 in “llama.cpp”

    “At bare minimum use a simple jail such as bwrap”

    Comment from 4 Jul 2026 in “I found a malware hiding in my TailwindCSS config file”

What people warn about

Each mark is one comment

  • Weak isolation and unsafe defaults

    “These are massive footguns and issues for deploying code”

    Comment from 20 Aug 2026 in “Malicious Rust Crate Arrayref Runs a Build-Time Payload”

    “Codex uses bwrap sandbox which is purely cosmetic”

    Comment from 13 Jul 2026 in “Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop”

    “This only works for post-install script attacks.”

    Comment from 31 Mar 2026 in “Axios Compromised on NPM – Malicious Versions Drop Remote Access Trojan”

Other sandboxing tools people recommend

The four most recommended other sandboxing tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Bubblewrap (bwrap) compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Bubblewrap (bwrap)1093277%12—Approved
Agent Safehouse43296%7—Approved
nono34392%10—Approved
Firejail30683%12—Approved
Bubblewrap (bwrap)This page11473%7—Approved
See all 10 sandboxing tools, ranked

What people said

14 of the 16 comments that mention it, newest first. Each links to the original comment.

“I did a quick look-around last month and decided to start using bwrap.”

RecommendsComment from 22 Sep 2026 in “Show HN: Drop – A rootless Linux sandbox with gVisor support”

“These are massive footguns and issues for deploying code”

CriticizesComment from 20 Aug 2026 in “Malicious Rust Crate Arrayref Runs a Build-Time Payload”

“I personally use bwrap if I'm not confident about the source.”

RecommendsComment from 12 Aug 2026 in “llama.cpp”

“Codex uses bwrap sandbox which is purely cosmetic”

CriticizesComment from 13 Jul 2026 in “Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop”

“At bare minimum use a simple jail such as bwrap”

RecommendsComment from 4 Jul 2026 in “I found a malware hiding in my TailwindCSS config file”

“to properly sandbox without running a full container”

RecommendsComment from 31 May 2026 in “Codex just found a "workaround" of not having sudo on my PC”

“I use nix + bwrap, which gives a similar result”

RecommendsComment from 18 May 2026 in “The foundations of a provably secure operating system (PSOS) (1979) [pdf]”

“I did the (imho) only sensible thing, and run Obsidian in a sandbox (bwrap)”

RecommendsComment from 11 May 2026 in “Obsidian plugin was abused to deploy a remote access trojan”

“the bwrap sandbox I’d been using is the perfect place to mount a folder”

RecommendsComment from 17 Apr 2026 in “Show HN: Marky – A lightweight Markdown viewer for agentic coding”

“unlike bwrap, it has sane defaults”

CriticizesComment from 31 Mar 2026 in “Axios Compromised on NPM – Malicious Versions Drop Remote Access Trojan”

“This only works for post-install script attacks.”

CriticizesComment from 31 Mar 2026 in “Axios Compromised on NPM – Malicious Versions Drop Remote Access Trojan”

“you want to put agents in a sandbox instead such as bwrap anyways”

RecommendsComment from 24 Feb 2026 in “Pi – a minimal terminal coding harness”

“bwrap is great, but you're stuck with the limitations of the environment”

MixedComment from 4 Feb 2026 in “Sandboxing AI Agents in Linux”

“The tools to do so are there (e.g. Nix and firejail/bwrap) and, unlike Wayland, they play well with existing software.”

RecommendsComment from 2 Feb 2026 in “Noctia: A sleek and minimal desktop shell thoughtfully crafted for Wayland”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.