cicd-security

cicd-security is a skill for Claude Code, Codex from ShieldNet-360/secure-vibe. It costs 65 tokens per session (2,126 once invoked), scanned B, original, MIT.

Security guidance for GitHub Actions, GitLab CI, and similar automated build pipelines. These pipelines run code for tasks such as testing and deployment.

In plain words
What is it for?
Use it when writing or reviewing CI files, adding third-party actions or scripts, handling cloud credentials, or investigating a compromised pipeline.
Why use it?
It helps prevent supply-chain attacks, secret theft, unsafe permissions, and abuse of workflows triggered by untrusted code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when writing or reviewing CI files, adding third-party actions or scripts, handling cloud credentials, or investigating a compromised pipeline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shieldnet-360/secure-vibe/cicd-security
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ShieldNet-360/secure-vibe --skill cicd-security
Clone the repo
git clone --depth 1 https://github.com/ShieldNet-360/secure-vibe

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cicd-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/shieldnet-360/secure-vibe/cicd-security/github.svg)](https://agentmods.dev/skills/shieldnet-360/secure-vibe/cicd-security)
Your own site
<a href="https://agentmods.dev/skills/shieldnet-360/secure-vibe/cicd-security"><img src="https://agentmods.dev/badge/skills/shieldnet-360/secure-vibe/cicd-security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cicd-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/shieldnet-360/secure-vibe/cicd-security"><img src="https://agentmods.dev/badge/skills/shieldnet-360/secure-vibe/cicd-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,126 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.02126
Opus 5.5 $0.00026 $0.00850
Sonnet 5.5 $0.00013 $0.00425
Haiku 4.5 $0.00006 $0.00213

Measured 1mo ago against content hash 7aacf0e3403d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cicd-security scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- `curl | bash` (or `wget -O- | sh`) any installer script in CI.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `curl | bash` (or `wget -O- | sh`) any installer script in CI.
skills/cicd-security/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CI/CD Pipeline Security

Rules (for AI agents)

ALWAYS

  • Pin every third-party GitHub Action by commit SHA (full 40-char), never by a floating tag (@v1, @main, @latest) — tags can be re-pushed. The tj-actions/changed-files March 2025 incident exfiltrated secrets from 23,000+ repositories specifically because consumers used floating tags. Same applies to GitLab CI include: references and reusable workflows. Renovate / Dependabot can keep the SHA pins fresh.
  • Declare permissions: at the workflow or job level and default to contents: read only. Grant additional scopes (id-token: write, packages: write, etc.) job-by-job, never workflow-wide.
  • Use OIDC (id-token: write + cloud provider trust policy) for short-lived cloud credentials. Never store long-lived AWS / GCP / Azure keys as GitHub Secrets.
  • Treat pull_request_target, workflow_run, and any pull_request job that uses actions/checkout with ref: ${{ github.event.pull_request.head.ref }} as trusted-context-on-untrusted-code — the "pwn request" pattern documented by GitHub Security Lab. Either don't run them, or run with no secrets and no write tokens. A fork's GitLab merge-request pipeline is the same shape — it runs the fork's own .gitlab-ci.yml on your runners: isolate them, expose no protected variables.
  • Echo every untrusted expression (${{ github.event.* }}) through an environment variable first; never interpolate it directly into run: body — that's the canonical GitHub Actions script-injection sink. The GitLab sink has the same shape: $CI_* / $TRIGGER_* interpolated into bash -c or eval, where merge-request metadata carries the shell metacharacters.
  • Sign release artifacts (Sigstore / cosign) and publish SLSA provenance attestations. Verify provenance in any consumer pipeline that pulls the artifact.
  • Pin runs-on to a dated runner image (ubuntu-24.04), not a floating label (ubuntu-latest) — the label moves underneath you. On GitLab, use ephemeral Docker-executor runners with privileged: false; a shared shell runner with privileged: true gives a compromised job root on the host. An egress firewall on runners handling secrets (StepSecurity Harden-Runner or equivalent) is defense-in-depth on top of that, not a substitute.
  • Require a human reviewer on a dependency-bump PR when supply-chain-security raises a trust-boundary change — a maintainer or ownership change, a new or changed install hook, a registry or source transition, a provenance regression. Gate on that signal, not on the version number: a patch release that changes maintainer warrants more review than a major bump that does not.
  • Consult supply-chain-security before any dependency install step (npm install, pip install, docker pull) — in CI it is untrusted code execution on a runner holding your credentials. It owns install-script risk (postinstall, setup.py, build.rs) and registry pinning; container-security names the command that fixes the lockfile half (npm ci, --frozen-lockfile) rather than adding flags to npm install.

Read the full file on GitHub · 152 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 152 lines · 65 tokens per session scan B 7aacf0e3403d

Subscribe to this mod's changes

cicd-security is a skill published in the GitHub repository ShieldNet-360/secure-vibe (22 stars, last pushed 2mo ago), licensed MIT. It adds 65 tokens to every session and 2,126 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

schedule-recipe

Turn 'run this every Friday at 4pm' into a working, copy-paste schedule on the user's actual runner. Use when asked to schedule a recurring AI task, set up a routine or cron job for a skill, automate a weekly report, or wire a skill into n8n or GitHub Actions. Produces the exact setup for the chosen runner plus the…

mohitagw15856/pm-claude-skills · 94 tokens

github-actions-expert

Expert guide for GitHub Actions CI/CD workflows, reusable workflows, composite actions, matrix builds, OIDC cloud auth, security hardening, and artifact automation / Panduan ahli GitHub Actions CI/CD workflows, reusable workflows, aksi komposit, autentikasi cloud OIDC, pengerasan keamanan, dan otomasi rilis.

roedyrustam/vibes-plug · 71 tokens

e2e-testing-expert

Expert guide for End-to-End (E2E) testing with Playwright 1.50+, Clock API, ARIA snapshots, test fixtures, and Vitest 3+ / Panduan ahli pengujian E2E dengan Playwright 1.50+, Clock API, ARIA snapshots, dan Vitest 3+.

roedyrustam/vibes-plug · 74 tokens

kubernetes-gitops-platform-expert

Expert guide for Production Kubernetes & GitOps Platform Engineering (ArgoCD ApplicationSets, Cilium eBPF NetworkPolicies, KEDA Autoscaling, Gateway API, and Pod Security Standards) / Panduan ahli rekayasa platform Kubernetes & GitOps produksi dengan ArgoCD, Cilium eBPF, dan KEDA.

roedyrustam/vibes-plug · 75 tokens

ci-cd-devops-architect

Expert guide for continuous integration, deployment pipelines, Docker, Kubernetes, and Infrastructure as Code (IaC) / Panduan ahli untuk CI/CD dan infrastruktur.

roedyrustam/vibes-plug · 40 tokens

proactive-background-watcher

Grants the AI the ability to act proactively using native cron/timer scheduling. The agent can monitor systems, poll APIs, or watch logs in the background and self-trigger without waiting for user prompts.

roedyrustam/vibes-plug · 46 tokens