heyethan

Macattacc — Development skill for Claude Code

Development community

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. gmain is a stock GLib thread name in benign apps; Rosetta, VMs, EDR and accessi