- Issues
- ISSUE-1016
CI/CD provider
mise: a tool option sets an untrusted URL
Control:CTRL-1001mise-en-place
📋 What is this?
A trusted tool sets an option that changes where it is downloaded from, to a URL that matches no pattern of trustedOptions: api_url (a GitHub or GitLab server), url or platforms.<platform>.url (the asset itself), or a pip index (registry_url, indexes, pipx_args, uvx_args, install_env).
⚠️ Impact
The tool is trusted by name but fetched from another host. api_url also turns off the github backend's attestation checks.
🔧 How to fix
Remove the option so the backend fetches from its own source, add the URL to trustedOptions if you operate it (a GitHub Enterprise server, an internal mirror), or list the tool in exemptPackages once reviewed.
# mise.toml: ❌ a trusted tool pointed at another server[tools]"github:my-org/cli" = { version = "2.0.0", api_url = "https://ghe.example.com/api/v3" }💡 Tips
- For
pipx_argsanduvx_args, every URL in the arguments is judged on its own, whatever flag carries it (--index-url,-i,--pip-args, ...). An argument with no URL is not reported. - The
install_envvariables checked are pip's, uv's (UV_INDEX,UV_DEFAULT_INDEX,UV_EXTRA_INDEX_URL,UV_INDEX_URL), Go's proxy and checksum database ones, and npm's registry, scoped ones included. asset_patternis not reported: it picks an asset of the same release.
⚙️ Configure this control
With the CLI alone: set it in your configuration file. Every field and default is in the controls index, CTRL-1001.
mise: a tool option sets an untrusted URL
Control:CTRL-1001mise-en-place
📋 What is this?
A trusted tool sets an option that changes where it is downloaded from, to a URL that matches no pattern of trustedOptions: api_url (a GitHub or GitLab server), url or platforms.<platform>.url (the asset itself), or a pip index (registry_url, indexes, pipx_args, uvx_args, install_env).
⚠️ Impact
The tool is trusted by name but fetched from another host. api_url also turns off the github backend's attestation checks.
🔧 How to fix
Remove the option so the backend fetches from its own source, add the URL to trustedOptions if you operate it (a GitHub Enterprise server, an internal mirror), or list the tool in exemptPackages once reviewed.
# mise.toml: ❌ a trusted tool pointed at another server[tools]"github:my-org/cli" = { version = "2.0.0", api_url = "https://ghe.example.com/api/v3" }💡 Tips
- For
pipx_argsanduvx_args, every URL in the arguments is judged on its own, whatever flag carries it (--index-url,-i,--pip-args, ...). An argument with no URL is not reported. - The
install_envvariables checked are pip's, uv's (UV_INDEX,UV_DEFAULT_INDEX,UV_EXTRA_INDEX_URL,UV_INDEX_URL), Go's proxy and checksum database ones, and npm's registry, scoped ones included. asset_patternis not reported: it picks an asset of the same release.
⚙️ Configure this control
With the CLI alone: set it in your configuration file. Every field and default is in the controls index, CTRL-1001.