{
  "id": "repojack",
  "name": "repojack",
  "summary": "Finds dependencies that point at a deleted or renamed GitHub account, so someone else could register the name and serve that code. It reads go.mod, GitHub Actions, npm, pip, Cargo and git submodules, and it does not need a token.",
  "category": "scanner",
  "language": "go",
  "license": "MIT",
  "repository": "https://github.com/ucsurf/repojack",
  "version": "0.1.1",
  "released_at": "2026-11-02T19:13:09+00:00",
  "published_at": "2026-11-01T11:29:52+00:00",
  "release_url": "https://github.com/ucsurf/repojack/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/repojack/cmd/repojack@latest"
  ],
  "usage": [
    {
      "label": "Scan a local project",
      "command": "repojack testdata/proj",
      "lang": "sh",
      "note": "The README's example against its testdata/proj fixture reports missing owners such as ghost-owner-rj404. Exit 1 means something is hijackable, 2 is a usage error, and 0 is otherwise."
    },
    {
      "label": "List references without using the network",
      "command": "repojack -list .",
      "lang": "sh"
    },
    {
      "label": "JSON output, with owners to skip",
      "command": "repojack -format json -ignore a,b/c -concurrency 4 .",
      "lang": "sh",
      "note": "Formats in the README are text (the default), json and sarif. The default concurrency is 4."
    },
    {
      "label": "GitHub Action",
      "command": "name: repojack\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 6 * * 1\"   # owners can disappear at any time, so re-check weekly\npermissions:\n  contents: read\njobs:\n  repojack:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: ucsurf/repojack@v0.1.1",
      "lang": "yaml",
      "note": "The README says the action downloads the prebuilt release binary and checks it against checksums.txt. Inputs are path (default .), ignore, sarif and version."
    },
    {
      "label": "pre-commit",
      "command": "repos:\n  - repo: https://github.com/ucsurf/repojack\n    rev: v0.1.1\n    hooks:\n      - id: repojack",
      "lang": "yaml"
    }
  ],
  "links": [
    {
      "label": "README at v0.1.1",
      "url": "https://github.com/ucsurf/repojack/blob/v0.1.1/README.md"
    }
  ],
  "updated_at": "2026-11-06T17:47:00+00:00",
  "public": true
}
