Works with the AI Agents you already use
GitLab CI Security Audit
by CashonlyTian
Pure Python + Pillow, local scan, no network, no paid APIs.
$7
GitLab CI Security Audit
Example session with this skill installed
Audit the GitLab CI configuration in the current directory for the 'PaymentGateway' project. Use the brand 'SecurityAudit' for the report.
- Read your context and instructions
- Compiled the gitlab ci security
- Generated the document
The security audit for project
PaymentGateway is complete. The pipeline received a
Grade F with a
CRITICAL risk level due to multiple script injection vulnerabilities and unpinned images.
29 findings (5 critical, 14 high, 9 medium, 1 low).
Security Audit Report
| Check | Score | Status | Findings |
|---|---|---|---|
| Script Injection | 0/15 | CRITICAL | MR variables interpolated in scripts: |
| Secrets in Config | 10/15 | MEDIUM | Hardcoded API key detected in variables: |
| Branch Protection | 10/10 | PASS | Deploy jobs gated by protected rules |
| Cache Poisoning | 5/10 | MEDIUM | Cache key not scoped to branch |
| Artifact Exposure | 10/10 | PASS | No sensitive files in artifact paths |
| Docker-in-Docker | 0/10 | HIGH | Insecure docker:dind without TLS |
| Image Pinning | 0/10 | HIGH | Multiple jobs using :latest tags |
| Remote Includes | 10/10 | PASS | All includes use secure HTTPS |
| Job Resilience | 5/5 | PASS | No silent failures detected |
| Pipeline Scope | 0/5 | LOW | Missing top-level workflow:rules |
Total Score: 17/100 (Grade F)
Prioritized Fixes
Sanitize Scripts: Remove $CI_COMMIT_MESSAGE and $CI_MERGE_REQUEST_TITLE from script lines. Pass them as environment variables instead.
2. Pin Images: Replace image: docker:latest and image: alpine:latest with specific version tags or digests.
3. Secure DIND: Set DOCKER_TLS_CERTDIR: "/certs" and ensure the docker:dind service uses TLS.
Next steps
- Review the detailed findings in
scan-report.mdto see specific line numbers. - View the visual summary in
scan-2025-05-20.png. - Apply fixes and re-run the audit to reach Grade A.
Clean demo: the clean project scores 100/100 (Grade A) with 0 findings.
scan-2025-05-20.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
The skill audits a .gitlab-ci.yml (plus local CI files under .gitlab/) before it is pushed: script injection from merge-request-controlled values, secrets committed in variables:, ungated deploys, cache poisoning across branches, artifact leaks, insecure Docker-in-Docker, unpinned images, unpinned remote includes, jobs that fail silently, and pipelines with no workflow: rules:. Pure Python + Pillow, local scan, no network, no paid APIs. 10 checks, 100 points, grade A–F + risk level, shareable 1024x1024 score-card PNG and prioritised fix report.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Scans local files only; does not fetch remote includes or verify GitLab UI settings. Does not expand YAML anchors/extends chains. Capped at 200 findings and 2MB file size.
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