security-pipeline

Verify code changes against CWE Top 25 and STRIDE threat models.

2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/daeha76/RianFriends --skill security-pipeline-daeha76
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-pipeline
Source: https://github.com/daeha76/RianFriends/tree/main/.claude/skills/security-pipeline
Command: npx skills add https://github.com/daeha76/RianFriends --skill security-pipeline-daeha76

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automatically verifies code changes against common security vulnerabilities (CWE Top 25) and threat modeling (STRIDE) before they are committed, preventing security flaws from entering the codebase.

Core Features & Use Cases

  • Automated Vulnerability Scanning: Detects and flags potential security issues like SQL injection, XSS, and hardcoded credentials.
  • Threat Modeling Integration: Analyzes code changes against STRIDE principles for a more comprehensive security review.
  • Use Case: When a developer attempts to commit code that modifies authentication or payment modules, this Skill will automatically scan the changes for critical vulnerabilities and block the commit if necessary, or warn the developer about high-risk issues.

Quick Start

Run the security pipeline to scan staged files for vulnerabilities before committing.

Frequently Asked Questions about security-pipeline

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

FAQPage Schema
How do I automate security checks for code in a CI/CD pipeline?

Automated security checks in a CI/CD pipeline verify code changes against CWE Top 25 vulnerabilities and STRIDE threat models. This process uses pattern matching and data flow tracking to identify security flaws before commits are finalized.

What does STRIDE threat modeling identify during code review?

STRIDE threat modeling during code review analyzes changes against threat principles to comprehensively detect security flaws. It categorizes risks like spoofing, tampering, and repudiation to provide targeted fixes for potential vulnerabilities.

Can I scan staged files for vulnerabilities before committing?

Yes, you can scan staged files for vulnerabilities before committing by applying this security pipeline to pre-commit hooks. It detects hardcoded credentials, SQL injection, and XSS, blocking or warning about high-risk code changes.

Does automated vulnerability scanning detect hardcoded credentials and XSS?

Automated vulnerability scanning detects hardcoded credentials, XSS, and SQL injection by applying context analysis to code changes. It flags these critical issues to prevent security flaws from entering the codebase.

What is the best way to block commits with CWE Top 25 vulnerabilities?

Blocking commits with CWE Top 25 vulnerabilities is best achieved by integrating automated security validation into pre-commit hooks. This continuously scans code changes, blocking commits or warning developers about identified security flaws.

When should I not use automated code security checks?

Automated code security checks have limitations if your changes require complex runtime analysis not covered by static pattern matching or data flow tracking. Consider supplementing automated checks with manual review for logic flaws outside CWE definitions.