python-jsrc

MEDIUM
maintainer imjiaoyuan 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package installs an external Python dependency (biopython) at build time using `uv pip install` with `--no-deps` and no version pinning beyond a minimum, which introduces a supply-chain risk from an unverifiable remote source.

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:28 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:28 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-2507) reviewed this and agrees it is MEDIUM (confidence 90%): The package installs an external Python dependency (biopython) at build time using `uv pip install` with `--no-deps` and no version pinning beyond a minimum, which introduces a supply-chain risk from an unverifiable remote source.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: imjiaoyuan <imjiaoyuan@gmail.com>
2
3pkgname=python-jsrc
4pkgver=0.3.1
5pkgrel=2
6pkgdesc="Python library for bioinformatics and scientific computing"
7arch=('any')
8url="https://github.com/imjiaoyuan/jsrc"
9license=('MIT')
10depends=('python>=3.10' 'python-numpy>=1.23' 'python-matplotlib>=3.5' 'python-opencv>=4.7')
11makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools>=61.0' 'uv')
12options=('!strip' '!debug')
13source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
14sha256sums=('138e4664221830ce5023340cfcf49edbc97d94235ef53a0e05dd3a3d459fb0ec')
15
16build() {
17 cd "jsrc-$pkgver"
18 python -m build --wheel --no-isolation
19}
20
21package() {
22 cd "jsrc-$pkgver"
23
24 local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
25
26 python -m installer --destdir="$pkgdir" dist/*.whl
27
28 uv pip install --python /usr/bin/python3 --target="$pkgdir$site_packages" --no-deps --no-binary biopython biopython>=1.80
29
30 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31}
32

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 3
2026-09-16 00:03:17 Medium 3
2026-09-15 00:25:31 Medium 3
2026-09-14 00:27:57 Medium 3
2026-09-13 00:19:54 Medium 3
2026-09-12 00:25:17 Medium 3
2026-09-11 00:19:22 Medium 3
2026-09-10 00:22:44 Medium 3
2026-09-09 00:04:09 Medium 3
2026-09-08 00:18:08 Medium 3
2026-09-07 00:30:15 Medium 3
2026-09-06 00:17:06 Medium 3
2026-09-05 00:16:27 Medium 3
2026-09-04 00:03:13 Medium 3
2026-09-03 00:15:47 Medium 3
2026-09-02 00:02:31 Medium 3
2026-09-01 00:11:19 Medium 3
2026-08-31 00:19:57 Medium 3
2026-08-30 00:04:14 Medium 3
2026-08-29 00:29:17 Medium 3

Report a package

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

0 / 4000
Your suggestion