Skip to content

A collection of scripts designed to secure/harden macOS

License

Notifications You must be signed in to change notification settings

StrangeRanger/macos-security-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macOS Security Scripts

Project Tracker Style Guide Codacy Badge

This repository is a collection of scripts designed to secure/harden macOS.

Getting Started

Downloading

All you need to do is download this repository to your local machine:

git clone https://github.com/StrangeRanger/macos-security-scripts

Usage

Note

Some of the scripts in this repository require root privileges to run. You can run the scripts with the sudo command to give them the necessary permissions.

You can run the scripts in this repository by using the following command:

./[script name] OR bash [script name]

Tested On

Below is a list of all the versions of macOS that the security scripts have been officially tested and are confirmed to work on.

  • macOS 15 (Sequoia)
  • macOS 14 (Sonoma)
  • macOS 13 (Ventura)
  • macOS 12 (Monterey)
  • macOS 11 (Big Sur)

Other Resources

While this repository has scripts that can help secure macOS, it doesn't cover everything. Below are some other resources that can help you further secure your Mac:

  • macOS Security and Privacy Guide - A resource with a lot of good advice on how to increase the privacy and security of your Mac.
  • Privacy.Sexy - Open-source tool to enforce privacy & security best-practices on Windows and macOS, because privacy is sexy 🍑🍆.