mosek
The source is a prebuilt binary distribution from the official vendor's download domain (download.mosek.com), which is plausibly part of MOSEK's own release infrastructure; despite the non-whitelisted host, this is a standard and expected source for a commercial solver, and the checksum is provided and valid.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a prebuilt binary distribution from the official vendor's download domain (download.mosek.com), which is plausibly part of MOSEK's own release infrastructure; despite the non-whitelisted host, this is a standard and expected source for a commercial solver, and the checksum is provided and valid.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:18
source=("mosek-${pkgver}.tar.bz2::https://download.mosek.com/stable/${pkgver}/mosektools${_mosekarch}.tar.bz2")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Maximilian Stahlberg <maximilian.stahlberg tuhh de>
# Maintainer: Ido Rosen <ido@kernel.org>
pkgname=mosek
pkgdesc="A commercial solver for mathematical optimization problems."
pkgver=11.2.2
pkgrel=1
epoch=1
arch=('x86_64')
_ver=${pkgver%.*}
_mosekarch=linux64x86
url='https://www.mosek.com'
license=('custom')
depends=('gcc-libs' 'openmp')
makedepends=('python-setuptools' 'execstack')
optdepends=('python: Python bindings')
options=('!strip')
source=("mosek-${pkgver}.tar.bz2::https://download.mosek.com/stable/${pkgver}/mosektools${_mosekarch}.tar.bz2")
sha256sums=('0d5499fbc82098aec4ca2687602523c50ff7998e467149605d545f45e881922c')
package() {
# Install shared libraries.
cd "${srcdir}/mosek/${_ver}/tools/platform/${_mosekarch}/bin"
install -dm755 "${pkgdir}/usr/lib"
install -m755 "libmosek64.so.${_ver}" "${pkgdir}/usr/lib/"
install -m755 "libmosekxx${_ver/./_}.so" "${pkgdir}/usr/lib/"
ln -rs "${pkgdir}/usr/lib/libmosek64.so.${_ver}" "${pkgdir}/usr/lib/libmosek64.so"
# Install command line utilities.
cd "${srcdir}/mosek/${_ver}/tools/platform/${_mosekarch}/bin"
install -dm755 "${pkgdir}/usr/bin"
install -m755 mosek "${pkgdir}/usr/bin/"
# Install C bindings.
cd "${srcdir}/mosek/${_ver}/tools/platform/${_mosekarch}/h"
install -dm755 "${pkgdir}/usr/include"
install -m755 mosek.h "${pkgdir}/usr/include/"
# Install Python bindings.
cd "${srcdir}/mosek/${_ver}/tools/platform/${_mosekarch}/python/3"
python setup.py install --root="${pkgdir}" --optimize=1
# Install documentation.
cd "${srcdir}/mosek/${_ver}"
install -Dm644 mosek-eula.pdf "${pkgdir}/usr/share/licenses/mosek/eula.pdf"
install -dm755 "${pkgdir}/usr/share/doc/mosek"
cp -r doc/*.pdf tools/examples "${pkgdir}/usr/share/doc/mosek/"
rm "${pkgdir}/usr/share/doc/mosek/examples/"{c,java}/Makefile
rm "${pkgdir}/usr/share/doc/mosek/examples/fusion/"{cxx,java}/Makefile
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |