
Sh kb ci cd
Knowledge base for hunting CI/CD and supply-chain weaknesses in a repository
Sh kb ci cd is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 44
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Sh kb ci cd
This skill gives an agent a structured reference for auditing build and delivery pipelines. It covers GitHub Actions, GitLab CI, CircleCI, Jenkins, Dockerfiles and release scripts, and lists the patterns that make them risky, such as untrusted event data reaching a privileged context, unpinned actions and images, broad token permissions, and downloads run without integrity checks.
The guide walks the agent through a detection routine: list the pipeline files and their triggers, work out which runs for outside contributors, check what secrets and token scopes each privileged job holds, then trace what untrusted data reaches the commands that execute. It includes grep targets for common injection and pinning problems, a set of false-positive filters, severity guidance, and mapping to CWE and OWASP categories.
The skill is instructional only and ships a single Markdown file with no scripts. It expects the agent to read the repository's own workflow and build files with its normal file tools. Mitigation advice and illustrative proof-of-concept templates are included for authorized review.
When your agent uses it
Knowledge base for finding CI/CD and supply-chain weaknesses visible in a repository - GitHub Actions pull_request_target and workflow_run misuse, script injection from event data, unpinned actions and images, over-broad token permissions, secret exposure, self-hosted runners, cache and artifact poisoning, dependency confusion, curl-pipe-sh and unverified downloads, unprovenanced releases, and the same in GitLab CI, CircleCI, Jenkins and Dockerfiles. Use when hunting pipeline or build-chain risk. CWE-829, CWE-494, CWE-1395, CWE-77, OWASP A08:2021-Software and Data Integrity Failures.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (13 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the indra plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indraOr copy only this skill to ~/.claude/skills/sh-kb-ci-cd:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-kb-ci-cd &&
cp -R "$tmp/plugins/indra/skills/sh-kb-ci-cd" ~/.claude/skills/sh-kb-ci-cd &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/sh-kb-ci-cd inside it instead.
Copy the skill folder to ~/.agents/skills/sh-kb-ci-cd to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-kb-ci-cd &&
cp -R "$tmp/plugins/indra/skills/sh-kb-ci-cd" ~/.agents/skills/sh-kb-ci-cd &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/sh-kb-ci-cd inside it instead.
Copy the skill folder to ~/.cursor/skills/sh-kb-ci-cd to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-kb-ci-cd &&
cp -R "$tmp/plugins/indra/skills/sh-kb-ci-cd" ~/.cursor/skills/sh-kb-ci-cd &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/sh-kb-ci-cd inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-kb-ci-cdOr copy the folder to ~/.gemini/skills/sh-kb-ci-cd yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/sh-kb-ci-cd:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-kb-ci-cd &&
cp -R "$tmp/plugins/indra/skills/sh-kb-ci-cd" ~/.copilot/skills/sh-kb-ci-cd &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/sh-kb-ci-cd inside it instead.
Get the folder:
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.gitThen copy indra/plugins/indra/skills/sh-kb-ci-cd into your agent's skills folder as sh-kb-ci-cd. Agents that support SKILL.md read one folder per skill.
What it does
- Pipeline trigger analysis
- Identifies workflows that run for outside contributors and checks what secrets and token scopes they can reach.
- Script injection patterns
- Lists event fields and expressions that can be interpolated into shell steps and the safer environment-variable form.
- Unpinned dependency checks
- Flags actions, images, orbs and remote includes that use mutable tags instead of full commit SHAs or digests.
- Build integrity review
- Covers lockfile use, registry scoping, dependency confusion, and download-and-execute install steps.
- Release and artifact trust
- Reviews publish jobs for environment protection, provenance signing, and untrusted artifact or cache reuse.
- Severity and CWE mapping
- Provides severity levels and CWE and OWASP references to classify each finding.
Good for
- Audit my GitHub Actions workflows for pull_request_target misuse
- Check whether my CI pipeline pins third-party actions to commit SHAs
- Find script injection risks from issue titles or PR bodies in my workflows
- Review my Dockerfiles for secrets copied into images or unpinned base images
- Assess whether my release job publishes without approval or provenance
Sh kb ci cd FAQ
What does Sh kb ci cd need to run?
It is a single Markdown knowledge base with no scripts and no tools specified, so it relies on the agent reading the repository's pipeline and build files.
Does Sh kb ci cd change any files in my repository?
No. It is written as a hunting and review guide. Its proof-of-concept templates are described as illustrative and meant for authorized review only.
Which CI systems does Sh kb ci cd cover?
GitHub Actions, GitLab CI, CircleCI, Jenkins, Azure Pipelines, Bitbucket Pipelines, Dockerfiles, and related release scripts and dependency config.
When does Sh kb ci cd trigger?
It is meant for hunting pipeline or build-chain risk, and its description tells the agent to use it when that task comes up.
How do I install Sh kb ci cd in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/sh-kb-ci-cd to use it in all your projects, or to .claude/skills/sh-kb-ci-cd in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.
Does Sh kb ci cd run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Sh kb ci cd?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Sh kb ci cd?
The closest alternatives to Sh kb ci cd are Gha security review, Ci cd, Supply chain audit, GitHub actions hardening and Security review.
Where this comes from
- Description: from the skill's own SKILL.md.
More from dmdhrumilmistry/indra

Lets an agent triage SIEM alerts and logs, sweep indicators and build evidenced timelines
- Open source
- 44 GitHub stars
- Security

Gives a security review agent persistent Markdown memory of past findings and learnings
- Open source
- 44 GitHub stars
- Knowledge and memory

Security-reviews a GitHub pull request and reports findings as inline comments
- Open source
- 44 GitHub stars
- Developer tools

Publishes security review findings as de-duplicated Jira, GitHub, Confluence or Notion
- Open source
- 44 GitHub stars
- Knowledge and memory

Plans and runs approved purple-team tests to check whether SIEM detections fire
- Open source
- 44 GitHub stars
- Security

Re-checks one earlier security finding against current code or recorded traffic
- Open source
- 44 GitHub stars
- Security





