python-mkl-random-bin

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a prebuilt Anaconda package from the official Anaconda repository, which is a trusted provider for scientific Python packages; while the host is not a standard code forge, it is the legitimate distribution point for these binaries, and the package installs only libraries without executing remote code.

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 Anaconda package from the official Anaconda repository, which is a trusted provider for scientific Python packages; while the host is not a standard code forge, it is the legitimate distribution point for these binaries, and the package installs only libraries without executing remote code.

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

PKGBUILD

1 offending line(s) highlighted
1# Maintainer : Chris Billington <chrisjbillington@gmail.com>
2pkgname=python-mkl-random-bin
3_pkgname=mkl_random
4_pkgver=1.2.2
5_build=py311ha02d727_1
6pkgver="${_pkgver}.anaconda${_build##*_}"
7pkgrel=3
8epoch=1
9pkgdesc="Sampling probability distributions using Intel MKL - prebuilt binaries from Anaconda"
10arch=('x86_64')
11url="https://github.com/IntelPython/mkl_random"
12license=('custom')
13provides=('python-mkl-random')
14conflicts=('python-mkl-random')
15depends=('python-mkl-service' 'python-numpy')
16makedepends=('jq')
17source=("https://repo.anaconda.com/pkgs/main/linux-64/${_pkgname}-${_pkgver}-${_build}.tar.bz2")
18sha256sums=('3b6e609ad1d4b6023ec3532474f0244ca3ebc8e0beb70173b4af3ec638983937')
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-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