MacCheck
Summary
Buying a used Mac is mostly guesswork. Battery cycle count, SSD health, whether the machine is still enrolled in someone else’s MDM, and whether Activation Lock is on. Those decide what it is worth, and the information is scattered across tools most buyers do not have.
MacCheck runs the checks in one pass and prints a verdict.
What it checks
It reads the system and OS build, then checks battery (cycles, condition, capacity) and SSD health via SMART and APFS. It also looks at memory pressure, thermals under light load, recent panics, Touch ID, the lid sensor, and the security state: MDM enrolment, DEP, and Activation Lock.
It also flags parts that may not be original.
The parts a script cannot read
Dead pixels, a failing camera, a sticky trackpad. MacCheck prompts for those instead of pretending to detect them. It opens a fullscreen HTML tester for dead pixels and display uniformity, and walks through the camera, microphone, speakers, keyboard and trackpad one at a time.
At the end it prints a score from 0 to 100 with a risk category, and saves both a JSON and a plain-text report, stamped with time and serial number.


Who it is for
Technicians and refurbishers checking machines during a COD deal, and anyone buying a used Mac who would rather not take the seller’s word for it. Built for Apple Silicon, M1 through M4, on macOS Ventura, Sonoma and Sequoia.
What I would change
The score is a heuristic, not a verdict. It makes a technician faster. Treating the number as the decision would defeat the point of having it.
Source
The code is public: https://github.com/rasyidev/mac-inspection-toolkit