Appearance
Why It Matters
Launchd registration creates persistent macOS execution outside the repository lifecycle.
What Triggers
SEC651 matches executable hook lines that run launchctl load or launchctl bootstrap, or write plist files into LaunchAgents or LaunchDaemons locations.
False Positives
Machine bootstrap flows can manage launchd intentionally, but shared hooks should not silently install host persistence.
Remediation
Remove launchd registration from the hook and move plist setup into a separate reviewed admin process.