Current collected state Current
Observed since 20 Oct, 18:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
GitHub Actions vulnerability scanner for PwnRequest attacks
= GitHub Actions PwnRequest Vulnerability Scanner A toolkit for detecting GitHub Actions workflows vulnerable to the https://securitylab.github.com/research/github-actions-preventing-pwn-requests/[PwnRequest] attack pattern — where `pull_request_target` workflows check out and execute untrusted PR code, allowing secret exfiltration. CAUTION: Use findings responsibly and follow responsible disclosure practices. == Installation [source,bash] ---- uv tool install git+https://github.com/SecKatie/actions-scanner.git ---- == Usage [source,bash] ---- # Scan an org, repo URL, local directory, or list file (default format: csv) actions-scanner scan your-org -o results.csv # Validate findings with AI-assisted confirmation (accepts csv or json) actions-scanner validate results.csv # Export to markdown actions-scanner report results.csv -o report.md --format markdown ---- == What It Detects The scanner flags workflows where all three conditions exist in the same job: 1. **Trigger:** `pull_request_target` (runs with write permissions and secrets) 2. **Checkout:** Untrusted PR ref (`head.sha`, `head.ref`, `merge_commit_sha`, `github.head_ref`) 3. **Execution:** Build commands (`npm install`, `make`, `pip install`, `docker build`, etc.) or local actions (`./action`) == Development **Prerequisites:** Python 3.11+, https://github.com/astral-sh/uv[uv], `gh` CLI (authenticated), `git` [source,bash] ---- git clone https://github.com/SecKatie/actions-scanner.git && cd actions-scanner uv sync uv run pytest tests/ -v ---- === Environment Variables [cols="1,2"] |=== |Variable |Description |`GITHUB_TOKEN` |GitHub personal access token (required for org scanning) |=== == References * https://securitylab.github.com/research/github-actions-preventing-pwn-requests/[GitHub Security Lab: Preventing pwn requests] * https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions[GitHub Docs: Security hardening for GitHub Actions] == License Internal use only.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.0 | 4 Mar 2026 | 15 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:f0ea1248a5e5026f764b0d0d654ebd465046cbdbd146f6da9d8a4f0b744c131e