eccodes
The package downloads source code and test data from official ECMWF domains (confluence.ecmwf.int and get.ecmwf.int) which are legitimate project hosts; building from project-owned infrastructure is normal for AUR packages, even if the domain is not on a whitelist.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads source code and test data from official ECMWF domains (confluence.ecmwf.int and get.ecmwf.int) which are legitimate project hosts; building from project-owned infrastructure is normal for AUR packages, even if the domain is not on a whitelist.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:16
"${pkgname}-${pkgver}-Source.tar.gz::https://confluence.ecmwf.int/download/attachments/${_attnum}/${pkgname}-${pkgver}-Source.tar.gz?api=v2" -
PKGBUILD:17
"${pkgname}-${pkgver}-test-data.tar.gz::https://get.ecmwf.int/repository/test-data/eccodes/eccodes_test_data.tar.gz"
PKGBUILD
2 offending line(s) highlighted# Maintainer: "Jan Kohnert <bughunter@jan-kohnert.de"
# Contributor: Graziano Giuliani <graziano.giuliani@poste.it>
pkgname=eccodes
pkgver=2.49.0
_attnum=45757960
pkgrel=2
pkgdesc="ECMWF decoding library for GRIB, BUFR and GTS"
arch=("i686" "x86_64")
url="https://confluence.ecmwf.int/display/ECC/ecCodes+Home"
license=("Apache-2.0")
depends=("glibc" "libaec" "libgcc" "libgfortran" "libpng" "libstdc++" "openjpeg2" "netcdf")
makedepends=("gcc-fortran" "cmake")
optdepends=("bash" "ksh")
conflicts=("grib_api" "libbufr-ecmwf")
source=(
"${pkgname}-${pkgver}-Source.tar.gz::https://confluence.ecmwf.int/download/attachments/${_attnum}/${pkgname}-${pkgver}-Source.tar.gz?api=v2"
"${pkgname}-${pkgver}-test-data.tar.gz::https://get.ecmwf.int/repository/test-data/eccodes/eccodes_test_data.tar.gz"
)
sha512sums=(
"eab828b2e21024cf8d809d6ff07a21fb6cf6b768b72272f9ce3f60d2298e1b157a7fb14e784566aef76d5126122a93f75cffc24f301713ba9a821519ddd08e3c"
"f03a1455e547bc14121066c4bd8b21d2617de22ad2f7956792b7ec58a5cab6008fd8a2e0772b3e0c5d6c0d4156adf268074ead66a6d44c380c13e064a29ed9ed"
)
build() {
# make sure we have a clean build environment
if [ -d build ]; then
rm -rf build
fi
local cmake_options=(
-B build
-S "$pkgname-$pkgver-Source"
-W no-dev
-D CMAKE_BUILD_TYPE=None
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_INSTALL_DATADIR=/usr/share
-D CMAKE_INSTALL_DATAROOTDIR="/usr/share/$pkgname/definitions"
-D ENABLE_AEC=ON
-D ENABLE_ECCODES_THREADS=ON
-D ENABLE_EXTRA_TESTS=ON
-D ENABLE_JPG=ON
-D ENABLE_JPG_LIBJASPER=OFF
-D ENABLE_JPG_LIBOPENJPEG=ON
-D ENABLE_PNG=ON
)
cmake "${cmake_options[@]}"
cmake --build build
}
check() {
# copy extra test data to build dir so we can skip downloading data while testing
cp -a data/* build/data/
# Test 'eccodes_t_grib_ecc-2221' does not work reliably an all machines
local excluded_tests="eccodes_t_grib_ecc-2221"
local ctest_flags=(
--test-dir build
# show the stdout and stderr when the test fails
--output-on-failure
# execute tests in parallel
--parallel $(nproc)
# exclude problematic tests
--exclude-regex "$excluded_tests"
)
ctest "${ctest_flags[@]}"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
Changes since previous scan
--- PKGBUILD @ 2026-10-17 00:21+++ PKGBUILD @ 2026-11-01 00:21@@ -1,7 +1,7 @@ # Maintainer: "Jan Kohnert <bughunter@jan-kohnert.de" # Contributor: Graziano Giuliani <graziano.giuliani@poste.it> pkgname=eccodes-pkgver=2.48.0+pkgver=2.49.0 _attnum=45757960 pkgrel=2 pkgdesc="ECMWF decoding library for GRIB, BUFR and GTS"@@ -17,8 +17,8 @@ "${pkgname}-${pkgver}-test-data.tar.gz::https://get.ecmwf.int/repository/test-data/eccodes/eccodes_test_data.tar.gz" ) sha512sums=(- "9e1b7c456ed65a06415038b2181543ce89ad9aa606380653d635b4304f5ef0ec243742702b441b265e927b98242bbc342ebd55e2426627dc1a40ab45e5ce3674"- "c7fde9744f63d4329a8373ee034169df6162ccd00b7f51bd8e271747d961101eeb93d5ec2c5ed644bec5eb82f3967c29630ba7375197a3cb40e7148f8d8484f2"+ "eab828b2e21024cf8d809d6ff07a21fb6cf6b768b72272f9ce3f60d2298e1b157a7fb14e784566aef76d5126122a93f75cffc24f301713ba9a821519ddd08e3c"+ "f03a1455e547bc14121066c4bd8b21d2617de22ad2f7956792b7ec58a5cab6008fd8a2e0772b3e0c5d6c0d4156adf268074ead66a6d44c380c13e064a29ed9ed" ) build() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 09:17:40 | Medium | 1 |
| 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 |