Secure pipeline

From RedHatProductSecurity/prodsec-skills · View interactive version

Secure pipeline is an AI agent skill from the GitHub repository RedHatProductSecurity/prodsec-skills. Enforce SAST and SCA in CI/CD pipelines for AI software. Use when building, configuring, or reviewing CI/CD pipelines for MCP servers, inference engines, or any AI system components.

How to use this skill

Skill file

Secure CI/CD Pipeline

Security Requirement

CI/CD pipelines for AI software MUST implement security scanning to catch vulnerabilities before they reach production.

Required Scanning Types

SAST (Static Application Security Testing)

Analyze source code for security vulnerabilities without executing it:

| What SAST Catches | Examples |

|---|---|

| Injection vulnerabilities | SQL injection, command injection, XSS |

| Hardcoded secrets | API keys, passwords in source code |

| Insecure configurations | Weak crypto, disabled TLS verification |

| Code quality issues | Buffer overflows, null dereferences |

SCA (Software Composition Analysis)

Analyze third-party dependencies for known vulnerabilities:

| What SCA Catches | Examples |

|---|---|

| Known CVEs | Vulnerabilities in libraries and frameworks |

| License compliance | Incompatible or problematic licenses |

| Outdated dependencies | Libraries with available security patches |

| Transitive vulnerabilities | Vulnerabilities in dependencies of dependencies |

Pipeline Integration

Source code commit
  → SAST scan (analyze source code)
  → SCA scan (analyze dependencies)
  → Unit tests
  → Build artifacts
  → Container image scan
  → Sign artifacts
  → Generate SBOM
  → Deploy (if all checks pass)

Implementation Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.