{
  "schemaVersion": "ebb.rule.v1",
  "id": "go.module.github.com.discord.lilliput.deprecated",
  "ecosystem": "go",
  "purl": "pkg:golang/github.com/discord/lilliput",
  "affectedVersions": "vers:golang/*",
  "event": "deprecated",
  "severity": "medium",
  "title": "github.com/discord/lilliput is deprecated",
  "summary": "The latest github.com/discord/lilliput module declares: \"discord/lilliput is unmaintained as of October 2026. There will be no further releases, including for security fixes. See https://github.com/discord/lilliput/issues/303\"",
  "sources": [
    {
      "title": "github.com/discord/lilliput v1.5.1 go.mod",
      "url": "https://proxy.golang.org/github.com/discord/lilliput/@v/v1.5.1.mod",
      "accessedAt": "2026-10-20"
    },
    {
      "title": "Go module deprecation reference",
      "url": "https://go.dev/ref/mod#go-mod-file-module-deprecation",
      "accessedAt": "2026-10-20"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-20",
    "reviewedAt": "2026-10-20",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Keep go.mod and go.sum consistent: after the change no package should still require github.com/discord/lilliput, directly or through a replace directive.",
      "github.com/discord/lilliput names no replacement module; pick a maintained alternative or accept the risk, and record the decision."
    ],
    "steps": [
      {
        "id": "replace-module-dependency",
        "title": "Replace the deprecated module",
        "instructions": "Replace the github.com/discord/lilliput requirement with a maintained alternative that fits how the project uses it, then run `go mod tidy`.",
        "targets": "declaration"
      },
      {
        "id": "migrate-module-usages",
        "title": "Migrate imports and calls",
        "instructions": "Update imports and calls of github.com/discord/lilliput in the reported files to the chosen alternative.",
        "targets": "usages"
      }
    ],
    "verification": [
      {
        "command": "go build ./... && go test ./...",
        "purpose": "Build and test every package without the deprecated module."
      },
      {
        "command": "go mod tidy && git diff --exit-code go.mod go.sum",
        "purpose": "Confirm go.mod and go.sum are tidy after the replacement."
      }
    ]
  }
}
