gams
maintainer dybdeskarphet
· 4 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a self-extracting archive from GAMS's official CDN (CloudFront) hosting their own software; while the host is not whitelisted, it is plausibly official, and the package installs only the vendor's binaries and a desktop file without executing arbitrary remote code.
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 source is a self-extracting archive from GAMS's official CDN (CloudFront) hosting their own software; while the host is not whitelisted, it is plausibly official, and the package installs only the vendor's binaries and a desktop file without executing arbitrary remote code.
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:18
source=("$pkgname-$pkgver.exe::https://d37drm4t2jghv5.cloudfront.net/distributions/$pkgver/linux/linux_x64_64_sfx.exe"
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.2.0
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=('0177621225c510a79ba5f4658d9320718d08286f2b75d4254eaa0f875e0a06a0'
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
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 3 |
| 2026-07-19 00:17:08 | LOW | 3 |
| 2026-07-18 00:14:48 | LOW | 3 |
| 2026-07-17 00:06:16 | LOW | 3 |
| 2026-07-16 00:05:41 | LOW | 3 |
| 2026-07-15 00:09:25 | LOW | 3 |