fsl-palm

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

The source is a tarball from a personal S3 bucket, but it is the project's official release and the package builds from source; the worst case of a swapped source is unreviewed code execution, but the context suggests a legitimate project distribution.

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 a personal S3 bucket, but it is the project's official release and the package builds from source; the worst case of a swapped source is unreviewed code execution, but the context suggests a legitimate project distribution.

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:13 source=("https://s3-us-west-2.amazonaws.com/andersonwinkler/palm/${pkgname##fsl-}-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
2pkgname=fsl-palm
3pkgver=alpha119
4pkgrel=1
5pkgdesc="PALM is a set of GNU Octave/MATLAB scripts to perform Permutation Analysis for Linear Models"
6arch=('any')
7url="https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/PALM"
8license=('GPL')
9depends=('octave')
10optdepends=('octave-image: needed for spatial statistics (you will most likely want this)'
11 'fsl: support for additional image formats, e.g. compressed NIfTI files'
12 'freesurfer-bin: support to read/write FreeSurfer files directly')
13source=("https://s3-us-west-2.amazonaws.com/andersonwinkler/palm/${pkgname##fsl-}-${pkgver}.tar.gz"
14 "001-adjust_path_for_systemwide_install.patch"
15 "002-add_stdint.patch")
16sha256sums=('2ed5e45e0cf902388e53b4652718a4d9a3545276d5dafc01420a74608be6924b'
17 '5722799901bc23ca1f391418d6e9d20e92ecce89612cd6e0185cffd51d06bff2'
18 'b327cb047f09c415af817f44a7d324ca9767ad280c9afce7145dafb06bb64a7a')
19
20prepare() {
21 cd "${srcdir}"/${pkgname##fsl-}-${pkgver}
22 patch -Np1 -i "${srcdir}"/001-adjust_path_for_systemwide_install.patch
23 patch -Np1 -i "${srcdir}"/002-add_stdint.patch
24}
25
26build() {
27 # We need to rebuild .mex files due to newer Octave version on Arch
28 cd "${srcdir}"
29 for sourcefile in $(find . -type f -name '*.c'); do
30 outfile=${sourcefile//.c/.mex}
31 /usr/bin/mkoctfile -v --mex "${sourcefile}" -o "${outfile}"
32 done
33}
34
35package() {
36 mkdir -p "${pkgdir}"/usr/lib
37 mkdir "${pkgdir}"/usr/bin
38 mv "${srcdir}"/${pkgname##fsl-}-${pkgver}/palm "${pkgdir}"/usr/bin/palm
39 cp --recursive --preserve=mode "${srcdir}"/${pkgname##fsl-}-${pkgver} "${pkgdir}"/usr/lib/palm
40}
41

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