CTL-081 · human

Push Protection Without Silent Bypass

Turn on secret push protection and require a reviewed request for any bypass.

TechnicalEffort LowEffectiveness High

Push protection stops most secrets before they land. The weak point is the bypass button. Delegated bypass makes a security reviewer approve each one, so a deliberate leak needs a second person.

Track bypass requests per person. Most developers never need one. Someone who asks often, or asks for cloud keys, is worth a conversation. Rotate any secret that is approved for bypass as soon as the test that needed it is done.

Put it in place

  1. 01Enable secret scanning and push protection across all repositories.
  2. 02Turn on delegated bypass so bypass requests go to a security group.
  3. 03Add custom patterns for internal token formats.
  4. 04Auto-revoke cloud keys found in commits using provider partner programs.

Counters 2 techniques