Appearance
Why It Matters
Dumping environment variables from a committed Claude hook is high-risk because developer shells often contain tokens, API keys, cloud credentials, and session material.
What Triggers
SEC739 matches Claude settings command hooks that invoke explicit environment enumeration primitives such as printenv, env used as a dump, export -p, declare -xp, or compgen -v.
False Positives
Shared committed Claude hooks should not enumerate the developer environment. Legitimate diagnostics should be explicit, local-only, and initiated by the user.
Remediation
Remove environment dumping behavior from the committed Claude hook and require deliberate user-driven diagnostics outside shared automation.