Low-level unprivileged sandboxing tool used by Flatpak and similar projects
Bubblewrap is a low-level sandboxing tool for Linux that allows unprivileged users to create isolated container environments using the kernel's user namespaces feature. Rather than providing a complete, ready-made sandbox with a fixed security policy, it serves as a flexible foundation that larger frameworks like Flatpak can build upon to define their own security models and sandbox configurations. The tool is built using meson for compilation and leverages Linux kernel features including user namespaces, IPC namespaces, PID namespaces, network namespaces, UTS namespaces, and seccomp filters to restrict access to the operating system and user data.