# ci-cd-security-gate-and-sarif-tooling

ci-cd-security-gate-and-sarif-tooling is a Claude Code skill for building CI/CD security gates that block PRs over new findings on changed lines. It also covers baselines and expiring waivers.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 73 repo stars
- Author: W4L33Dx
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/security-automation-and-tool-development/ci-cd-security-gate-and-sarif-tooling/SKILL.md
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/ci-cd-security-gate-and-sarif-tooling

## What it does

The skill describes a policy engine for scanner results in SARIF 2.1.0. It matches findings to changed lines and blocks a PR when a new result meets the configured severity. Fingerprints help identify the same finding across runs, while normalized scanner results feed shared PR review annotations.

A stored baseline separates existing issues from new ones. Waivers need an expiry date; expired or rejected waivers do not suppress a finding. The documented engine uses Python, with SARIF produced by Semgrep CE or CodeQL CLI. Check the script syntax with `python -m py_compile sarif_gate.py`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill ci-cd-security-gate-and-sarif-tooling -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/ci-cd-security-gate-and-sarif-tooling/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/ci-cd-security-gate-and-sarif-tooling/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill ci-cd-security-gate-and-sarif-tooling -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/ci-cd-security-gate-and-sarif-tooling/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill ci-cd-security-gate-and-sarif-tooling -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/ci-cd-security-gate-and-sarif-tooling/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install W4L33Dx/Cyber-Monster blue-team/security-automation-and-tool-development/ci-cd-security-gate-and-sarif-tooling
```

2. **Manually: put the files in place**
- File: `.github/skills/ci-cd-security-gate-and-sarif-tooling/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill ci-cd-security-gate-and-sarif-tooling -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path blue-team/security-automation-and-tool-development/ci-cd-security-gate-and-sarif-tooling
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/ci-cd-security-gate-and-sarif-tooling/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/security-automation-and-tool-development/ci-cd-security-gate-and-sarif-tooling/SKILL.md

## When to use it
- block PRs only for new findings on changed lines
- compare scanner results against a stored SARIF baseline
- combine SAST, SCA, and secret-scanner findings in PR annotations
- reject waivers whose expiry date has passed

## Example prompts
- Build a CI/CD gate that blocks PRs for new findings on changed lines.
- Compare SARIF results with the baseline and add PR review annotations.
- Add expiry checks for waivers on scanner findings.

## Similar
- [sarif-parsing](https://affpapa.org/en/nevibecode/skills/sarif-parsing.md) — skill · 6700 installs
- [audit-augmentation](https://affpapa.org/en/nevibecode/skills/audit-augmentation.md) — skill · 4500 installs
- [sast-scanning](https://affpapa.org/en/nevibecode/skills/sast-scanning.md) — skill · 415 installs
- [codeql](https://affpapa.org/en/nevibecode/skills/codeql.md) — skill · 2000 installs
- [sast-configuration](https://affpapa.org/en/nevibecode/skills/sast-configuration.md) — skill · 10800 installs
- [security-testing](https://affpapa.org/en/nevibecode/skills/security-testing.md) — skill · 1500 installs

From the same set: [w4l33dx/cyber-monster](https://affpapa.org/en/nevibecode/by/w4l33dx/cyber-monster.md) — 61 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
