Appearance
Why It Matters
Shared Claude command hooks run automatically. Secret-bearing network sends in those hooks can leak credentials without any additional user review.
What Triggers
SEC677 matches committed Claude settings command hooks that combine secret markers with a network-capable command path.
False Positives
If a hook needs authenticated access, keep the secret inside the target tool or server rather than placing the secret send directly in the shared hook command.
Remediation
Remove the secret-bearing network send from the committed Claude hook and keep secret handling local to the trusted component.