fsl-palm

LOW
maintainer tobac 1 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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