Security concern regarding prebuilt images #11

Closed
opened 2026-08-03 16:16:30 +00:00 by TheExplorer · 2 comments

Following up on our conversation here and because you answered this:

butterknife doesn't use the Debian installer at all. It extracts a prebuilt system image straight to disk

I'm now really concerned about my security and would like to know the origin of these images. I have a lot of private and NDA documents on my drives.

Should I worry?

Thank you in advance!

Following up on our conversation [here](https://justaguy.dev/drew/butterknife/issues/10#issuecomment-58) and because you answered this: > butterknife doesn't use the Debian installer at all. It extracts a prebuilt system image straight to disk I'm now really concerned about my security and would like to know **the origin of these images**. I have a lot of private and NDA documents on my drives. Should I worry? Thank you in advance!
Owner

Fair question. The image isn't a binary from an unknown source. It's built with build-rootfs.sh (right here in this repo), which runs Debian's debootstrap and uses the official mirrors (deb.debian.org). Every package in it is a signed, official Debian package. The script just assembles them into a tarball so the install is fast and works offline. No 3rd party packages.

If you'd rather not trust a prebuilt tarball at all, you have two options:

  1. Build the tarball yourself: sudo bash build-rootfs.sh on any Debian system, then rebuild the ISO.
  2. Using the debootstrap install method in butterknife (with a network connection) fetches everything directly from Debian's mirrors on your machine, skipping the bundled image entirely.

FYI, any OS installer (including official Debian ISOs) runs with full disk access, so verify what you install and keep backups. But butterknife is not that special

Fair question. The image isn't a binary from an unknown source. It's built with build-rootfs.sh (right here in this repo), which runs Debian's debootstrap and uses the official mirrors (deb.debian.org). Every package in it is a signed, official Debian package. The script just assembles them into a tarball so the install is fast and works offline. No 3rd party packages. If you'd rather not trust a prebuilt tarball at all, you have two options: 1. Build the tarball yourself: sudo bash build-rootfs.sh on any Debian system, then rebuild the ISO. 2. Using the debootstrap install method in butterknife (with a network connection) fetches everything directly from Debian's mirrors on your machine, skipping the bundled image entirely. FYI, any OS installer (including official Debian ISOs) runs with full disk access, so verify what you install and keep backups. But butterknife is not that special
Author

@drew Awesome. Thank you very much. Closing then. Cheers!

@drew Awesome. Thank you very much. Closing then. Cheers!
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
drew/butterknife#11
No description provided.