- Home
- Skills
- DevOps & Cloud
- CircleCI Config Security Audit
Works with the AI Agents you already use
CircleCI Config Security Audit
by CashonlyTian
audit a .circleci/config.yml before pushing — 10 checks, 100 points, grade A-F + risk level, shareable 1024x1024 score-card PNG + prioritised fix report.
$7
CircleCI Config Security Audit
Example session with this skill installed
Audit the .circleci/config.yml in my current directory. The project is called "auth-service" and I want the card to use #ff5733 as the accent color.
- Read your context and instructions
- Compiled the circleci config security
- Generated the document
I have completed the security audit for the
auth-service CircleCI configuration. The scan analyzed 10 critical risk areas including script injection, secret leakage, and insecure deployment practices.
Audit Results: auth-service
Score: 29/100
Grade: F
Risk Level: CRITICAL
The audit identified 25 findings, including high-severity issues that could lead to secret leakage or unauthorized production access.
Prioritized Fix Report
| Check | Score | Finding |
|---|---|---|
| Script Injection | 0/15 | $CIRCLE_PR_USERNAME is interpolated directly into a run command. This allows forked PRs to execute arbitrary code. |
| Secrets in Config | 5/15 | Hardcoded STRIPE_KEY: *** found in environment block of build job. |
| Deploy Gating | 0/10 | deploy-prod job runs on all branches and lacks an approval type job dependency. |
| Orb Pinning | 5/10 | circleci/node@2 is using a floating version. Use a full version tag like circleci/node@2.1.0. |
| Image Pinning | 10/10 | All images correctly pinned to specific digests or tags. |
| Cache Poisoning | 10/10 | Cache keys are properly scoped with checksums. |
| Artifact Exposure | 10/10 | No sensitive files detected in store_artifacts paths. |
| Remote Docker | 10/10 | setup_remote_docker uses a pinned version. |
| Job Resilience | 5/5 | No background steps detected; timeouts are within limits. |
| Workflow Scope | 0/5 | build workflow lacks filters, allowing it to run on all forked pull requests. |
Files Generated:
- Visual Scorecard:
scan-2023-10-27.png - Full Markdown Report:
scan-report.md
Next steps
- Move the
STRIPE_KEYfrom the YAML file to a CircleCI Context or Project Environment Variable. - Add a
type: approvaljob to thedeploy-prodworkflow to prevent automated deployments. - Replace the shell interpolation of
$CIRCLE_PR_USERNAMEwith environment variables to prevent script injection.
Audit Results: clean demo project
Score: 100/100
Grade: A
The audit identified 0 findings — all 10 checks passed, and the configuration is ready to push.
scan-2023-10-27.png
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
audit a .circleci/config.yml before pushing — 10 checks, 100 points, grade A-F + risk level, shareable 1024x1024 score-card PNG + prioritised fix report. Pure Python + Pillow, no network, no API key, nothing uploaded. Checks: script injection from fork-controlled values ($CIRCLE_BRANCH, $CIRCLE_PULL_REQUEST, $CIRCLE_PR_USERNAME), secrets in environment: blocks, unpinned orbs (@volatile / floating versions) and images (:latest / untagged), ungated deploys (no approval hold job, no branch filter), cache poisoning (static keys, secret files in save_cache paths), artifact leaks (store_artifacts / persist_to_workspace), insecure remote Docker (setup_remote_docker with no version, docker_layer_caching), jobs that fail silently (background test steps, no_output_timeout over 20 min), workflows with no filters.
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.
Audits local .circleci/config.yml files only. No support for GitHub Actions or GitLab CI. Does not scan live CircleCI API, contexts, or container image CVEs. Skip files over 2 MB.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
- Software
Python 3Pillow