- Home
- Skills
- DevOps & Cloud
- Deterministic CI/CD Supply-Chain Guard
More screenshots
Works with the AI Agents you already use
Deterministic CI/CD Supply-Chain Guard
by Rajeev Nath
Replaces vibe-coding with a local AST engine. Forces coding agents to mathematically prove they fixed mutable tags, RCEs, and excessive permissions in GitHub Actions without hallucinating.
Free
Deterministic CI/CD Supply-Chain Guard
Example session with this skill installed
Read SKILL.md. Audit all workflows in .github/workflows/ using the pipeline. Fix any vulnerable files, and explicitly skip any files that return 0 vulnerabilities.
- Read your context and instructions
- Compiled the deterministic ci cd
Summary
All workflows audited and remediated using the deterministic AST engine.
| Workflow | Status |
|---|---|
secure_build.yml | ⏭️ Skipped (0 vulns detected by engine) |
issue_ops.yml | ✅ Fixed (3 vulns remediated) |
Engine Output (Before):
{
"target_file": ".github/workflows/issue_ops.yml",
"total_vulnerabilities": 3,
"findings": [
{"type": "Excessive Permissions", "severity": "CRITICAL"},
{"type": "Mutable Supply Chain Tag", "severity": "HIGH"},
{"type": "Remote Code Execution (Injection)", "severity": "CRITICAL"}
]
}
Remediation Steps Applied:
- Permissions: Replaced
permissions: write-allwithpermissions: {contents: read, issues: write}. - Action Pinning: Queried GitHub API and pinned
actions/checkout@mainto immutable SHAf548e57.... - RCE Prevention: Moved
${{ github.event.issue.body }}toenv.ISSUE_BODYand referenced it safely.
Verification:
cicd_auditor.py now returns total_vulnerabilities: 0 for all files.
Next steps
- Review the pinned commit SHAs in the modified workflow files.
- Commit the hardened workflows to your repository.
Connects securely to your tools. The creator never sees your data.
About this skill
Autonomous coding agents are notoriously bad at writing secure GitHub Actions. They hallucinate commit SHAs, leave ${{ github.* }} contexts vulnerable to shell injection, and overlook global permissions.
Designed for enterprise environments by an independent vulnerability analyst, this skill replaces generic prompt engineering with a deterministic, local AST parsing engine.
What you get
cicd_auditor.py: A zero-knowledge, local Python engine that parses YAML directly to detect mutable tags, RCE injections, and excessive permissions.
SKILL.md: The rigid behavioral membrane that locks your agent out of manual review and forces it to consume the engine's JSON output.
Why this is different
Zero Token Bloat (The Membrane): The local AST engine dissipates all safe boilerplate and only passes high-potential vulnerability vectors to the agent as a tiny, structured JSON payload.
Invariant Verification Loop: The agent is physically trapped in the execution loop until the Python engine returns total_vulnerabilities: 0. It cannot hallucinate a fake commit SHA; if it doesn't fetch the real one, the engine will reject the YAML.
Enterprise-Grade Focus: Operationalizes highly specific, modern attack vectors found in massive open-source pipelines (like untrusted context injections and unpinned @v4 actions).
Requires Python 3 for the internal auditor script. Limited to GitHub Actions workflows. External network access needed to resolve real commit SHAs via git ls-remote.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 16 days ago
- Free with an Agensi account
- Software
Python 3.8+PyYAML
Ensure Python 3 and the PyYAML package (pip install pyyaml) are installed on the host machine before running your agent.
Permissions
Network access is strictly used by the agent to query the public GitHub API for immutable release commit SHAs. The AST parsing engine (cicd_auditor.py) runs 100% locally; your workflow files never leave your machine.
What's inside
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.