fsleyes

maintainer tobac · 5 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the project's official GitLab instance (git.fmrib.ox.ac.uk), which is a legitimate and project-specific host, making the download appropriate despite not being on a standard public forge whitelist.

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 source is a tarball from the project's official GitLab instance (git.fmrib.ox.ac.uk), which is a legitimate and project-specific host, making the download appropriate despite not being on a standard public forge whitelist.

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.19.0
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.27.0' 'fsleyes-widgets>=0.17.0' 'fsleyes-props>=1.13.0' 'python-file-tree>=0.4.0')
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=('8d96c46e2f58643a657c77c411e961bccd8003c35037f4d13822fd03b7deb51c'
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-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

Report a package

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

0 / 4000
Your suggestion