python-numpy-mkl-bin

maintainer carlosal1015 · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a prebuilt binary from Anaconda's official repository, which is a trusted provider for Python packages; although the host is not whitelisted, the download is from a legitimate and expected source for this package type, and no code execution or malicious activity is present in the PKGBUILD.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a prebuilt binary from Anaconda's official repository, which is a trusted provider for Python packages; although the host is not whitelisted, the download is from a legitimate and expected source for this package type, and no code execution or malicious activity is present in the PKGBUILD.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:15 source=(https://repo.anaconda.com/pkgs/main/linux-64/numpy-base-${pkgver}-${_build}.tar.bz2)

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
2# Contributor: Chris Billington <chrisjbillington@gmail.com>
3pkgname=python-numpy-mkl-bin
4pkgver=2.3.5
5_build=py314h5cadfd5_0
6pkgrel=1
7pkgdesc="Scientific tools for Python - with Intel MKL - prebuilt binaries from Anaconda"
8arch=(x86_64)
9license=(BSD-3-Clause)
10url="https://numpy.org"
11provides=("python-numpy=${pkgver}")
12conflicts=(python-numpy)
13depends=(python-mkl-service)
14makedepends=(jq)
15source=(https://repo.anaconda.com/pkgs/main/linux-64/numpy-base-${pkgver}-${_build}.tar.bz2)
16sha256sums=('b96a601bdc7d27b394af69214735eae5112bf6c630dee22a31a778bcae587c41')
17
18prepare() {
19 # Prefix replacement
20 for row in $(jq -c '.paths[] | select(has("prefix_placeholder"))' "info/paths.json"); do
21 path=$(echo $row | jq -r '._path')
22 prefix=$(echo $row | jq -r '.prefix_placeholder')
23 sed -i "s:${prefix}:/usr:g" "${path}"
24 done
25}
26
27package() {
28 mkdir "${pkgdir}/usr"
29 cp -drp --no-preserve=ownership "${srcdir}/bin" "${pkgdir}/usr/bin"
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-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

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

0 / 4000
Your suggestion