razor25000/cybersecurityskills/detecting-supply-chain-attacks-in-ci-cd

Claude Code and agent skill by razor25000/cybersecurityskills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

'Scans GitHub Actions workflows and CI/CD pipeline configurations for

Install

npx vskill@latest install razor25000/cybersecurityskills/detecting-supply-chain-attacks-in-ci-cd

SKILL.md

The same SKILL.md was published earlier as razor25000/cybersecurityskills/detecting-supply-chain-attacks-in-ci-cd.

Detecting Supply Chain Attacks in CI/CD

When to Use

  • When a SIEM alert fires and you need a structured triage procedure to avoid false positive fatigue
  • When building new detection content and need reference queries for this technique
  • When security operations need to reduce mean-time-to-detect (MTTD) on a specific attack pattern
  • When a new log source is onboarded and needs baseline correlation rules
  • When reviewing SOC metrics and identifying detection gaps by ATT&CK tactic coverage
  • When a purple team exercise reveals detection blind spots that require new rule development

Prerequisites

  • Familiarity with security operations concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

Scan CI/CD workflow files for supply chain risks by parsing GitHub Actions YAML, checking for unpinned dependencies, script injection vectors, and secrets exposure.

python
import yaml
from pathlib import Path
for wf in Path(".github/workflows").glob("*.yml"):
with open(wf) as f:
workflow = yaml.safe_load(f)
for job_name, job in workflow.get("jobs", {}).items():
for step in job.get("steps", []):
uses = step.get("uses", "")
if uses and "@" in uses and not uses.split("@")[1].startswith("sha"):
print(f"Unpinned action: {uses} in {wf.name}")

Key supply chain risks:

  1. Unpinned GitHub Actions (using @main instead of SHA)
  2. Script injection via ${{ github.event }} expressions
  3. Overly permissive GITHUB_TOKEN permissions
  4. Third-party actions with write access to repo
  5. Dependency confusion via public/private package name collision

Examples

python
# Check for script injection in run steps
for step in job.get("steps", []):
run_cmd = step.get("run", "")
if "${{" in run_cmd and "github.event" in run_cmd:
print(f"Script injection risk: {run_cmd[:80]}")

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository forks
1
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/razor25000/cybersecurityskills/detecting-supply-chain-attacks-in-ci-cd/badge)](https://verified-skill.com/skills/razor25000/cybersecurityskills/detecting-supply-chain-attacks-in-ci-cd)

Something wrong with this skill or its page? Tell us.