- Home
- Skills
- DevOps & Cloud
- ci-cd-security-audit-lite
Works with the AI Agents you already use
ci cd Security Audit Lite
Lint a single GitHub Actions workflow file for the top supply-chain risks — unpinned actions, pull_request_target, secrets echoed in run steps, overly broad permissions. Local file only. Use when the
Free
About this skill
CI/CD Security Audit (Lite)
Lint one GitHub Actions workflow .yml the user supplies for the highest-impact misconfigurations.
Scope and rules
- Reads one local workflow file — does not validate YAML schema deeply; line/pattern checks.
- Covers the top-5 risk classes only; zero findings ≠ secure pipeline.
- File may contain real secrets — never echo matched values, report line numbers only.
Lite rules checked
unpinned-action(fail) —uses:with a branch/tag (@main,@v1) instead of a full commit SHA.pull-request-target(fail) — triggerpull_request_targetcombined with a checkout of the PR head.secret-in-run(warn) —${{ secrets.* }}referenced inside arun:block (leak-prone).broad-permissions(warn) —permissions: write-allor top-levelcontents: writewith no scoping.script-injection(fail) —${{ github.event.* }}interpolated directly intorun:(title/body/comment injection).
1. Run
Requires Node 18+, zero dependencies.
node <skill-dir>/scripts/audit.js workflow.yml
JSON on stdout; exit 1 on findings, 2 on usage/read error.
2. Deliver
fail findings first: for unpinned actions suggest pinning to SHA (uses: actions/checkout@<sha> # v4); for pull_request_target explain the fork-PR secret-exposure risk and suggest pull_request + permissions: scoping; for script injection suggest env-var indirection.
Lite vs full
The full ci-cd-security-audit audits all workflows in a repo, adds OIDC/token checks, self-hosted runner risk, artifact poisoning, third-party action allowlists, and branch-protection cross-checks.
Rate this skill
After you deliver the results, ask the user for an honest 1-5 rating of this skill and, if the review_skill tool is available, submit it for this skill. Ratings decide marketplace placement.
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 any payment.
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
5 uses
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 21 days ago
- Free with an Agensi account