gog-qfg2

LOW
maintainer dcreager 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The non-standard host provides a patch file (SCRIPT.805) for game data, not executable code; the worst case of a swapped source is limited to data tampering, not code execution.

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 non-standard host provides a patch file (SCRIPT.805) for game data, not executable code; the worst case of a swapped source is limited to data tampering, not code execution.

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:12 "http://www.sierrahelp.com/Files/Patches/QuestForGlory/QfG2(QG2IMPRT).zip"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Douglas Creager <dcreager@dcreager.net>
2pkgname=gog-qfg2
3pkgver=2.1.0.34
4pkgrel=3
5pkgdesc="Quest for Glory 2: Trial by Fire"
6arch=('x86_64')
7url="https://www.gog.com/game/quest_for_glory"
8license=('custom')
9depends=('dosbox' 'unionfs-fuse')
10makedepends=('innoextract')
11source=("local://setup_quest_for_glory2_${pkgver}.exe"
12 "http://www.sierrahelp.com/Files/Patches/QuestForGlory/QfG2(QG2IMPRT).zip"
13 "local://gog-qfg2.desktop"
14 "local://run-qfg2.conf"
15 "local://run-qfg2.sh")
16sha256sums=('efda9c4ddd5753cbf39a25a3d90337f278ea11bd6c8f6352aab934c9d29a2796'
17 'f1e4f48ec968718896c53cd87a7ae2dd9e5832f8bdc62bb25697d383bd1c0441'
18 '68e6421220d95d4440bfcbd29030133dada506476f11e92b74bd3439937a0ec6'
19 'e8e28abd0667bce3d7fbcb66a814d8f445f1d012ee2b084a8e4a57e342900c6c'
20 'e88ab7fe5da10ddf5e5b1cb68740a16b0406f942792daea91d8015916c1c8765')
21
22prepare() {
23 innoextract setup_quest_for_glory2_${pkgver}.exe
24}
25
26package() {
27 mkdir -p "${pkgdir}/opt/gog"
28 cp -R "${srcdir}/app" "${pkgdir}/opt/gog/qfg2"
29 rm -rf "${pkgdir}/opt/gog/qfg2/DOSBOX"
30
31 # Apply import patch from
32 # http://www.sierrahelp.com/Patches-Updates/Patches-Updates-Games/QuestForGloryUpdates.html#QG2IMPRT
33 cp "${srcdir}/SCRIPT.805" "${pkgdir}/opt/gog/qfg2"
34
35 cp -R "run-qfg2.conf" "${pkgdir}/opt/gog/qfg2"
36 cp -R "run-qfg2.sh" "${pkgdir}/opt/gog/qfg2"
37 # Config file that tells game to use SB instead of Roland MIDI for music
38 #cp -R "RESOURCE.CFG" "${pkgdir}/opt/gog/qfg2"
39
40 mkdir -p "${pkgdir}/usr/share/applications"
41 cp "gog-qfg2.desktop" "${pkgdir}/usr/share/applications"
42}
43
44# vim:set ts=2 sw=2 et:
45

Scan history

Scanned at (UTC)SeverityRules
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 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
2026-10-13 00:23:45 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