P0 Hmac Compare Eq banner
mahmood726-cyber mahmood726-cyber

P0 Hmac Compare Eq

Design community

Description

<!-- sentinel:skip-file — auto-generated rule descriptor; docstring may demonstrate the bad pattern by design --> --- name: P0-hmac-compare-eq description: 'P0-hmac-compare-eq: BLOCK on `==` / `!=` comparison of HMAC / digest / signature values where `hmac.compare_digest` should be used.' trigger: commit severity: BLOCK scope: repo source: 'lessons.md#cryptography--signing-learned-2026-04-14 (Constant-time comparison: always hmac.compare_digest, never ==)' --- P0-hmac-compare-eq: BLOCK on `==`

Installation

Installs to ~/.claude/skills/mahmood726-cyber-sentinel-p0-hmac-compare-eq/SKILL.md

Terminal
mkdir -p ~/.claude/skills/mahmood726-cyber-sentinel-p0-hmac-compare-eq && curl -fsSL https://raw.githubusercontent.com/mahmood726-cyber/Sentinel/HEAD/skills/P0-hmac-compare-eq.md -o ~/.claude/skills/mahmood726-cyber-sentinel-p0-hmac-compare-eq/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository