folding

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

The source is a legitimate project tarball from the BSC's official tools subdomain, building the project's own code; the non-whitelisted host is plausibly project-owned, and no untrusted executable is run.

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 legitimate project tarball from the BSC's official tools subdomain, building the project's own code; the non-whitelisted host is plausibly project-owned, and no untrusted executable is run.

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:11 source=("https://ftp.tools.bsc.es/$pkgname/$pkgname-${pkgver%.*}-src.tar.bz2"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Joan Bruguera Micó <joanbrugueram@gmail.com>
2pkgname='folding'
3pkgdesc='Combined instrumentation and sampling for instantaneous metric evolution with low overhead (from BSC).'
4pkgver='1.4.2.20250211'
5pkgrel='2'
6arch=('x86_64')
7url='https://www.bsc.es/discover-bsc/organisation/scientific-structure/performance-tools'
8license=('LGPL-2.1-or-later')
9depends=(boost qt5-base libbsctools r clang python)
10makedepends=(gcc-fortran)
11source=("https://ftp.tools.bsc.es/$pkgname/$pkgname-${pkgver%.*}-src.tar.bz2"
12 python3-ports.patch)
13sha512sums=(6cfcf562cc056d7135c42313640ff63432096c725dab34f79ea6e13a929ab60b6b1cf2075248a8b49c9218d59709d314155ada179221d136c13a1f1df7c8cd17
14 f62af324cfe585605dbdfdb87fa7877cb794ba854c1445193710f22ce3cb92effcfcb7c6b8e32286f927bd0804478580b6358b62f15cba789359862bc0589aa1)
15
16prepare() {
17 cd "$srcdir/$pkgname-${pkgver%.*}"
18
19 # WORKAROUND: The configure/make scripts check if a static version (.a) of the libbsctools libraries
20 # are installed, and fails to detect libbsctools if they aren't.
21 # Since we're going to link against the dynamic version (.so) as is typical in Arch,
22 # hack it up to check for the dynamic version consistently instead
23 sed -i 's/\.a/.so/g' config/libbsctools.m4
24
25 autoreconf -i -f -I config
26
27 # WORKAROUND: Fix some scripts that still only work with Python 2
28 patch -Np1 -i "$srcdir/python3-ports.patch"
29}
30
31build() {
32 cd "$srcdir/$pkgname-${pkgver%.*}"
33
34 # NOTE: The following optional features are NOT enabled:
35 # * LaTeX documentation
36 ./configure \
37 --prefix=/usr \
38 --with-libbsctools=/usr
39
40 make
41}
42
43package() {
44 cd "$srcdir/$pkgname-${pkgver%.*}"
45
46 make prefix="$pkgdir/usr/" install
47
48 # FIXME: Why are those libraries from libbsctools copied to the package directory when installing?
49 rm "${pkgdir}/usr/lib/libparavertraceconfig.so"
50 rm "${pkgdir}/usr/lib/libparavertraceparser.so"
51}
52

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