python-mkl-fft-bin

MEDIUM
maintainer orphaned 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

This PKGBUILD downloads a prebuilt binary package (a compiled Python extension using Intel MKL) from repo.anaconda.com, which is Anaconda's official package repository. While Anaconda is a legitimate and well-known distribution channel, the package installs a prebuilt binary (not source-compiled) from a non-Arch host. The sha256sum is pinned, which mitigates tampering risk at the transport level, but the binary's provenance and build reproducibility cannot be independently verified. The prefix-replacement sed operation on the installed binary is a standard Anaconda relocation technique, not malicious. The overall pattern — pinned hash, official Anaconda repo, known upstream (IntelPython/mkl_fft on GitHub) — makes this a legitimate but non-standard packaging approach. The medium rating is appropriate: it's not an attack, but installing prebuilt binaries from a non-Arch source into the Python path is a genuine supply-chain concern if Anaconda's infrastructure were compromised or the package were silently updated.

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:17 source=("https://repo.anaconda.com/pkgs/main/linux-64/${_pkgname}-${_pkgver}-${_build}.tar.bz2")
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD downloads a prebuilt binary package (a compiled Python extension using Intel MKL) from repo.anaconda.com, which is Anaconda's official package repository. While Anaconda is a legitimate and well-known distribution channel, the package installs a prebuilt binary (not source-compiled) from a non-Arch host. The sha256sum is pinned, which mitigates tampering risk at the transport level, but the binary's provenance and build reproducibility cannot be independently verified. The prefix-replacement sed operation on the installed binary is a standard Anaconda relocation technique, not malicious. The overall pattern — pinned hash, official Anaconda repo, known upstream (IntelPython/mkl_fft on GitHub) — makes this a legitimate but non-standard packaging approach. The medium rating is appropriate: it's not an attack, but installing prebuilt binaries from a non-Arch source into the Python path is a genuine supply-chain concern if Anaconda's infrastructure were compromised or the package were silently updated.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer : Chris Billington <chrisjbillington@gmail.com>
2pkgname=python-mkl-fft-bin
3_pkgname=mkl_fft
4_pkgver=1.3.6
5_build=py311ha02d727_1
6pkgver="${_pkgver}.anaconda${_build##*_}"
7pkgrel=3
8epoch=1
9pkgdesc="Fast Fourier Transform using Intel MKL - prebuilt binaries from Anaconda"
10arch=('x86_64')
11url="https://github.com/IntelPython/mkl_fft"
12license=('custom')
13provides=('python-mkl-fft')
14conflicts=('python-mkl-fft')
15depends=('python-mkl-service' 'python-numpy')
16makedepends=('jq')
17source=("https://repo.anaconda.com/pkgs/main/linux-64/${_pkgname}-${_pkgver}-${_build}.tar.bz2")
18sha256sums=('ca708f0195f2e0320f7bc11e3a7adea84a61fc7419bd7c563fcac77cf2a9ea2a')
19
20prepare() {
21 # Prefix replacement
22 for row in $(jq -c '.paths[] | select(has("prefix_placeholder"))' "info/paths.json"); do
23 path=$(echo $row | jq -r '._path')
24 prefix=$(echo $row | jq -r '.prefix_placeholder')
25 sed -i "s:${prefix}:/usr:g" "${path}"
26 done
27}
28
29package() {
30 mkdir "${pkgdir}/usr"
31 cp -drp --no-preserve=ownership "${srcdir}/lib" "${pkgdir}/usr/lib"
32 install -D -m 644 "${srcdir}/info/licenses/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
33}
34

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 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