gog-qfg2

LOW
maintainer dcreager 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 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
2026-08-29 00:29:17 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