Audit apple signing and containment
Skill gaelic-ghost/socket/plugins/reverse-engineering-skills/skills/audit-apple-signing-and-containment
Audit Apple code signatures, code directories, CDHashes, authorities, Team IDs, designated requirements, provisioning profiles, entitlements, hardened runtime, library validation, notarization, App Sandbox, SIP, Data Vaults, and platform-binary context. Use when Codex must explain an Apple artifact's declared identity and containment state, compare original and re-signed copies, or separate signed claims from access observed at runtime.From its SKILL.md
npx -y skills add gaelic-ghost/socket --skill audit-apple-signing-and-containmentAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.7 KB, 619 tokens by cl100k_base, as published. Nobody here has run it
Audit Apple Signing And Containment
Overview
Inspect the original signature and declared capabilities before any transformation. Treat signing, notarization, sandboxing, SIP, and runtime access as related but distinct evidence.
Read references/apple-signing-and-containment.md when interpreting signature layers, provisioning, mandatory access controls, or current Apple security documentation.
Workflow
-
Fix artifact identity.
- Record hash, UUID, bundle identifier and build, architecture, acquisition source, and whether the artifact is original, extracted, patched, or re-signed.
-
Inspect the signature without changing it.
- Record code-directory versions and hashes, CDHash, signing authorities, Team ID, identifier, designated requirement, flags, and nested-code verification results.
- Record unsigned or ad hoc state precisely instead of collapsing it into
invalid.
-
Inspect provisioning when present.
- Record application identifier, Team ID, platform, expiration, device scope, and profile entitlements.
- Compare profile entitlements with the executable's signed entitlements rather than treating either set alone as the effective runtime state.
-
Inventory declared entitlements.
- Preserve entitlement keys and values exactly.
- Classify public capability, private or undocumented key, debugger/development capability, sandbox declaration, and environment-specific value only when supported by current sources.
-
Inspect containment context.
- Record hardened runtime, library validation, App Sandbox, platform-binary clues, notarization evidence, SIP or system security state, and relevant Data Vault or mandatory access-control boundaries.
- Distinguish host policy, process signature state, user consent, and service-mediated authorization.
-
Compare with observed access.
- State
declares entitlement Xseparately fromoperation Y succeeded in environment Z. - Record OS build, hardware, process path, signing state, and reproduction steps for runtime observations.
- State
-
Compare transformed copies.
- Create a transformation record for every re-sign, entitlement edit, binary patch, or bundle change.
- Treat the transformed copy as a new behavioral artifact and never attribute its result to the original signature.
-
Route ordinary app signing, provisioning, notarization, or distribution work to
apple-dev-skillsafter the artifact audit is complete.- Route private entitlement enforcement, TCC/sandbox attribution, Gatekeeper/XProtect internals, or other exact-build control questions to
research-macos-security-controlwith this signature record.
- Route private entitlement enforcement, TCC/sandbox attribution, Gatekeeper/XProtect internals, or other exact-build control questions to
Guardrails
- Do not re-sign merely to make inspection convenient.
- Do not claim root access bypasses SIP, sandbox profiles, Data Vaults, TCC, or other mandatory controls.
- Do not treat successful signature verification as proof of trust, safety, notarization, or runtime authorization.
- Live-check entitlement availability and enforcement claims for the exact OS build when they affect a conclusion.
Output
Return artifact identity, signature report, provisioning and entitlement comparison, containment context, observed-versus-declared access, transformations, and unresolved policy questions.
What ships with it: 2 files
3.0 KB alongside SKILL.md
agents/
- openai.yaml279 B