calculix-precice

LOW
maintainer carlosal1015 2 votes scanned 2026-11-01 00:21:48.120785
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-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