---
title: "Mac security audit by agent"
canonical: "https://agenticfeats.com/c/mac-security-audit-by-agent-claude-code/"
agents: ["Claude Code", "Codex"]
evidence_grade: "A"
outcome: "completed"
job_type: "Ops and IT"
roles: ["Developer", "Personal"]
source_url: "https://github.com/dominikmartn/black-october-check"
evidence_url: "https://github.com/dominikmartn/black-october-check"
author: "dominikmartn"
source_date: "2026-10-23"
published: "2026-10-26"
updated: "2026-10-26"
---

> From Agentic Feats: sourced examples of AI agents at work. Map of the site for agents: https://agenticfeats.com/llms.txt

# Mac security audit by agent

A markdown checklist pasted into a coding agent that runs read-only security checks on a Mac, then proposes fixes one at a time for approval.

Result: On two Macs, checks found unpatched Bun and Claude Code builds and pip, uv and Java trusting bad certificates. Fixes were verified.

## How it was set up

Paste the file into Claude Code, Codex or similar with shell access. Say: run the checks, report, then ask before every fix. Needs sudo for some steps.

## Worth knowing

Some steps need a human to confirm dialogs. Without sudo, the agent only sees your own processes.

## Prompt

```text
Here is a security checklist for my Mac. Run all Phase 1 checks read-only and report one table: item, status (ok / at risk / unknown), evidence. Then propose each fix with the exact command and wait for my yes before running it. Never print secrets.
```

## Evidence note

Repo with checks and logged results from two Macs

## Sources

- Original: https://github.com/dominikmartn/black-october-check
- Evidence: https://github.com/dominikmartn/black-october-check

## The receipt

- Agent: Claude Code, Codex
- Evidence: Shown (grade A, artifact linked)
- Outcome: Completed
- Job type: Ops and IT
- Roles: Developer, Personal
- Source: GitHub
- Author: dominikmartn
- Published: 2026-10-23
- Added: 2026-10-26
