containers / containers/bubblewrap

Consider adding optional pre-configure seccomp filters

Open
#710 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.7k
Forks
386
Avg merge
3d 17h
Merged PRs (30d)
11

Description

[SECURITY.md](https://github.com/containers/bubblewrap/blob/main/SECURITY.md) clarifies that it is not the task of bwrap to enure that a real security barrier is created.

However, as I understand it, there is a list of seccomp rules that are fundamental to ensuring that bwrap can function as a sandbox at all. For example: unshare, setns, or mount.

I originally wasn't in favor of adding this to bwrap, and thought we could put it into a library that uses bwrap. But now I think if we can find a good set or good multiple sets, we should add them.

The issue currently is that there are too many consumers that have to create seccomp rules for this themselves, and this is very prone to errors.

First step would be to have a table which lists what seccomp rules are needed and when. Sadly, even Flatpak etc don't properly document their seccomp rules.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.