gams

MEDIUM
maintainer dybdeskarphet 4 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

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:18 source=("$pkgname-$pkgver.exe::https://d37drm4t2jghv5.cloudfront.net/distributions/$pkgver/linux/linux_x64_64_sfx.exe"
Medium AI review 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
1# Maintainer: Ahmet Arda Kavakcı <ahmetardakavakci at gmail dot com>
2# Contributor: Marco Rodolfi <marco dot rodolfi at tuta dot io>
3# Contributor: gaelic <gaelic at luchmhor dot net>
4# Contributor: Peter Reschenhofer <peterreschenhofer at gmail dot com>
5
6pkgname=gams
7pkgver=54.4.0
8pkgrel=1
9pkgdesc='A high-level modeling system for mathematical optimization'
10arch=('x86_64')
11license=('custom')
12url='https://gams.com/'
13depends=('glibc' 'fuse2')
14optdepends=('zlib: required by some solvers'
15 'libxkbcommon: Wayland keyboard support for GAMS Studio')
16options=('!strip')
17# Official GAMS CDN, as linked from https://gams.com/download/
18source=("$pkgname-$pkgver.exe::https://d37drm4t2jghv5.cloudfront.net/distributions/$pkgver/linux/linux_x64_64_sfx.exe"
19 "gams-studio.desktop")
20sha256sums=('e395dfb124caf6372340dbbd9616939125c680fbec5291046db0d73d6e88db85'
21 'e05cf76f5980b5a44c35dd812afafde262a53a00fc9fa89bcbca68e26a8edb16')
22
23package() {
24 install -d "$pkgdir/opt/gams" "$pkgdir/usr/bin"
25 cp -a --no-preserve=ownership "gams${pkgver::4}_linux_x64_64_sfx/"* "$pkgdir/opt/gams/"
26 install -Dvm644 gams-studio.desktop -t "$pkgdir/usr/share/applications/"
27 ln -sv "/opt/gams/gams" "$pkgdir/usr/bin/gams"
28 ln -sv "/opt/gams/studio/studio.AppImage" "$pkgdir/usr/bin/gams-studio"
29
30 # license
31 install -Dvm644 "gams${pkgver::4}_linux_x64_64_sfx/EULA.md" \
32 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
33}
34

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)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion