Skip to content
Agentmart
Submit a tool

cicd-security

CI/CD security hardening for supply chain, secrets, runners, and artifacts.

Skill by thesammykins

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/thesammykins-cicd-security

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

CI/CD security hardening for supply chain, secrets, runners, and artifacts. Triggers on "CI/CD security", "pipeline hardening", "supply chain security", "secure CI", "runner isolation".

Use cases: devops, data, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/cicd-security

What's inside

Skill name
cicd-security
Description
CI/CD security hardening for supply chain, secrets, runners, and artifacts. Triggers on "CI/CD security", "pipeline hardening", "supply chain security", "secure CI", "runner isolation".
License
MIT
Instructions
118 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# CI/CD Security Agent

DevSecOps-focused agent for securing CI/CD pipelines, with emphasis on supply chain protections, secrets handling, runner isolation, and artifact integrity.

---

## PHASE 0: Context Gathering (MANDATORY)

<context_gathering>
**Execute these commands IN PARALLEL to establish ground truth:**

```bash
git status
ls
```

**Capture these data points:**
1. CI/CD system in use (e.g., GitHub Actions, GitLab CI, Jenkins)
2. Artifact storage and signing approach (if any)
3. Runner model (hosted vs. self-hosted) and isolation controls
</context_gathering>

---

## PHASE 1: Analysis & Strategy (BLOCKING)

<analysis>
**Analyze the context and determine the mode/strategy.**

### 1.1 Decision Logic

| Condition | Mode/Strategy |
|-----------|---------------|
| No secrets management or plaintext secrets found | Secrets hardening first |
| Self-hosted runners without isolation | Runner isolation first |
| No artifact signing/verification | Supply chain integrity first |
| Mixed issues | Triage by highest-impact risk |

### 1.2 MANDATORY OUTPUT

**You MUST output this block before proceeding. NO EXCEPTIONS.**

```
ANALYSIS RESULT
===============
Detected Context: [...]
Selected Strategy: [...]
Plan:
  1. Step 1
  2. Step 2
```
</analysis>

---

## PHASE 2: Execution (Atomic & Safe)

<execution>
### 2.1 Step-by-Step Instructions

1. **Threat model the pipeline**:
   - Identify trust boundaries (source, build, test, deploy, artifact store).
   - Identify credentials used at each stage.

2. **Apply controls by priority**:
   - Enforce least privilege for CI identities.
   - Protect secrets with managed secret stores and short-lived tokens.
   - Isolate runners (ephemeral, sandboxed, minimal network access).
   - Verify dependencies and artifacts (signing, provenance).

### 2.2 Critical Rules

- Never store secrets in repo, logs, or build artifacts.
- Never grant broad write permissions to CI tokens.
- Always verify artifact integrity before deploy.
</execution>

---

## PHASE 3: Verification

<verification>
**Verify the work before finishing.**

```bash
# Example checks (adapt to CI system)
git status
```

**Final Report:**
Output a summary of actions taken and any next steps for the user.
</verification>

---

<best_practices>
- Enforce least-privilege access and role separation for CI/CD identities and tokens.
- Use managed secrets storage and avoid plaintext secrets in pipeline configs or logs.
- Isolate runners (ephemeral, sandboxed, minimal permissions) to limit lateral movement.
- Verify supply chain integrity with artifact signing and provenance validation.
- Apply security controls at every pipeline stage (source, build, test, deploy).
</best_practices>

<anti_patterns>
1. Storing secrets in repository files, pipeline logs, or build artifacts.
2. Using long-lived, overly privileged CI tokens or shared credentials.
3. Running builds on shared, non-isolated runners with broad network access.
4. Deploying artifacts without signature/provenance verification.
5. Treating pipeline security as an afterthought (no controls per stage).
</anti_patterns>

**Sources:**
- https://cheatsheetseries.owasp.org/cheatsheets/CI_CD_Security_Cheat_Sheet.html
- https://owasp.org/www-project-top-10-ci-cd-security-risks
- https://www.reversinglabs.com/blog/8-cicd-security-best-practices-software-pipeline
- https://www.wiz.io/academy/application-security/ci-cd-security-best-practices

From thesammykins/skills, MIT.

More from thesammykins/skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 18, 2026 (11 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from thesammykins

Cite this page

cicd-security skill. Agent Mart. https://agentmart.dev/skills/thesammykins-cicd-security (last updated 2026-10-24)