ersinkoc/security-check/sc-ci-cd
Claude Code and agent skill by ersinkoc/security-check
- community
Checking that the SKILL.md file is still in the repository.
CI/CD pipeline security — GitHub Actions injection, secret exposure, untrusted actions, and artifact poisoning
Install
npx vskill@latest install ersinkoc/security-check/sc-ci-cdSKILL.md
The same SKILL.md was published earlier as ersinkoc/security-check/sc-ci-cd.
SC: CI/CD Pipeline Security
Purpose
Detects CI/CD pipeline security vulnerabilities with deep focus on GitHub Actions expression injection, pull_request_target misuse, untrusted third-party actions, secret exposure in logs, artifact poisoning, and pipeline privilege escalation. Also covers GitLab CI and general pipeline security patterns.
Activation
Called by sc-orchestrator during Phase 2 when CI/CD configuration files are detected.
Phase 1: Discovery
File Patterns
GitHub Actions Security Checks
1. Expression Injection (Critical):
Dangerous contexts: github.event.pull_request.title, github.event.pull_request.body, github.event.issue.title, github.event.issue.body, github.event.comment.body, github.event.review.body, github.event.head_commit.message, github.event.commits[*].message, github.head_ref
2. pull_request_target with Checkout:
3. Untrusted Actions:
4. Excessive GITHUB_TOKEN Permissions:
5. Secret Exposure:
GitLab CI Checks
include: remote:loading untrusted templates- Variable exposure in job logs
- Protected branch bypass via MR pipelines
- Runner registration token exposure
Severity Classification
- Critical: Expression injection in GitHub Actions, pull_request_target with PR checkout
- High: Secrets exfiltration, untrusted actions with write access, excessive GITHUB_TOKEN
- Medium: Unpinned third-party actions, missing permissions block
- Low: Minor configuration improvements, unused secrets
Output Format
Finding: CICD-{NNN}
- Title: CI/CD {vulnerability type}
- Severity: Critical | High | Medium | Low
- Confidence: 0-100
- File: file/path:line
- Vulnerability Type: CWE-829 (Inclusion of Functionality from Untrusted Control Sphere)
- Description: {What was found}
- Impact: Supply chain compromise, secret theft, code injection, unauthorized deployment.
- Remediation: {Specific fix — use env vars, pin actions, restrict permissions}
- References: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions
Common False Positives
- Trusted organization actions — first-party actions from the same org
- Read-only workflows — workflows that only read data, no write access
- Manual dispatch workflows — triggered only by maintainers
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sc-ci-cd/SKILL.md
Popularity
- Repository stars
- 46
- Repository forks
- 5
- 7-day trend score
- 19
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
[](https://verified-skill.com/skills/ersinkoc/security-check/sc-ci-cd)