Tooluck logoTooluck
SKILL.md

offensive-cicd-pipeline

Agent skill fromSnailSploit/Claude-Red

Comprehensive CI/CD pipeline exploitation methodology covering GitHub Actions injection vectors (expression injection via PR titles and issue bodies, workflow_run event abuse, GITHUB_TOKEN over-scoping, composite action supply chain compromise), Jenkins attack paths (Groovy sandbox escapes, script console remote code execution, Java remoting deserialization, credential store dumping, shared library injection), GitLab CI exploitation (YAML anchor injection, runner registration token abuse, CI variable extraction, protected branch bypass via merge request pipelines), and Azure DevOps pipeline agent compromise with service connection theft. Includes artifact poisoning techniques across all platforms, tooling guidance for gato and jenkins-attack-framework, and maps to MITRE ATT&CK T1195.002 (Supply Chain Compromise: Compromise Software Supply Chain). Covers enumeration of pipeline configurations, privilege escalation from contributor to code execution, lateral movement through pipeline tru

How to install offensive-cicd-pipeline

install offensive-cicd-pipeline
# install the Claude-Red pack with the skills CLI
npx skills add SnailSploit/Claude-Red

# or add only this skill to Claude Code: copy the folder

Skills/cicd/offensive-cicd-pipeline/

# into

~/.claude/skills/offensive-cicd-pipeline/ (all projects)

.claude/skills/offensive-cicd-pipeline/ (one project)

Skills/cicd/offensive-cicd-pipeline/SKILL.md

MITFull file
1# Offensive CI/CD Pipeline Exploitation
2
3CI/CD pipelines represent one of the highest-value targets in modern infrastructure. A compromised
4pipeline grants code execution in trusted contexts, access to deployment credentials, and the ability
5to inject malicious code into production artifacts. You exploit the implicit trust that organizations
6place in their build systems -- pipelines run code with elevated privileges, hold secrets for
7deployment, and operate with minimal monitoring compared to production systems.
8
9This skill covers exploitation across the four dominant CI/CD platforms. You enumerate pipeline
10configurations, identify injection points, escalate from contributor-level access to arbitrary code
11execution, and leverage pipeline trust to move laterally through environments.
12
13MITRE ATT&CK: T1195.002 (Supply Chain Compromise: Compromise Software Supply Chain)
14
15## Quick Workflow
16
171. Enumerate accessible repositories and their pipeline configurations (.github/workflows/, Jenkinsfile, .gitlab-ci.yml, azure-pipelines.yml).
182. Identify the trigger model -- which events execute pipelines, and which contexts carry attacker-controlled input.
193. Map token scopes and available secrets for each pipeline context.
204. Select the injection vector matching your access level (contributor, external PR, authenticated user).
215. Craft the payload for the target platform's expression language or script engine.
226. Execute and capture output -- secrets, tokens, or artifact modification.
23…

Excerpt shown under the repository's MIT license.

More skills in Claude-Red

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates