{
  "id": "pwnreq",
  "name": "pwnreq",
  "summary": "Finds GitHub Actions workflows where someone without write access can run code that sees repository secrets: pwn requests and script injection. It can scan one repository or an organization without cloning.",
  "category": "scanner",
  "language": "go",
  "license": "MIT",
  "repository": "https://github.com/ucsurf/pwnreq",
  "version": "0.1.1",
  "released_at": "2026-11-01T11:29:46+00:00",
  "published_at": "2026-11-01T05:23:52+00:00",
  "release_url": "https://github.com/ucsurf/pwnreq/releases/tag/v0.1.1",
  "distribution": "binaries",
  "platforms": [
    "darwin/amd64",
    "darwin/arm64",
    "linux/amd64",
    "linux/arm64",
    "windows/amd64",
    "windows/arm64"
  ],
  "install": [
    "go install github.com/ucsurf/pwnreq/cmd/pwnreq@latest"
  ],
  "usage": [
    {
      "label": "Scan the workflows in the current directory",
      "command": "pwnreq",
      "lang": "sh",
      "note": "Exit codes in the README: 0 clean, 1 findings, 2 error."
    },
    {
      "label": "Scan a GitHub repository without cloning",
      "command": "pwnreq owner/repo",
      "lang": "sh"
    },
    {
      "label": "Scan an organization or user",
      "command": "export GITHUB_TOKEN=$(gh auth token)\npwnreq org:my-company",
      "lang": "sh",
      "note": "The README says a token is optional for a few repositories and needed for an organization scan. Archived repositories and forks are skipped unless you pass -forks."
    },
    {
      "label": "JSON, high severity only",
      "command": "pwnreq -format json -min-severity high org:my-company",
      "lang": "sh",
      "note": "Formats are text (the default), json and sarif. -min-severity is medium (the default) or high."
    },
    {
      "label": "GitHub Action",
      "command": "name: pwnreq\non: [push, pull_request]\npermissions:\n  contents: read\n  security-events: write   # only needed for the SARIF upload\njobs:\n  pwnreq:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: ucsurf/pwnreq@v0.1.1\n        with:\n          sarif: pwnreq.sarif\n      - if: always()\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: pwnreq.sarif",
      "lang": "yaml",
      "note": "Inputs in the README: path (default .), min-severity (medium or high), sarif and version."
    },
    {
      "label": "pre-commit",
      "command": "repos:\n  - repo: https://github.com/ucsurf/pwnreq\n    rev: v0.1.1\n    hooks:\n      - id: pwnreq",
      "lang": "yaml"
    }
  ],
  "links": [
    {
      "label": "README at v0.1.1",
      "url": "https://github.com/ucsurf/pwnreq/blob/v0.1.1/README.md"
    }
  ],
  "updated_at": "2026-11-06T17:47:00+00:00",
  "public": true
}
