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