calculix-precice

LOW
maintainer carlosal1015 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The non-standard host (dhondt.de) hosts a source tarball for CalculiX, which is a legitimate project component; building from project-owned sources is normal AUR practice, and no code execution or exfiltration occurs.

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 non-standard host (dhondt.de) hosts a source tarball for CalculiX, which is a legitimate project component; building from project-owned sources is normal AUR practice, and no code execution or exfiltration occurs.

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:14 http://dhondt.de/ccx_${pkgver::4}.src.tar.bz2)

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Gerasimos Chourdakis <chourdak at in dot tum dot de>
2# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
3pkgname=calculix-precice
4pkgver=2.20.1
5pkgrel=6
6pkgdesc="preCICE-adapter for the CSM code CalculiX"
7url="https://github.com/${pkgname/calculix-/}/${pkgname/precice/adapter}"
8license=(GPL-3.0-or-later)
9arch=(x86_64)
10depends=(calculix-ccx precice yaml-cpp) # pastix
11makedepends=(gcc-fortran pandoc-cli) # mono
12optdepends=('man-db: manual pages for ccx_preCICE')
13source=(${pkgname/precice/adapter}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz
14 http://dhondt.de/ccx_${pkgver::4}.src.tar.bz2)
15sha512sums=('52fbef41b3eed6ce211bb09d22d40511392669dcf2144d0a83249c6bfd6bf3a81d4d68cd04085902d54e635ce2c0e7c2e57f492eef6dcb10906991dd611a4790'
16 '3888c1411ad42c6f2483cbf7d8994e8175ffa9ad4f0c4df224e2d16a7d80973d32f6a8cf10844255586d4f8e076fee99017cee5f2b9bb6576b82edcfe4b4ffb8')
17
18prepare() {
19 # https://github.com/precice/precice.github.io/blob/master/pages/docs/adapters/calculix/adapter-calculix-get-adapter.md?plain=1#L94
20 sed -i 's/^FFLAGS = -Wall -O3 -fopenmp $(INCLUDES)/FFLAGS = -Wall -O3 -fopenmp -fallow-argument-mismatch $(INCLUDES)/' ${pkgname/precice/adapter}-${pkgver}/Makefile
21 sed -i 's/^CFLAGS = -Wall/CFLAGS =-std=gnu11 -Wno-implicit-function-declaration -Wno-incompatible-pointer-types/' ${pkgname/precice/adapter}-${pkgver}/Makefile
22 cd ${pkgname/precice/adapter}-${pkgver}/packaging
23 pandoc manpage.md -s -t man -o ccx_preCICE.1
24}
25
26build() {
27 cd ${pkgname/precice/adapter}-${pkgver}
28 make CCX="${srcdir}/CalculiX/ccx_${pkgver::4}/src"
29}
30
31check() {
32 cd ${pkgname/precice/adapter}-${pkgver}
33 ./bin/ccx_preCICE -v || true
34}
35
36package() {
37 cd ${pkgname/precice/adapter}-${pkgver}
38 install -Dvm755 bin/ccx_preCICE -t ${pkgdir}/usr/bin
39 install -Dm 644 LICENSE -t ${pkgdir}/usr/share/licenses/${pkgname}
40 install -Dm 644 packaging/ccx_preCICE.1 -t ${pkgdir}/usr/share/man/man1/
41 install -Dm 644 README.md -t ${pkgdir}/usr/share/doc/${pkgname}
42}
43

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