Skip to content
Back to skills

Contain And Recover Macos

ASecurity

Contain a macOS threat and verify recovery. Use for isolation, process or service containment, credential response, persistence removal, quarantine, restore, erase/reinstall, monitoring, and return-to-service decisions.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 5, 2026
ai-agentsrustgosecurity

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add gaelic-ghost/socket --skill contain-and-recover-macos --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Contain And Recover Macos?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Contain And Recover Macos
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gaelic-ghost-contain-and-recover-macos/badge)](https://www.skillsdirectory.com/skills/gaelic-ghost-contain-and-recover-macos)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: contain-and-recover-macos
description: Contain a macOS threat and verify recovery. Use for isolation, process or service containment, credential response, persistence removal, quarantine, restore, erase/reinstall, monitoring, and return-to-service decisions.
---

# Contain And Recover macOS

## Overview

Choose actions proportionate to evidence and ongoing harm. Preserve what matters, use official lifecycle controls, and verify the system after eradication rather than declaring it clean because one artifact disappeared.

Read [references/macos-response-ladder.md](references/macos-response-ladder.md) for containment and recovery levels.

## Workflow

1. Confirm assessment, confidence, affected scope, ongoing behavior, critical data, and evidence needs.
2. Choose immediate containment.
   - Prefer reversible network/account/session isolation when it stops harm.
   - Record the effect on volatile evidence and business/user access.
3. Preserve decisive evidence.
   - Capture artifact, persistence, process/network/log, account, and timeline records before removal when delay is safe.
4. Stop active behavior through official controls.
   - End processes/services deliberately; use `launchctl bootout` for approved launch service removal from a domain, app-provided uninstallers for app components, and supported profile/extension management surfaces.
   - Never edit launchd's internal state directly.
5. Eradicate the verified mechanism.
   - Remove or quarantine confirmed artifacts, registrations, extensions, profiles, helpers, rules, and downloaded stages; preserve hashes and paths.
   - Do not reset, disable, or weaken TCC, Gatekeeper, XProtect, SIP, App Sandbox, or another protection merely to make a suspicious artifact run or simplify removal.
6. Respond to identity exposure.
   - Rotate affected credentials/tokens from a trusted device, revoke sessions/keys, review MFA and recovery methods, and notify owners/providers as warranted.
7. Recover.
   - Restore from a known-good point, reinstall/erase when integrity cannot be established, apply updates, reconfigure only needed access, and avoid restoring suspect persistence.
8. Verify and monitor.
   - Recheck persistence, runtime/network, accounts, security updates, backups, and recurrence across a defined observation window.

## Output

Return containment/impact, evidence preserved, eradication actions, credential response, recovery basis, verification results, residual uncertainty, and return-to-service decision.

Files in this skill

  • SKILL.md2.5 KB
  • agents/openai.yaml238 B
  • references/macos-response-ladder.md844 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.