hunt-cicd
Skill by elementalsouls
Hunt-cicd guides a security tester through finding vulnerabilities in CI/CD pipelines. It covers Jenkins, GitHub Actions, GitLab CI, Terraform state files and secrets exposed in logs and artifacts.
Install hunt-cicd
Built from the published package, never by AI.
git clone --depth 1 https://github.com/elementalsouls/Claude-BugHunter /tmp/Claude-BugHunter && mkdir -p ~/.claude/skills && cp -r /tmp/Claude-BugHunter/skills/hunt-cicd ~/.claude/skills/hunt-cicdRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/elementalsouls/Claude-BugHunter /tmp/Claude-BugHunter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Claude-BugHunter/skills/hunt-cicd ~/.gemini/antigravity-cli/skills/hunt-cicdAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
hunt-cicd is an agent skill, defined in a SKILL.md file, that describes how to find security weaknesses in CI/CD pipelines. It covers Jenkins script console access and the CVE-2024-23897 file read, GitHub Actions pull_request_target injection, self-hosted runner poisoning, OIDC trust-policy abuse, GitLab CI runner-token registration, Terraform state file leakage, and secrets exposed in run logs and artifacts. Each section includes shell commands, workflow examples and validation steps.
The skill includes a proof requirement that asks the assistant to confirm a finding before reporting it. For example, a login page on a Jenkins /script path does not count as an open console, and a tfstate file must be parsed before its contents count as exposed secrets. It is written for people testing public GitHub or GitLab organizations, exposed CI dashboards, or reachable build artifacts.
Written from the project's SKILL.md and checked against it.
What it can do
- Jenkins script console checksProbes /script endpoints and tests whether Groovy execution returns command output.
- CVE-2024-23897 checkDescribes the Jenkins CLI arbitrary file read and how it can escalate to RCE.
- GitHub Actions workflow reviewFinds pull_request_target and template injection patterns in public org workflows.
- Self-hosted runner and OIDC checksCovers runner poisoning and review of AWS IAM role trust policies for OIDC.
- GitLab CI reviewCovers runner registration tokens and review of .gitlab-ci.yml configuration.
- Terraform state checksCovers leaked tfstate files in public storage and how to parse them for secrets.
- Log and artifact secret searchGreps workflow run logs and artifacts for common credential patterns.
What you need
- GitHub CLI (gh) for repository and workflow queries
- curl for endpoint checks
- Java to run the Jenkins CLI jar
- AWS CLI for IAM role inspection
- Burp Collaborator or interactsh for blind checks
Try asking
- Check this Jenkins host for an exposed /script console and report what the response shows.
- Review this GitHub org's workflows for pull_request_target injection risks.
- Parse this tfstate file and tell me whether it contains real secrets.
Good to know
- Findings need proof, such as real command output or out-of-band callbacks, before reporting.
- Blind injection checks require an out-of-band service like Burp Collaborator or interactsh.
- CVE-2024-23897 applies to Jenkins 2.441 and earlier, and LTS 2.426.2 and earlier.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/hunt-cicd/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md18 KB
Alternatives to hunt-cicd
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
hunt-cicd: common questions
What CI/CD systems does hunt-cicd cover?
It covers Jenkins, GitHub Actions and GitLab CI. The description also names exposed TeamCity, Drone and Argo dashboards as targets.
Does hunt-cicd avoid false positives?
Yes, the skill includes a proof gate. It requires real command output or an out-of-band callback before a finding is claimed.
What is Pwnrequest in this skill?
The source uses Pwnrequest for a pull_request_target workflow that checks out the PR head and passes untrusted event data into a shell step.
How do I install hunt-cicd?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is hunt-cicd free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is hunt-cicd safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to hunt-cicd?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
