Skip to content

Security: git-cgallagher/mac-scripts

SECURITY.md

Security policy

Reporting a vulnerability

Please report security issues privately through GitHub: Report a vulnerability (the Security tab, then Report a vulnerability). Don't open a public issue for a security problem.

You can expect an acknowledgement within a week. This is a one-person project, so fixes are best effort.

Supported versions

Only the latest version on main gets fixes.

Scope

These are small bash scripts that you run by hand on your own Mac, with your own user's privileges. They use only tools that ship with macOS. They open no network listeners, make no network connections and store no credentials.

  • imessage/monitor-imessage-download.sh opens ~/Library/Messages/chat.db read-only (sqlite3 -readonly) and measures the Messages attachments folder. It changes nothing in Messages. It needs Full Disk Access for your terminal app, and it announces completion with a macOS notification and say.
  • menubar/menu-bar-spacing.sh sets two menu bar values for your user on this Mac only (NSStatusItemSpacing and NSStatusItemSelectionPadding, whole numbers from 0 to 20, written with defaults -currentHost write -globalDomain), or deletes them to go back to the macOS default. It doesn't need sudo. If you answer y at the end, it asks macOS to log out through System Events; macOS still shows its own confirmation dialog first, so you can cancel there.

There aren't any published security advisories