Macattacc — Development skill for Claude Code
Defensive code-protection toolkit for Swift/macOS apps you own: build hardening, obfuscation (via Obscura), and runtime tamper/debug/instrumentation detection.
How to install Macattacc
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open heyethan/macattacc and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Macattacc does
Defensive code-protection toolkit for Swift/macOS apps you own: build hardening, obfuscation (via Obscura), and runtime tamper/debug/instrumentation detection. Drop-in for Claude Code and other agents.
Alternatives in Development
- Swift Lsp — Swift /plugin install swift-lsp@claude-plugins-official 14k ★
- Defensive Code Cleanup — Clean Defensive Try-Catch Blocks 1.2k ★
- Site Move — 改版、换域名、改 URL 结构前后对比:先存基线,改完对比出差异清单(漏 301、链式跳转、canonical 指旧址、hreflang 断簇) 663 ★
README
macos-shield
**A macOS-native Swift toolkit for developers protecting software they own.** Build-hardening presets + an opt-in runtime tamper-detection library + a drop-in CLI. MIT licensed.
Protect **your own** software. This is defensive developer tooling. See [DISCLAIMER.md](DISCLAIMER.md).
It fills a real gap: the runtime self-protection suites (IOSSecuritySuite, freeRASP) are iOS/Android only, and the macOS obfuscators (SwiftShield, Hikari) are dead or archived. Nothing combined macOS-native runtime protection with build-hardening in a package an agent can drop in and run.
What actually raises the bar — read this first
There are two very different threats, and they need different defenses:
| Threat | What stops it | Where it lives here |
|---|---|---|
| Cloning your app from the shipped binary (static analysis) | Build-hardening + obfuscation — strip symbols, drop reflection metadata, (phase 2) IR obfuscation | shield harden → Shield.xcconfig |
| Dynamic tampering — debuggers, licence patches, Frida hooks on a running app | Runtime self-checks (this library) as defense-in-depth | MacOSShield / shield doctor |
**Lead with hardening.** The runtime library is *defense-in-depth against dynamic tampering and licence-cracking — it is NOT anti-clone.* Runtime checks do little against someone statically reverse-engineering your binary. Never read the runtime half as "this stops cloning."
Honest limits
A self-check that lives **inside the binary it protects is a speed bump of minutes, not a wall.** An attacker — or an LLM pointed at your binary — can NOP the branch that acts on a detection, or hook the syscall the check relies on. These techniques raise cost; they do not make your app uncrackable. Anyone who tells you otherwise is selling something.
Specific weaknesses, stated plainly:
- Name/thread/image heuristics are high false-positive.
gmainis a stock GLib thread name in benign apps; Rosetta, VMs, EDR and accessi
Related Skills
Arkts Debug
Debug ArkTS issues with runtime evidence (hypotheses -> DEBUG log instrumentation -> devecocli build/run/log -
Notary
A black-box recorder and approval gate for any Claude skill. Tamper-evident, human-approved execution receipts
MySafeAI
Local process protection for Codex, Claude Code and desktop apps over VPN or direct connections · macOS, Windo
Experimental Issue
You are a seasoned IOS developer building IPhone apps with Swift in XCode.
Planning Issue
You are a seasoned IOS developer building IPhone apps with Swift in XCode.
Axbridge
Let coding agents use iOS Simulator apps as text: MCP server + Swift package. Read the screen from the accessi
Related Agents
Resilience Anti Tamper Auditor
Audits anti-tampering and reverse-engineering resistance, including root/jailbreak detection, debugger/Frida/h
Swift UI
SwiftUI application specialist. Use when working exclusively within apps/swift/ — views, models, coordinators,
macOS SwiftUI Engineer
Implements features and fixes in native macOS apps built with Swift 6 / SwiftUI / AppKit via SwiftPM command l