fsleyes

LOW
maintainer tobac 5 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is downloaded from the project's official GitLab instance at git.fmrib.ox.ac.uk, which is a plausible and trusted host for FSL software; the package builds from official source, posing no supply-chain 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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is downloaded from the project's official GitLab instance at git.fmrib.ox.ac.uk, which is a plausible and trusted host for FSL software; the package builds from official source, posing no supply-chain 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:21 source=("https://git.fmrib.ox.ac.uk/fsl/${pkgname}/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
2pkgname=fsleyes
3pkgver=1.20.2
4pkgrel=1
5pkgdesc="FSLeyes is the FSL image viewer"
6arch=('any')
7url="https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSLeyes"
8license=('Apache')
9groups=()
10depends=('python' 'python-setuptools' 'python-sphinx' 'python-six' 'python-numpy' 'python-dill' 'python-matplotlib' 'python-nibabel' 'python-jinja' 'python-opengl' 'python-pyparsing' 'python-pillow' 'python-scipy' 'python-opengl-accelerate' 'python-wheel' 'python-twine' 'python-pytest-timeout' 'python-pytest-xdist' 'python-certifi' 'python-wxpython' 'python-xarray' 'python-parse' 'fslpy>=3.29.1' 'fsleyes-widgets>=0.17.0' 'fsleyes-props>=1.13.0' 'python-file-tree>=0.4.0' 'python-trx>=0.6')
11optdepends=('fsl: Enable loading standard images and advanced features (highly recommended)'
12 'python-wxnatpy: Enable loading overlay from XNAT'
13 'python-indexed-gzip: Fast random access of gzipped image files'
14 'python-rtree'
15 'jupyter-notebook'
16 'python-trimesh')
17makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
18provides=()
19conflicts=()
20replaces=()
21source=("https://git.fmrib.ox.ac.uk/fsl/${pkgname}/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
22 "${pkgname}.desktop")
23sha256sums=('33b39890f55ed1c257050a2a86521710407816d1f5781b688ae94efcee4696dd'
24 '056de41220ba25e7cda918eda928a5d5a9a99d51487b4adc3ba15fef387db02e')
25
26build() {
27 cd "${srcdir}/${pkgname}-${pkgver}"
28 SETUPTOOLS_SCM_PRETEND_VERSION_FOR_fsleyes=${pkgver} python -m build --wheel --no-isolation
29}
30
31package() {
32 cd "${srcdir}/${pkgname}-${pkgver}"
33 python -m installer --destdir="${pkgdir}/" dist/*.whl
34
35 install -Dm644 ./fsleyes/assets/icons/app_icon/fsleyes.iconset/icon_512x512.png "${pkgdir}"/usr/share/icons/hicolor/512x512/apps/${pkgname}.png
36 install -Dm644 "${srcdir}"/${pkgname}.desktop "${pkgdir}"/usr/share/applications/${pkgname}.desktop
37
38 # Add python pth file to let FSLeyes find the fsl python module
39 sitepackages_path=$(python3 -c "import sysconfig; print(sysconfig.get_path('purelib'))")
40 mkdir -p "${pkgdir}"/"${sitepackages_path}"
41 echo "/opt/fsl/lib/python3.11/site-packages" > "${pkgdir}"/"${sitepackages_path}"/fsl.pth
42 echo "/opt/fsl/lib/python3.10/site-packages" >> "${pkgdir}"/"${sitepackages_path}"/fsl.pth
43}
44

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2

Report a package

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

0 / 4000
Your suggestion