{
  "id": "reportlint",
  "name": "reportlint",
  "summary": "reportlint checks a security disclosure report before you send it. Point it at a Markdown file and it reports a file link that points at a branch, a missing proof of concept, a CVSS score that does not match the vector, or a token or a local path that slipped into the proof of concept.",
  "category": "disclosure",
  "language": "go",
  "license": "Apache-2.0",
  "repository": "https://github.com/ucsurf/reportlint",
  "version": "0.1.0",
  "released_at": "2026-12-02T16:21:02+03:00",
  "published_at": "2026-12-02T16:21:02+03:00",
  "release_url": "https://github.com/ucsurf/reportlint/releases/tag/v0.1.0",
  "distribution": "binaries",
  "platforms": [
    "darwin/amd64",
    "darwin/arm64",
    "linux/amd64",
    "linux/arm64",
    "windows/amd64",
    "windows/arm64"
  ],
  "install": [
    "git clone https://github.com/ucsurf/reportlint",
    "cd reportlint",
    "go build -mod=vendor -trimpath -o reportlint ./cmd/reportlint"
  ],
  "usage": [
    {
      "label": "Check a file or a directory",
      "command": "reportlint report.md\nreportlint reports/",
      "lang": "sh",
      "note": "The README says a directory means every *.md under it. Flags can come before or after the files."
    },
    {
      "label": "SARIF, strict, fix, and stdin",
      "command": "reportlint --format sarif -o out.sarif report.md\nreportlint --strict report.md\nreportlint --fix --sha <full-sha> report.md\ncat report.md | reportlint -",
      "lang": "sh",
      "note": "The README says --strict makes warnings exit 1. --fix rewrites branch links to permalinks when you give it the commit sha. It does not look the sha up. Exit 0 means nothing at error level, 1 means at least one error (or a warning with --strict), and 2 is bad usage, an unreadable file or a bad config. Reports over 1 MiB are refused."
    },
    {
      "label": "GitHub Action",
      "command": "name: lint reports\non: [pull_request]\npermissions:\n  contents: read\njobs:\n  reportlint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v5\n      - uses: ucsurf/reportlint@v0.1.0\n        with:\n          paths: reports/\n          strict: \"true\"",
      "lang": "yaml",
      "note": "The README says the action builds the program from its own checkout, with the vendored dependency and no download, then runs it. Pin the action to a commit sha for the strictest setup."
    }
  ],
  "links": [
    {
      "label": "README at v0.1.0",
      "url": "https://github.com/ucsurf/reportlint/blob/v0.1.0/README.md"
    }
  ],
  "updated_at": "2026-12-02T17:25:00+03:00",
  "public": true
}
