Skip to main content

CI/CD provider

ISSUE-1013HighPackage Managers and Lockfiles

mise: a tool is not trusted

Control:CTRL-1001mise-en-place

📋 What is this?

A tool in a mise config matches no pattern of trustedTools. The pattern is matched against the tool's full mise name: its key when it names a backend (aqua:jqlang/jq, github:org/repo), or the backend its mise.lock entry records for a shorthand (terraform).

⚠️ Impact

The backend decides where mise downloads the tool from and how it verifies it. A shorthand with no lock entry can't be traced to a backend, so it is reported too.

🔧 How to fix

Install the tool from a trusted backend (for example aqua: or a core tool), add it to trustedTools once you have reviewed it, or list it in exemptPackages.

✗ BeforeWith `trustedTools: ["core:*", "aqua:*", "github:my-org/*"]`, this tool matches no pattern.
# mise.toml: ❌ a tool from an unreviewed GitHub account
[tools]
"github:someone/tool" = "1.2.3"
✓ Afteraqua verifies checksums and, where published, provenance.
# mise.toml: ✅ the same tool from the aqua registry
[tools]
"aqua:someone/tool" = "1.2.3"

💡 Tips

  • The sources check is off by default: it runs once the sources block is written.
  • A missing lock entry is reported once: by the lockfile check (ISSUE-1001 or ISSUE-1003) when it runs, by this code otherwise.
  • An untrusted tool gets this code alone: its locked URLs (ISSUE-1014) and options (ISSUE-1016) are not judged.
  • A committed *.local.toml is judged like any other config. .tool-versions is not judged here: ISSUE-1009 covers it.

⚙️ Configure this control

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