Skip to content

macattacc 0.2.1

Latest

Choose a tag to compare

@heyethan heyethan released this 09 Nov 13:22

0.2.1 - 2026-11-09

Changed

  • Obfuscation no longer ships the raw XOR key next to the ciphertext. Each literal's key is
    derived at runtime as SHA256(seed || salt || counter) (counter mode) from a per-build master
    seed (emitted per call site in masked form) and a per-call-site salt. The expansion stores
    cipher + salt + masked seed + mask — no full-length key adjacent to the cipher. Same honest
    ceiling: a debugger/dump still recovers the value.
  • One hardened code-signature validation path (strict + all-architectures + nested-code, optional
    requirement / Team ID) is now shared by the library self-check and the CLI shield check, which
    previously used the weaker bare SecCSFlags(). check gains a --requirement option.
  • Heuristics.matchesInstrumentationThread is token-anchored like the image matcher, so gmain
    no longer matches diagmaintenance. Still report-only / high-FP.
  • shield verify reports a missing nm/otool/size tool clearly, and PASSes on a local-symbol
    count at/below a small threshold instead of requiring strict zero (a stripped binary can retain
    a stray local). The reflection-metadata size report is unchanged.

Added

  • shield harden --write-project (opt-in): wires Shield.xcconfig into the single .xcodeproj's
    app-target Release config via a conservative, non-destructive .pbxproj edit — timestamped
    backup first, refuses on anything ambiguous (not exactly one app target, already configured),
    never touches other targets. Default behaviour (print instructions) is unchanged.

Docs

  • PRIOR-ART.md: the commit-order claim is replaced with a dated (2026-11-08) clean-room
    attestation that does not depend on visible commit order.