Skip to content

Security: theshiver/apple-silicon-printer-drivers

Security

SECURITY.md

Security & transparency

What the installer does — exactly

The .pkg copies files to /Library/Printers/Gutenprint/ and then runs scripts/postinstall as root. That script, in full:

  1. Sets permissions on /Library/Printers/Gutenprint and symlinks gutenprint-add into /usr/local/bin.
  2. If Canon's Intel-only IJ driver is present, moves (never deletes) these to /Users/Shared/printer-driver-backup: /Library/Extensions/BJUSBLoad.kext, /Library/Printers/Canon, /Library/Printers/PPDs/Contents/Resources/CanonIJ*.ppd.gz. It also removes printer queues that reference the (now unusable) Canon filters.
  3. Runs lpinfo -v, matches USB printers against the combined Gutenprint, brlaser, SpliX and foo2zjs model list, and creates queues with lpadmin.

It does not touch anything else, does not phone home, and needs no network.

Ten HP LaserJets (1000, 1005, 1018, 1020, P1005 to P1008, P1505, P1505n) keep their firmware in RAM, so it has to be sent again after every power on. The package includes HP's firmware for these models in /Library/Printers/Gutenprint/share/foo2zjs/firmware, pinned by hash in build/foo2-firmware.sha256. The print filter sends it as part of the first job when the printer reports no firmware. No daemon or root process is involved. HP owns this firmware; it is not covered by this project's licenses.

The package also adds an app, Print from iPhone & iPad, to /Applications. Sharing stays off until you turn it on there. You can pick any printer on your Mac, including work printers. Turned on, each printer you pick gets a LaunchAgent in ~/Library/LaunchAgents that runs Apple's ippeveprinter as your user and announces the printer on your network. Anyone on that network can print to it. Turn it off in the same app.

Verifying a release

The release package is signed with a Developer ID Installer certificate and notarized by Apple. Check it with:

spctl -a -vv -t install AppleSilicon-Printer-Drivers-<ver>.pkg     # → "accepted, source=Notarized Developer ID"
pkgutil --check-signature AppleSilicon-Printer-Drivers-<ver>.pkg

Each tag is also built from source on GitHub Actions (Apple Silicon runner) by .github/workflows/release.yml; those ci-* assets carry a Sigstore build-provenance attestation (gh attestation verify ci-AppleSilicon-Printer-Drivers-<ver>.pkg --owner theshiver).

You can also inspect the package before installing:

pkgutil --expand AppleSilicon-Printer-Drivers-<ver>.pkg /tmp/pkg && cat /tmp/pkg/Scripts/postinstall

Prefer the command line? sudo installer -pkg AppleSilicon-Printer-Drivers-<ver>.pkg -target / does the same as double-clicking.

Reporting

Open a GitHub issue, or email the address on the maintainer's profile for anything sensitive.

There aren't any published security advisories