{
  "id": "go/checksum-mismatch-download",
  "signature": "verifying github.com/foo/bar@v1.2.3: checksum mismatch: downloaded hash (h1:abc123) != expected hash (h1:def456)",
  "signature_zh": "验证 github.com/foo/bar@v1.2.3: 校验和不匹配：下载的哈希 (h1:abc123) != 期望的哈希 (h1:def456)",
  "regex": "verifying\\ github\\.com/foo/bar@v1\\.2\\.3:\\ checksum\\ mismatch:\\ downloaded\\ hash\\ \\(h1:abc123\\)\\ !=\\ expected\\ hash\\ \\(h1:def456\\)",
  "domain": "go",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "The downloaded module content does not match the checksum recorded in go.sum, possibly due to a corrupted download or a malicious proxy.",
  "root_cause_type": "generic",
  "root_cause_zh": "下载的模块内容与 go.sum 中记录的校验和不匹配，可能是下载损坏或代理被篡改。",
  "versions": [
    {
      "version": "1.11",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.17",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.22",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "If the proxy is serving corrupted data, re-downloading will produce the same mismatch.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Go will still verify checksums unless you use GONOSUMCHECK (deprecated) or GONOSUMDB; this may hide security issues.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.7,
      "how": "go mod download github.com/foo/bar@v1.2.3 && go mod tidy",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.4,
      "how": "GONOSUMDB=github.com/foo/bar go mod download",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.8,
  "fix_success_rate": 0.8,
  "resolvable": "partial",
  "first_seen": "2024-02-10",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}