{
  "$schema": "https://rave.maccrab.com/schemas/catalog-entry.json",
  "id": "com.maccrab.forensics.posture-pro",
  "display_name": "Mac Security Posture Pro",
  "short_description": "Grades the Mac's hardening AND inventories its attack surface \u2014 persistence, login/background items, extensions, config profiles, privacy grants, quarantine events. Read-only, all-metadata.",
  "long_description": "A read-only security-posture collector AND machine inventory. It grades the Mac's hardening controls and enumerates everything on it that matters for a forensic timeline \u2014 so even a hardened Mac produces a rich, cross-referenceable corpus rather than a row of green checkmarks.\n\nGRADE (score 0\u2013100 + letter):\n\u2022 SIP, FileVault, Gatekeeper \u2014 the critical controls\n\u2022 Application Firewall (+ stealth mode)\n\u2022 XProtect malware-definition freshness\n\u2022 Download quarantine (LSQuarantine active?)\n\u2022 Launchd persistence integrity \u2014 resolves each LaunchDaemon/LaunchAgent program and code-signs it; flags unsigned / ad-hoc / unverifiable entries\n\u2022 Privacy-permission exposure (TCC)\n\nINVENTORY (one artifact per item):\n\u2022 Every launchd persistence item \u2014 path, resolved program, signing verdict + Team ID\n\u2022 Non-Apple TCC privacy grants \u2014 service + bundle-id, high-risk flagged (never the grant bodies)\n\u2022 Login / background items (BTM) \u2014 identifier, developer, type, enabled/allowed\n\u2022 System extensions (NetworkExtension / Endpoint Security / DriverKit) + third-party kernel extensions\n\u2022 Configuration profiles (MDM / manual) \u2014 identifier, org, scope\n\u2022 Recent download-quarantine events \u2014 agent + timestamp + type ONLY (never the download URL)\n\nCOLLECTION (v0.3.0): code-signing (SecStaticCode), TCC + quarantine (SQLite), and SIP (IOKit NVRAM) run IN-PROCESS \u2014 no subprocess. FileVault / Gatekeeper / firewall / extensions / login items / profiles remain declared subprocess probes that degrade gracefully when the sandbox denies them.\n\nEmits verdicts, counts, paths and bundle-ids only \u2014 no file contents, no secrets, no download URLs, no message/mail data.",
  "author": {
    "name": "MacCrab",
    "url": "https://maccrab.com"
  },
  "approved_at_commit": "0000000000000000000000000000000000000000",
  "approved_at_tag": "v0.1.0",
  "approved_by_review": [
    "maccrab-rave"
  ],
  "approved_at": "2026-06-17",
  "trust_tier": "first-party",
  "channel": "official",
  "runtime": "tierB",
  "signer_identity": "maccrab-rave:first-party",
  "signer_public_key_sha256": "07e39eb12c15b8052f5249134ea3337a0789ebc799d1c58d097aaa548a8aaae3",
  "current_version": "0.3.1",
  "release_url_template": "https://rave.maccrab.com/releases/{tag}/{file}",
  "manifest_path": "manifest.json",
  "kind": "collector",
  "privacy_class": "metadata",
  "requires_encrypted_scan": false,
  "tcc_requirements": [
    "kTCCServiceSystemPolicyAllFiles"
  ],
  "data_sources": [
    "SIP / FileVault / Gatekeeper / firewall state (system tools)",
    "XProtect bundle Info.plist",
    "LaunchDaemons / LaunchAgents plists + codesign verdicts",
    "TCC.db (non-Apple client ids + services only)",
    "System extensions (systemextensionsctl) + third-party kernel extensions (kmutil)",
    "Login / background items \u2014 Background Task Management (sfltool dumpbtm)",
    "Configuration profiles (profiles)",
    "Download-quarantine events \u2014 agent + timestamp + type only, never URLs (LSQuarantine)"
  ],
  "emits": [
    "posture.report",
    "posture.factor",
    "posture.persistence_item",
    "posture.tcc_grant",
    "posture.quarantine_event",
    "posture.login_item",
    "posture.extension",
    "posture.config_profile"
  ],
  "sample_output": [
    {
      "content_type": "posture.report",
      "caption": "The Overview grade card \u2014 a derived headline with the letter grade, score, per-category rollup and flagged count.",
      "example": "{\"kind\":\"artifact\",\"artifact\":{\"contentType\":\"posture.report\",\"summary\":\"Security posture: grade B (82/100) \u2014 2 item(s) flagged\",\"privacyClass\":\"metadata\",\"confidence\":\"derived\",\"data\":{\"schemaVersion\":2,\"generatedAt\":\"2026-07-01T00:00:00Z\",\"score\":82,\"grade\":\"B\",\"flaggedCount\":2,\"categoryCounts\":{\"persistence\":10,\"tcc\":0,\"quarantine\":171,\"login_items\":0,\"extensions\":29,\"config_profiles\":0}}}}"
    },
    {
      "content_type": "posture.factor",
      "caption": "A scored control verdict \u2014 the persistence integrity factor.",
      "example": "{\"kind\":\"artifact\",\"artifact\":{\"contentType\":\"posture.factor\",\"summary\":\"Launchd persistence integrity: fail\",\"privacyClass\":\"metadata\",\"confidence\":\"observed\",\"data\":{\"key\":\"persistence\",\"title\":\"Launchd persistence integrity\",\"status\":\"fail\",\"weight\":12,\"detail\":\"Scanned 10 launchd item(s); 1 unsigned / ad-hoc / script / unverifiable.\",\"remediation\":\"Investigate the flagged launchd entries \u2014 unsigned persistence is a common malware foothold.\",\"evidence\":[\"system-daemon: /Library/Application Support/Sketchy/helper [unsigned]\"]}}}"
    },
    {
      "content_type": "posture.persistence_item",
      "caption": "One inventory record \u2014 a launchd item whose helper could not be verified. Every item is enumerated, signed or not.",
      "example": "{\"kind\":\"artifact\",\"artifact\":{\"contentType\":\"posture.persistence_item\",\"summary\":\"system-daemon: /Library/PrivilegedHelperTools/com.docker.socket [unknown]\",\"privacyClass\":\"metadata\",\"confidence\":\"observed\",\"data\":{\"domain\":\"system-daemon\",\"label\":\"com.docker.socket\",\"program\":\"/Library/PrivilegedHelperTools/com.docker.socket\",\"signing\":\"unknown\",\"flagged\":true}}}"
    },
    {
      "content_type": "posture.extension",
      "caption": "One inventory record \u2014 an active Endpoint Security system extension (attack surface a clean grade would hide).",
      "example": "{\"kind\":\"artifact\",\"artifact\":{\"contentType\":\"posture.extension\",\"summary\":\"system/endpoint_security: Vendor Endpoint Security Extension [active]\",\"privacyClass\":\"metadata\",\"confidence\":\"observed\",\"data\":{\"class\":\"system\",\"category\":\"endpoint_security\",\"identifier\":\"com.vendor.agent\",\"name\":\"Vendor Endpoint Security Extension\",\"teamID\":\"AB12CD34EF\",\"version\":\"1.4.2\",\"enabled\":true,\"active\":true,\"appleSigned\":false}}}"
    },
    {
      "content_type": "posture.quarantine_event",
      "caption": "One inventory record \u2014 a download-quarantine event. Agent + timestamp + type only; the download URL is deliberately never carried.",
      "example": "{\"kind\":\"artifact\",\"artifact\":{\"contentType\":\"posture.quarantine_event\",\"summary\":\"Google Chrome \u2014 2026-06-28T18:50:20Z\",\"privacyClass\":\"metadata\",\"confidence\":\"observed\",\"data\":{\"timestamp\":\"2026-06-28T18:50:20Z\",\"timestampUnix\":1782672620,\"agent\":\"Google Chrome\",\"typeNumber\":0}}}"
    }
  ],
  "versions": {
    "0.1.0": {
      "tag": "v0.1.0",
      "source_commit": "0000000000000000000000000000000000000000",
      "artifact_sha256": "3a9e964854a076387a3213b1ef12fe4553793f11f35412163dc0a4c2dc9f65c9",
      "canonical_tree_sha256": "0241baddf7b52997d5b5db96d8cb21de613b4457188876add28a8b32064dfded",
      "manifest_sha256": "98aaae00dd6ceb70f9c46f7c5ebb503c6de0cfed92c1edae0523fdafad036eda",
      "signature_sha256": "6ed6fb14a053a8993a4bfa2c44fa94e05b6ad4297a169ab1e0eed894c3bd3d5e",
      "reproducibility": "verified",
      "vetting": {
        "automated_passes": [],
        "vetting_policy_commit": "policy@pre-release",
        "vetted_at": "2026-06-17T00:00:00Z"
      }
    },
    "0.2.0": {
      "tag": "v0.2.0",
      "source_commit": "0000000000000000000000000000000000000000",
      "artifact_sha256": "31395fdfa8c4657989883b8075a7211a457d2cbbe19cce11ec44ba85ad7291a8",
      "canonical_tree_sha256": "6c5a40ce8f7394f144ccc739ba1fcf406282e606786e07a0dd77460e87221fe4",
      "manifest_sha256": "3f5aa51d52d2405b4560f99dea75d081df028e9a86b3caa457dc500704152236",
      "signature_sha256": "1a063ba47f60d6fc0f77ec6f6ebf6aed506ef92fd376bb522b13b97ecaab7c4a",
      "reproducibility": "verified",
      "vetting": {
        "automated_passes": [
          "manifest-schema-v1",
          "ed25519-signature-verified",
          "publisher-key-not-revoked",
          "reproducible-build-verified"
        ],
        "vetting_policy_commit": "policy@pre-release",
        "vetted_at": "2026-07-01T01:04:05Z"
      }
    },
    "0.3.0": {
      "tag": "v0.3.0",
      "source_commit": "0000000000000000000000000000000000000000",
      "artifact_sha256": "d666d31396395c01930604bc38fa2fbfa9a6711baae8ad0ad635a4d82ddcd670",
      "canonical_tree_sha256": "50e65e0880c46bae0c6d62fc08247bacfef852de391d923cc009033675ba9aaa",
      "manifest_sha256": "3dbe0ee3f00966b1cabbb4e2868fc86f4b4ea91747222b82622ca08eda1455d7",
      "signature_sha256": "ab8a3722ce6b52e3f2b375e22200b1dd61a2f3b241cab8a2e13d3805c47bef2a",
      "reproducibility": "verified",
      "vetting": {
        "automated_passes": [
          "manifest-schema-v1",
          "ed25519-signature-verified",
          "publisher-key-not-revoked",
          "reproducible-build-verified"
        ],
        "vetting_policy_commit": "policy@pre-release",
        "vetted_at": "2026-07-01T23:29:58Z"
      }
    },
    "0.3.1": {
      "tag": "v0.3.1",
      "source_commit": "1bc7465405da309a0d262794415e874c869cdf29",
      "artifact_sha256": "625659eae34210deab30becb0c28d692a4b89189f0aaaca80f85dd3589d3c1bd",
      "canonical_tree_sha256": "99164530a523f6e097f7f4bff5a376742b67390f0cf798fb9acee96c13d8214d",
      "manifest_sha256": "1dd0f4d686c1f4476601f62ec7f9c2e470c243495bcd8079cbc5558ce2b80e54",
      "signature_sha256": "359d5ae25abbf652c566aaf3e5b7c4515369950992b676305c4f2e078bf96617",
      "reproducibility": "not_applicable",
      "vetting": {
        "automated_passes": [
          "manifest-schema-v1",
          "reproducible-build-verified",
          "developer-id-signed",
          "ed25519-signature-verified",
          "publisher-key-pin-matched",
          "publisher-key-not-revoked"
        ],
        "vetting_policy_commit": "policy@4b5000ae690ae7a18161b2e2d448a9e095b43abc",
        "vetted_at": "2026-07-26T02:55:23Z"
      }
    }
  },
  "metadata": {
    "category": "system",
    "tags": [
      "posture",
      "collector",
      "inventory",
      "hardening",
      "persistence",
      "extensions",
      "login-items"
    ],
    "min_maccrab_version": "1.19.0",
    "min_macos": "13.0"
  },
  "status": "active"
}
