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.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add gaelic-ghost/socket --skill contain-and-recover-macos --agent claude-codeInstalls 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 automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/gaelic-ghost-contain-and-recover-macos)More formats (shields.io, HTML) on the badges page.
---
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.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!