python-jsrc

MEDIUM
maintainer imjiaoyuan 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Medium 3
2026-10-31 00:07:41 Medium 3
2026-10-30 00:29:30 Medium 3
2026-10-29 00:13:55 Medium 3
2026-10-28 00:06:54 Medium 3
2026-10-27 00:23:28 Medium 3
2026-10-26 00:12:40 Medium 3
2026-10-25 00:20:48 Medium 3
2026-10-24 00:14:55 Medium 3
2026-10-23 00:02:19 Medium 3
2026-10-22 00:13:10 Medium 3
2026-10-21 00:12:50 Medium 3
2026-10-20 00:10:31 Medium 3
2026-10-19 00:03:55 Medium 3
2026-10-18 00:06:55 Medium 3
2026-10-17 00:21:55 Medium 3
2026-10-16 00:12:47 Medium 3
2026-10-15 00:28:05 Medium 3
2026-10-14 00:06:47 Medium 3
2026-10-13 00:23:45 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