mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 04:32:32 +00:00
2900b35256
V2 PPKG scanner that runs once at DeviceSetup-phase start and reports raw facts only — .ppkg file presence, Provisioning\Packages registry metadata, Recovery\Customizations residue, and best-effort per-package content indicators. PPKGs can come from legitimate bulk enrollment or be a pre/in-enrollment manipulation vector; intent is judged by backend analyze-rules, not the agent. - ProvisioningPackageCollector + ProvisioningPackageHost, wired as a kernel host in DefaultComponentFactory (one-shot at DeviceSetup start, not at agent start). - Events: provisioning_package_scan (aggregate) + provisioning_package_detected (one scalar event per artifact so analyze rules can match per package). - Analyze rules ANALYZE-SEC-005/006 incl. a per-tenant allow-list template. - Event-type catalogs kept in sync (Constants.EventTypes, MCP resource-catalog, rule-builder eventTypes). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>