sc-diff-report

Scan git diff files for new and existing security issues.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/kocakburhan/emlakdefter --skill sc-diff-report-kocakburhan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-diff-report
Source: https://github.com/kocakburhan/emlakdefter/tree/main/.agents/skills/security-check/skills/sc-diff-report
Command: npx skills add https://github.com/kocakburhan/emlakdefter --skill sc-diff-report-kocakburhan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Incremental security scanning focuses on files changed in a git diff, pull request, or recent commit, enabling fast, targeted security feedback during code review and reducing noise from unchanged code.

Core Features & Use Cases

  • Change-based detection: identifies added, modified, renamed, and deleted files from diffs.
  • Targeted vulnerability findings: classifies findings as "new" (introduced by changes) vs "existing" (present in touched files).
  • Output: generates a detailed Security Diff Report at a configurable path, summarizing findings and hunks.
  • Focused scanning: filters out non-security-relevant changes and supports PR mode, staged changes, or last-commit scans.

Quick Start

Run the diff-based scan on the changed files to generate the security report for the current branch.

Frequently Asked Questions about sc-diff-report

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a security scan on only the changed files in a git diff?

To run an incremental security scan on changed files, execute a diff-based scan targeting the git diff between branches or commits. This identifies added, modified, renamed, and deleted files, filtering out non-security-relevant changes to generate a focused Security Diff Report.

Can I scan staged changes or the most recent commit for vulnerabilities?

Yes, you can scan staged changes or the most recent commit for vulnerabilities. The scan supports PR mode, staged changes, and last-commit scans, classifying findings as new or existing to prioritize remediation for the touched files.

What is incremental vulnerability scanning and how does it reduce noise?

Incremental vulnerability scanning targets only the files present in a git diff, pull request, or recent commit. By focusing solely on touched files and filtering out unchanged code, it significantly reduces noise and provides fast, targeted security feedback during code review.

Does this diff scan classify existing security issues versus newly introduced ones?

Yes, the diff scan classifies targeted vulnerability findings as either new, meaning introduced by the recent changes, or existing, meaning they were already present in the touched files. This classification helps prioritize remediation efforts effectively.

How do I generate a security diff report for a pull request?

You generate a security diff report for a pull request by running the scan in PR mode. It analyzes the changed files, performs targeted vulnerability scanning, and outputs a detailed Security Diff Report at a configurable path summarizing findings and hunks.

What is the best way to get fast security feedback during code review without scanning the whole repository?

The best way to get fast security feedback during code review is using incremental security scans. By scanning only the files in the diff between branches or commits and filtering non-security-relevant changes, it delivers quick verification tailored specifically to touched files.