fsl-palm
maintainer tobac
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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>
2
pkgname=fsl-palm
3
pkgver=alpha119
4
pkgrel=1
5
pkgdesc="PALM is a set of GNU Octave/MATLAB scripts to perform Permutation Analysis for Linear Models"
6
arch=('any')
7
url="https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/PALM"
8
license=('GPL')
9
depends=('octave')
10
optdepends=('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')
13
source=("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")
16
sha256sums=('2ed5e45e0cf902388e53b4652718a4d9a3545276d5dafc01420a74608be6924b'
17
'5722799901bc23ca1f391418d6e9d20e92ecce89612cd6e0185cffd51d06bff2'
18
'b327cb047f09c415af817f44a7d324ca9767ad280c9afce7145dafb06bb64a7a')
19
20
prepare() {
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
26
build() {
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
35
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |