bake: prohibit read/write an arbitrary path on the client host filesystem #1518
Labels
area/bake
kind/duplicate
This issue or pull request already exists
kind/enhancement
New feature or request
Currently, a bake file may specify an arbitrary path on the client host filesystem for reading secrets, writing outputs, etc.
Probably buildx should have a CLI flag to specify the allow list of the accessible path.
The path can be just validated in
util/buildflags/*.go
, but it might be nice to have landlock too on Linux clients. (And potentiallypledge
for OpenBSD clients)The text was updated successfully, but these errors were encountered: