Appearance
Why It Matters
Registering systemd units makes repository-delivered automation persist across boots or logins.
What Triggers
SEC650 matches executable hook lines that run systemctl enable or systemctl link, or write unit files into systemd service paths such as /etc/systemd/system/ or user systemd directories.
False Positives
Provisioning scripts may do this intentionally, but it should not happen implicitly from a shared executable hook.
Remediation
Remove systemd registration from the hook and keep service installation in an explicit reviewed provisioning step.