Skip to main content

CI/CD provider

ISSUE-1018HighPackage Managers and Lockfiles

mise: a tool is locked without a download URL or checksum

Control:CTRL-1001mise-en-place

📋 What is this?

A lock entry in mise.lock records nothing mise can verify a download against: a tool from a backend that downloads a per-platform binary (aqua, github, gitlab, ubi, http) is locked with no platform table, or a platform table has neither url nor checksum.

⚠️ Impact

mise resolves and downloads the binary at install time with no checksum to check it against.

🔧 How to fix

Run mise lock --platform <platforms> so mise records the URL and checksum of each platform, and commit the lockfile. List the tool in exemptPackages if its source publishes no downloadable asset you can lock.

✗ BeforeThe version is locked, the download is not.
# mise.lock: ❌ a binary tool with no platform table
[[tools."aqua:jqlang/jq"]]
version = "1.7.1"
backend = "aqua:jqlang/jq"
✓ AfterEach platform gets a `url` and a `checksum`.
# ✅ lock the platforms you install on
mise lock --platform linux-x64,macos-arm64

💡 Tips

  • The check runs while requireChecksums is on, which is the default.

⚙️ Configure this control

With the CLI alone: set it in your configuration file. Every field and default is in the controls index, CTRL-1001.