python-jsrc
maintainer imjiaoyuan
· 0 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package installs an external Python dependency (biopython) at build time using 'uv pip install' with a remote source, which creates a supply-chain risk due to unverifiable origin and potential for silent substitution.
Triggered rules
LOW
pip install of an external package
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums. Severity reduced: python-* packages routinely use pip.
-
PKGBUILD:26
uv pip install --python /usr/bin/python3 --target="$pkgdir$site_packages" --no-deps --no-binary biopython biopython>=1.80
MEDIUM
External install via pipx/uv/poetry/cargo/go/gem
alt_pkg_manager_install
A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:26
uv pip install --python /usr/bin/python3 --target="$pkgdir$site_packages" --no-deps --no-binary biopython biopython>=1.80
MEDIUM
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 95%): The package installs an external Python dependency (biopython) at build time using 'uv pip install' with a remote source, which creates a supply-chain risk due to unverifiable origin and potential for silent substitution.
PKGBUILD
1 offending line(s) highlighted
1
pkgname=python-jsrc
2
pkgver=0.3.0
3
pkgrel=1
4
pkgdesc="Python library for bioinformatics and scientific computing"
5
arch=('any')
6
url="https://github.com/imjiaoyuan/jsrc"
7
license=('MIT')
8
depends=('python>=3.10' 'python-numpy>=1.23' 'python-matplotlib>=3.5' 'python-opencv>=4.7')
9
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools>=61.0' 'uv')
10
options=('!strip' '!debug')
11
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
12
sha256sums=('ad39417bb955aca991a02ea45b120ab440a60edf2ef887e709c235983caae53d')
13
14
build() {
15
cd "jsrc-$pkgver"
16
python -m build --wheel --no-isolation
17
}
18
19
package() {
20
cd "jsrc-$pkgver"
21
22
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
23
24
python -m installer --destdir="$pkgdir" dist/*.whl
25
26
uv pip install --python /usr/bin/python3 --target="$pkgdir$site_packages" --no-deps --no-binary biopython biopython>=1.80
27
28
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
29
}
30
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 3 |
| 2026-08-02 00:16:08 | MEDIUM | 3 |
| 2026-08-01 00:11:18 | MEDIUM | 3 |
| 2026-07-31 00:14:10 | MEDIUM | 3 |
| 2026-07-30 00:17:23 | MEDIUM | 3 |
| 2026-07-29 00:25:53 | MEDIUM | 3 |
| 2026-07-28 00:07:28 | MEDIUM | 3 |
| 2026-07-27 00:24:32 | MEDIUM | 3 |
| 2026-07-26 00:07:32 | MEDIUM | 3 |
| 2026-07-25 00:13:44 | MEDIUM | 3 |
| 2026-07-24 00:02:28 | MEDIUM | 3 |
| 2026-07-23 00:14:47 | MEDIUM | 3 |
| 2026-07-22 00:29:32 | MEDIUM | 3 |
| 2026-07-21 00:24:15 | MEDIUM | 3 |
| 2026-07-20 00:19:49 | MEDIUM | 3 |
| 2026-07-19 00:17:08 | MEDIUM | 3 |
| 2026-07-18 00:14:48 | MEDIUM | 3 |
| 2026-07-17 00:06:16 | MEDIUM | 3 |
| 2026-07-16 00:05:41 | MEDIUM | 3 |
| 2026-07-15 00:09:25 | MEDIUM | 3 |