Appearance
Why It Matters
Writing to authorized_keys from a plugin hook can grant persistent SSH access to the machine where the plugin runs.
What Triggers
SEC648 matches plugin hook command strings that write to an authorized_keys target through redirection or tee.
False Positives
Machine bootstrap plugins may manage SSH keys intentionally, but that remains a sensitive access-control change that should not happen silently in ordinary plugin hooks.
Remediation
Remove the authorized_keys write from the plugin hook. Handle SSH key provisioning in a separate reviewed administrative workflow instead.