gams
The package downloads a prebuilt Windows executable (.exe) from a CloudFront CDN URL, which is then used in the build; while CloudFront is a standard hosting service, the source is a non-whitelisted, non-official domain for the project, and the payload is an unverifiable self-extracting archive, posing a potential supply-chain risk if the domain were compromised.
Triggered rules
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:18
source=("$pkgname-$pkgver.exe::https://d37drm4t2jghv5.cloudfront.net/distributions/$pkgver/linux/linux_x64_64_sfx.exe"
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt Windows executable (.exe) from a CloudFront CDN URL, which is then used in the build; while CloudFront is a standard hosting service, the source is a non-whitelisted, non-official domain for the project, and the payload is an unverifiable self-extracting archive, posing a potential supply-chain risk if the domain were compromised.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Ahmet Arda Kavakcı <ahmetardakavakci at gmail dot com>
# Contributor: Marco Rodolfi <marco dot rodolfi at tuta dot io>
# Contributor: gaelic <gaelic at luchmhor dot net>
# Contributor: Peter Reschenhofer <peterreschenhofer at gmail dot com>
pkgname=gams
pkgver=54.4.0
pkgrel=1
pkgdesc='A high-level modeling system for mathematical optimization'
arch=('x86_64')
license=('custom')
url='https://gams.com/'
depends=('glibc' 'fuse2')
optdepends=('zlib: required by some solvers'
'libxkbcommon: Wayland keyboard support for GAMS Studio')
options=('!strip')
# Official GAMS CDN, as linked from https://gams.com/download/
source=("$pkgname-$pkgver.exe::https://d37drm4t2jghv5.cloudfront.net/distributions/$pkgver/linux/linux_x64_64_sfx.exe"
"gams-studio.desktop")
sha256sums=('e395dfb124caf6372340dbbd9616939125c680fbec5291046db0d73d6e88db85'
'e05cf76f5980b5a44c35dd812afafde262a53a00fc9fa89bcbca68e26a8edb16')
package() {
install -d "$pkgdir/opt/gams" "$pkgdir/usr/bin"
cp -a --no-preserve=ownership "gams${pkgver::4}_linux_x64_64_sfx/"* "$pkgdir/opt/gams/"
install -Dvm644 gams-studio.desktop -t "$pkgdir/usr/share/applications/"
ln -sv "/opt/gams/gams" "$pkgdir/usr/bin/gams"
ln -sv "/opt/gams/studio/studio.AppImage" "$pkgdir/usr/bin/gams-studio"
# license
install -Dvm644 "gams${pkgver::4}_linux_x64_64_sfx/EULA.md" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Changes since previous scan
--- PKGBUILD @ 2026-09-12 00:25+++ PKGBUILD @ 2026-09-17 00:27@@ -4,7 +4,7 @@ # Contributor: Peter Reschenhofer <peterreschenhofer at gmail dot com> pkgname=gams-pkgver=54.3.1+pkgver=54.4.0 pkgrel=1 pkgdesc='A high-level modeling system for mathematical optimization' arch=('x86_64')@@ -17,7 +17,7 @@ # Official GAMS CDN, as linked from https://gams.com/download/ source=("$pkgname-$pkgver.exe::https://d37drm4t2jghv5.cloudfront.net/distributions/$pkgver/linux/linux_x64_64_sfx.exe" "gams-studio.desktop")-sha256sums=('cff00b54dacb7c9178520e0e2dec4a2d7d38f9d61f56c58e8e2b3f5efda37481'+sha256sums=('e395dfb124caf6372340dbbd9616939125c680fbec5291046db0d73d6e88db85' 'e05cf76f5980b5a44c35dd812afafde262a53a00fc9fa89bcbca68e26a8edb16') package() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 09:11:25 | Medium | 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 |