# macos-security-privacy-hardening

macos-security-privacy-hardening — a skill for securing and hardening macOS systems following enterprise security standards. Sets up full-disk encryption, firewall, firmware passwords, and disables telemetry.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 111 installs · ★ 13 repo stars
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/security-skills/tree/HEAD/skills/macos-security-privacy-hardening/SKILL.md
- Updated: 2026-10-09
- Security check: automated, 2026-11-16 (text) — warning: a command downloads a script from raw.githubusercontent.com and runs it right away. Do not run such commands without an explicit yes from the human.
- HTML: https://affpapa.org/en/nevibecode/skills/macos-security-privacy-hardening

## What it does

Provides step-by-step guidance for securing Apple silicon Macs. Covers hardware security (firmware password, FileVault, Lockdown Mode), privacy settings (telemetry, DNS encryption), access controls (separate accounts, password policies), and monitoring (logging, auditing).

Based on drduh/macOS-Security-and-Privacy-Guide recommendations. The skill walks through threat modeling, identifying what to protect against, and applying hardening via `sudo` commands and macOS utilities. Includes practical examples for FileVault, firewall rules, and user account separation.

Note: designed for Apple silicon Macs running current macOS versions. Intel machines have unpatched hardware vulnerabilities and are not recommended. Losing your FileVault recovery key makes data unrecoverable if you forget the password.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill macos-security-privacy-hardening -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/macos-security-privacy-hardening/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/macos-security-privacy-hardening/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill macos-security-privacy-hardening -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/macos-security-privacy-hardening/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill macos-security-privacy-hardening -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/macos-security-privacy-hardening/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/security-skills skills/macos-security-privacy-hardening
```

2. **Manually: put the files in place**
- File: `.github/skills/macos-security-privacy-hardening/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill macos-security-privacy-hardening -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/security-skills --path skills/macos-security-privacy-hardening
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/macos-security-privacy-hardening/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/security-skills --skill macos-security-privacy-hardening -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/security-skills/tree/HEAD/skills/macos-security-privacy-hardening/SKILL.md

## When to use it
- enable FileVault and set a firmware password
- configure firewall and DNS encryption
- disable Apple telemetry and tracking
- separate admin and standard user accounts
- enable Lockdown Mode for high-threat scenarios

## Example prompts
- Help me enable FileVault on my Mac and securely store the recovery key
- How do I set up a firmware password and enable Lockdown Mode on Apple silicon?
- Configure the firewall, logging, and password policies for my macOS system

## Similar
- [powershell-security-hardening](https://affpapa.org/en/nevibecode/agents/voltagent-powershell-security-hardening.md) — subagent · ★ 6505 repo stars
- [windows-hardening](https://affpapa.org/en/nevibecode/skills/windows-hardening.md) — skill · 435 installs
- [hardening-docker-containers-for-production](https://affpapa.org/en/nevibecode/skills/hardening-docker-containers-for-production.md) — skill · 373 installs
- [macos-security-bypass](https://affpapa.org/en/nevibecode/skills/macos-security-bypass.md) — skill · 3900 installs
- [Linux Server Hardening taste](https://affpapa.org/en/nevibecode/prompts/linux-server-hardening-taste.md) — prompt · ★ 178201 repo stars
- [privacy-engineering](https://affpapa.org/en/nevibecode/skills/privacy-engineering.md) — skill · 456 installs

From the same set: [reason-machines/security-skills](https://affpapa.org/en/nevibecode/by/reason-machines/security-skills.md) — 129 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
