folding

LOW
maintainer gamezelda 0 votes scanned 2026-09-17 00:27:14.276658
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-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