Repository navigation
Releases
v6.1.1 — Supply-Chain Hardening, Web Portal & Polish
Website: https://hmarzban.github.io/macup/ · Docs: https://hmarzban.github.io/macup/docs/ · Full Changelog: https://hmarzban.github.io/macup/changelog/#v6.1.1
Install, Upgrade & Verify (SLSA Provenance)
# Install or upgrade via Homebrew
brew install HMarzban/tap/macup
brew upgrade --cask macup
# Verify SHA-256 checksum & SLSA Level 3 Build Provenance attestation
shasum -a 256 -c checksums.txt --ignore-missing
gh attestation verify macup-v6.1.1-darwin-all.tar.gz --repo HMarzban/macupHighlights in v6.1.1
- Patched Go
1.26.xRelease Toolchain & SLSA Level 3 Build Provenance: Compiled with the latest patched Go1.26.x(go1.26.11, eliminating 28go1.26.0stdlib CVEs caught bygovulncheck) and published with cryptographic GitHub Build Provenance attestations (actions/attest-build-provenance), SSH-signed verified commits & tags, CodeQL Go SAST (0 alerts), OpenSSF Scorecard, Go native fuzz tests (FuzzParsePlist,FuzzSanitizeText), and Dependabot (#1bumpingcharmbracelet/x/ansitov0.12.0). - Safe
macup touchid --disable: Cleanly removes a Touch ID-only/etc/pam.d/sudo_localor atomically comments outpam_tid.sowhile preserving unrelated PAM entries (pam_reattach.so), rejecting symlinks and never modifying/etc/pam.d/sudo, with per-subcommand--help, Zsh/Bash/Fish completions, and isolated unit tests. - Unified 3-Page Web Portal & Streamlined
README.md: Launched the editorial Documentation and Changelog sites with tokenized search, real-terminal syntax highlighting, cookie-free SRI-pinned GoatCounter analytics, 100% GitHub Community Health (CODE_OF_CONDUCT.md, PR template, Discussions, structured bug/feature forms), and a concise, high-trustREADME.md.
Compare: v6.1.0...v6.1.1
v6.1.0 — Trust, Craft & Corporate-Ready
Website: https://hmarzban.github.io/macup/ · Docs: https://hmarzban.github.io/macup/docs/ · Full Changelog: https://hmarzban.github.io/macup/changelog/
Install or Upgrade
# New install (universal arm64 + x86_64 binary + Zsh, Bash & Fish completions)
brew install HMarzban/tap/macup
# Upgrade from v6.0.0
brew upgrade --cask macup
# Read-only preview (changes nothing)
macup checkHighlights in v6.1.0
- Interactive Rollback Parity & Code-Signing Identity Guard: Interactive
macupruns now share the same Homebrew Cellar + instant APFS Copy-on-Write (.app) rollback hooks as Autopilot, backed by pure-GoLC_RPATHMach-O dylib checks and a TCC-free/usr/bin/codesignTeamIdentifier+CFBundleIdentifiercontinuity guard that rolls back & quarantines signing-identity swaps automatically. - Corporate Mac Survival Kit: Zero-network
depends_on :macosguard (Sequoia 15 / Tahoe 26 / Golden Gate 27), automatic Workbrew wrapper precedence, MDM/root-owned.appauto-protection, structured SHA256 / Cloudflare 403 / GitHub 403 /ghcr.ioerror triage, optionaldefer_major_casks, and a 13-checkmacup doctor(including$PATHshadowing and read-only corporate TLS/proxy diagnostics). - Depth-2
/Applications, Rosetta Go Audit,masv4 & Unifiedpin: Nested/Applicationsscanning with deduplication,audit --deepRosettax86_64Go binary & ARM64 cask migration hints, zero-forkmacup pin --list/--app/--go/--mas,BSI/CLTtagging + opt-in rebootlessinstall_macos_clt, and copyablesudo softwareupdatecommands. - Webhooks, Automation & Zero-RAM Menu-Bar Integrations: SSRF-hardened webhook presets (
auto,json,slack,discord,ntfy,pushover) with automatic secret redaction,CustomSteprequires/interval, live Settings → LaunchAgent sync,macup check --exit-code, frozenmacup status --json(schema_version: 2), and hardened SwiftBar / SketchyBar / Raycast scripts underdocs/integrations/. - TUI Craft: Global
DDoctor overlay, security-rollback badges (team-id!,sha256!,http 403,mdm) on Tab 3 Attention, responsive Tab 6 Apps with Selected App Inspector, and slowest-first fetch elapsed timers in the Live DAG. - New Web Portal: Dedicated editorial Documentation and Changelog sites with real-terminal syntax highlighting, tokenized search, and structured GitHub bug/feature forms.
Full release notes & every commit: https://hmarzban.github.io/macup/changelog/#v6.1.0
Compare: v6.0.0...v6.1.0
macup v6.0.0
macup v6.0.0
Fast, DAG-parallel, autonomous macOS update orchestrator with a unified Bubble Tea terminal shell.
Homepage: https://hmarzban.github.io/macup/
Install
Homebrew (recommended)
brew install HMarzban/tap/macupInstalls the universal macOS binary (arm64 + x86_64) along with Zsh, Bash, and Fish tab completions.
Go Install (Go 1.26+)
go install github.com/HMarzban/macup/cmd/macup@latestHighlights
-
5-Lane Parallel DAG & Zero-Fork Discovery
- Critical-path EWMA scheduling (
Homebrew,Toolchains & Editors,System & Apps,Services,Wrap-up) with batched formula upgrades and sliding-window Brew downloads. - Pure-Go binary/XML plist parser (
internal/plist), stdlibdebug/buildinfofor$GOBINtools (+ Rosettaamd64detection), pure-GoCellarGraph, Homebrew 7 JWS (+ legacy fallback) catalog reader, andPrefetchPlan+FeedCachehandoff. - ETag-cached Node/nvm checks and concurrent Go proxy fast-paths honoring
GOPRIVATE/GONOPROXY/GONOSUMDB.
- Critical-path EWMA scheduling (
-
Autonomous Autopilot Engine & TCC-Free macOS Guards (
macup autopilot)- Opt-in single
launchdLaunchAgent (dev.macup.agent,0 MBidle RAM, 15m fast-tick,off/prefetch/smart-apply). - ~15ms parallel TCC-free guards for battery, Apple Silicon Low Power Mode (
powermode 1), thermal load (pmset -g sysload), active calls/camera/screen-share assertions, metered hotspots, wake grace, load average, free disk (>= 5 GB), and HID idle — zero Full Disk Access prompts. - Opportunistic app-quit apply for verified pure-
.app, non-sudo, user-writable casks 5 minutes after quit, zero-spam deduplicated notifications with quiet hours, and<1msmacup status [--greeting|--prompt]badges.
- Opt-in single
-
Offline Self-Healing Rollback & Explainable Risk Engine (
macup rollback)- Transparent
RiskTier(low|medium|high) +[]RiskTag+--explainpolicy engine with CalVer-safe major-bump detection. - Preserves prior Homebrew Cellar kegs (
HOMEBREW_NO_INSTALL_CLEANUP=1, 7-day retention) and takes instant APFS Copy-on-Write (cp -cRp) backups before applying pure-.appcasks. - Post-apply health gates (Mach-O non-system dylib verification, 3s crash/dyld smoke test,
codesign --verify) with automatic rollback and 3-strike quarantine.
- Transparent
-
Unified Bubble Tea Shell, 6 Adaptive Themes & Smart Context-Aware Footers
- Seamless flow across Step Picker (
macup -i) → Live DAG → 7-Tab Report (macup report) → Exit Scrollback Receipt with full mouse/trackpad support and context-aware footers across every tab and overlay. - Preferences & Theme Studio (
macup settings/S) with automatic terminal background RGB detection across 6 WCAG themes (cyberwarm,midnight,tokyo,gruvbox,catppuccin,mono), 6 custom brand icons, and 3-tier iconography (macup icons). - 1-keystroke Smart Rules (
z/Zsnooze,tauto-policy,ppin/ignore,Ubatch cached flush,mmigrate deprecated,bRollback Inspector), plus a hidden 30 FPS NEON DAG // SECRET ARCADE 2.0 Easter Egg (click the top-left brand emblem 5× or run:→arcade).
- Seamless flow across Step Picker (
-
OWASP & macOS AppSec Hardening
- Audited across CLI, daemon, providers, parsers, TUI, and CI/CD: pinned SIP system binary paths, absolute-
PATHlookup,--option terminators & positionalbash -cargs, atomic0444 root:wheelTouch IDsudo_local,0700/0600+O_NOFOLLOWlocal files, DNS-validated public-HTTPS SSRF protection on feeds & webhooks,bplist00/XML bomb budgets, CWE-150 terminal/Markdown sanitization, expanded secret redaction, reproducibleCGO_ENABLED=0 -trimpath -buildid=builds, and SHA-pinned GitHub Actions.
- Audited across CLI, daemon, providers, parsers, TUI, and CI/CD: pinned SIP system binary paths, absolute-
Verification
Verify the release archive against checksums.txt:
shasum -a 256 -c checksums.txt --ignore-missingFull details in CHANGELOG.md and SECURITY.md.
macup v5.0.0
macup v5.0.0 — Smart Speed, Safety, Automation & Deep Hygiene
Smart Speed Fast-Paths & Critical-Path-First DAG
- Zero-bash Node/npm fast-path: Resolves
$NVM_DIR/alias/default+ local npm directly in Go and checksnodejs.org+registry.npmjs.orgvia HTTP ETag (~1s no-op vs ~10s previously). - Direct Go module proxy fast-path: Queries
proxy.golang.org/@latestconcurrently (honoringGOPRIVATE) and skipsgo installwhen$GOBINbinaries are already current (<1s no-op). - Zero-Ruby Homebrew 7 local catalog reader: Parses Homebrew's local
packages.*.jws.json.payload(+.index) once per process to inspectauto_updates, cask.appbundles,sudorequirements, and deprecations in ~25ms. - Critical-Path-First (LPT) DAG scheduling + automatic transient error retry (
auto_retry_transient = true).
Smart Safety & Risk Controls
- Running-App Cask Guard (
defer_running_apps = true): Pre-fetches outdated GUI casks into Homebrew's cache and safely defers installing currently open apps; upgrade anytime from Tab 3 (Attention) with one keypress ([u]quit, upgrade from cache & reopen). - Semver
MAJORBump Badges across Bento cards, Markdown exports, and Tab 2 (Changes). - One-Key Pinning:
macup pin/macup unpinCLI +[p]key in Tab 2 (Changes) for both Homebrew formulae and casks.
Autonomous launchd Scheduler & <10ms Shell Status
macup schedule [install|status|pause|resume|uninstall|run-now]managingdev.macup.agentwithprefetch(cache pre-warm) andsafe-apply(non-sudo, non-GUI, non-major CLI auto-apply) modes.- macOS Environment Guards: Automatically skips background runs on low battery (<40%), Low Power Mode, offline networks, metered Personal Hotspots, or active video calls.
macup status [--prompt]: Reads~/.local/share/macup/pending.jsonin <10ms for Zsh/Starship/tmux badges (↑4,↑4!).- Lifecycle
[hooks]:pre_run,post_run,on_failureshell hooks + JSONwebhook_url.
Deep Hygiene Audit & Snapshot Drift
macup audit --deep: Deprecated/disabled Homebrew packages, pure-Godebug/machoRosettax86_64-only app detection, orphaned Homebrew leaves, and stalenvmversions.macup snapshot diff [1] [2]&list: Timestamped snapshot archive for out-of-band machine drift tracking.- Expanded
macup doctor(10 checks) & updated Zsh tab completions.
Notable Fixes
- Fixed
Node (nvm)PATHshadowing where/opt/homebrew/bin/npmblockednvm install-latest-npmfrom updating nvm's own npm. - Fixed Homebrew 7 future-dated deprecation filtering (no false positives on future-EOL formulae like
openssl@3orpython@3.15). - Fixed
macup snapshotcask capture falling back toCaskroomwhen an unavailable tap cask makesbrew list --cask --versionsfail. - Fixed 7-bit ASCII purity in
--plainoutput mode.