python-mkl-service-bin

MEDIUM
maintainer carlosal1015 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a prebuilt binary tarball from Anaconda's repository, which is not on the standard AUR whitelist; while Anaconda is a legitimate source, the download of unverifiable prebuilt binaries from a non-standard host poses a supply-chain risk if the host were compromised or the URL repurposed.

Triggered rules

Medium source=() URL on a non-standard host 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:16 source=(https://repo.anaconda.com/pkgs/main/linux-64/${_pkgname}-${pkgver}-${_build}.tar.bz2)
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt binary tarball from Anaconda's repository, which is not on the standard AUR whitelist; while Anaconda is a legitimate source, the download of unverifiable prebuilt binaries from a non-standard host poses a supply-chain risk if the host were compromised or the URL repurposed.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
2# Contributor: Chris Billington <chrisjbillington@gmail.com>
3pkgname=python-mkl-service-bin
4_pkgname=mkl-service
5pkgver=2.7.2
6_build=py314h365c7f6_0
7pkgrel=1
8pkgdesc="Python bindings to MKL service functions - prebuilt binaries from Anaconda"
9arch=(x86_64)
10license=(BSD-3-Clause)
11url="https://github.com/IntelPython/mkl-service"
12provides=("python-mkl-service=${pkgver}")
13conflicts=(python-mkl-service)
14depends=(python intel-oneapi-mkl)
15makedepends=(jq)
16source=(https://repo.anaconda.com/pkgs/main/linux-64/${_pkgname}-${pkgver}-${_build}.tar.bz2)
17sha256sums=('98304befe64ebab136ec308c1e4d696d6b918d96bd5e4e12ba3f296e77bd7bdd')
18
19prepare() {
20 # Prefix replacement
21 for row in $(jq -c '.paths[] | select(has("prefix_placeholder"))' "info/paths.json"); do
22 path=$(echo $row | jq -r '._path')
23 prefix=$(echo $row | jq -r '.prefix_placeholder')
24 sed -i "s:${prefix}:/usr:g" "${path}"
25 done
26}
27
28package() {
29 mkdir "${pkgdir}/usr"
30 cp -drp --no-preserve=ownership "${srcdir}/lib" "${pkgdir}/usr/lib"
31 install -D -m 644 "${srcdir}/info/licenses/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
32}
33

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 Medium 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion