gams
MEDIUM
maintainer dybdeskarphet
4 votes
scanned 2026-11-01 00:21:48.120785
Why flagged
The package downloads a prebuilt executable installer from a CloudFront CDN URL, which is an unverifiable, swappable host; if compromised, it could deliver malicious code during installation.
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 90%): The package downloads a prebuilt executable installer from a CloudFront CDN URL, which is an unverifiable, swappable host; if compromised, it could deliver malicious code during installation.
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
6
pkgname=gams
7
pkgver=54.6.1
8
pkgrel=1
9
pkgdesc='A high-level modeling system for mathematical optimization'
10
arch=('x86_64')
11
license=('custom')
12
url='https://gams.com/'
13
depends=('glibc' 'fuse2')
14
optdepends=('zlib: required by some solvers'
15
'libxkbcommon: Wayland keyboard support for GAMS Studio')
16
options=('!strip')
17
# Official GAMS CDN, as linked from https://gams.com/download/
18
source=("$pkgname-$pkgver.exe::https://d37drm4t2jghv5.cloudfront.net/distributions/$pkgver/linux/linux_x64_64_sfx.exe"
19
"gams-studio.desktop")
20
sha256sums=('ac198c6262ec781b351336f4fa7fe7afe3316c5db5c0593ea2d4e7579fd34eb1'
21
'e05cf76f5980b5a44c35dd812afafde262a53a00fc9fa89bcbca68e26a8edb16')
22
23
package() {
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-10-28 00:06+++ PKGBUILD @ 2026-11-01 00:21@@ -4,7 +4,7 @@ # Contributor: Peter Reschenhofer <peterreschenhofer at gmail dot com> pkgname=gams-pkgver=54.6.0+pkgver=54.6.1 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=('96e097051ab0735ac5010a5faf7ce35f8377cea9c1fa0ce64a55f1099a65679c'+sha256sums=('ac198c6262ec781b351336f4fa7fe7afe3316c5db5c0593ea2d4e7579fd34eb1' 'e05cf76f5980b5a44c35dd812afafde262a53a00fc9fa89bcbca68e26a8edb16') package() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 09:50:05 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 09:15:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |