{
  "id": "hookjack",
  "name": "hookjack",
  "summary": "Static scanner for commands that AI assistants and IDEs run on their own when you open a repository. It reads hooks, MCP configs, folder-open tasks, devcontainers and install scripts, and it does not execute them.",
  "category": "scanner",
  "language": "go",
  "license": "MIT",
  "repository": "https://github.com/ucsurf/hookjack",
  "version": "0.1.0",
  "released_at": "2026-11-03T16:45:40+00:00",
  "published_at": "2026-11-03T16:45:40+00:00",
  "release_url": "https://github.com/ucsurf/hookjack/releases/tag/v0.1.0",
  "distribution": "binaries",
  "platforms": [
    "darwin/amd64",
    "darwin/arm64",
    "linux/amd64",
    "linux/arm64",
    "windows/amd64",
    "windows/arm64"
  ],
  "install": [
    "go install github.com/ucsurf/hookjack/cmd/hookjack@latest"
  ],
  "usage": [
    {
      "label": "Scan the current directory",
      "command": "hookjack",
      "lang": "sh"
    },
    {
      "label": "Scan local checkouts",
      "command": "hookjack path/to/repo other/repo",
      "lang": "sh"
    },
    {
      "label": "Inspect a GitHub repository before cloning",
      "command": "hookjack check owner/repo",
      "lang": "sh",
      "note": "The README says check streams the tarball into memory and writes nothing to disk."
    },
    {
      "label": "Inspect one Git ref",
      "command": "hookjack check -ref v1.2 owner/repo",
      "lang": "sh"
    },
    {
      "label": "Scan a user or organization's public repositories",
      "command": "hookjack org some-org",
      "lang": "sh",
      "note": "The README says org lists public repositories that are not forks and not archived."
    },
    {
      "label": "Write SARIF",
      "command": "hookjack -format sarif -o hookjack.sarif .",
      "lang": "sh",
      "note": "Formats in the README are text (the default), json and sarif. Exit 0 means nothing at or above --fail-on (default high), 1 means there is a finding, and 2 is a usage or I/O error."
    },
    {
      "label": "GitHub Action",
      "command": "- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683  # v4.2.2\n- uses: ucsurf/hookjack@v0.1.0\n  with:\n    fail-on: high          # low | medium | high | critical | none\n    sarif: hookjack.sarif  # optional, upload with github/codeql-action/upload-sarif",
      "lang": "yaml"
    },
    {
      "label": "pre-commit",
      "command": "repos:\n  - repo: https://github.com/ucsurf/hookjack\n    rev: v0.1.0\n    hooks:\n      - id: hookjack",
      "lang": "yaml"
    }
  ],
  "links": [
    {
      "label": "README at v0.1.0",
      "url": "https://github.com/ucsurf/hookjack/blob/v0.1.0/README.md"
    }
  ],
  "updated_at": "2026-11-06T17:47:00+00:00",
  "public": true
}
