python-tinyarray
maintainer lobachevsky
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads the source from the project's own domain, which is plausibly official despite not being on a standard code host; it builds from verified source code and includes PGP signature validation, making this a normal AUR package with low risk.
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 package downloads the source from the project's own domain, which is plausibly official despite not being on a standard code host; it builds from verified source code and includes PGP signature validation, making this a normal AUR package with low risk.
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:13
source=(http://downloads.kwant-project.org/tinyarray/tinyarray-$pkgver.tar.gz
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Jörg Behrmann <behrmann@physik.fu-berlin.de>
2
# Contributor: Max Schlemmer <max.schlemmer@gmail.com>
3
pkgname=python-tinyarray
4
pkgver=1.2.5
5
pkgrel=1
6
pkgdesc="Similar to NumPy arrays, but optimized for small sizes"
7
arch=('any')
8
url="http://git.kwant-project.org/tinyarray/about/"
9
license=('BSD')
10
depends=(python)
11
makedepends=(python-setuptools)
12
checkdepends=(python-pytest python-numpy)
13
source=(http://downloads.kwant-project.org/tinyarray/tinyarray-$pkgver.tar.gz
14
http://downloads.kwant-project.org/tinyarray/tinyarray-$pkgver.tar.gz.asc)
15
sha256sums=('5d47b3d475a30478ee72d6afe238c3d3683b3a3f9d425bb2f6384270b2c8799b'
16
'SKIP')
17
validpgpkeys=('52299057FAD799653C4F088AC3F147F5980F3535')
18
19
build() {
20
cd "$srcdir/tinyarray-$pkgver"
21
python setup.py build
22
}
23
24
check() {
25
cd "$srcdir/tinyarray-$pkgver"
26
local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
27
PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$python_version" pytest
28
}
29
30
package() {
31
cd "$srcdir/tinyarray-$pkgver"
32
python setup.py install --root="$pkgdir/" --optimize=1
33
34
# Install license
35
install -D -m644 "${srcdir}/tinyarray-${pkgver}/LICENSE.rst" \
36
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.rst" || \
37
return 1
38
}
39
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 |