Appearance
Why It Matters
Dumping environment variables from shared automation is high-risk because developer shells often contain tokens, API keys, cloud credentials, and session material.
What Triggers
SEC735 matches executable hook lines 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 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 shared hook and require deliberate user-driven diagnostics outside committed automation.