purity
The package downloads game data files (pk3) from the project's own domain, which is not on the whitelist but plausibly official; these are non-executable assets, so the worst case of a swapped source is limited to data tampering, not code execution.
Triggered rules
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 package downloads game data files (pk3) from the project's own domain, which is not on the whitelist but plausibly official; these are non-executable assets, so 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)
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:13
source=('http://vectorpoem.com/purity/latest_content/core.pk3'
PKGBUILD
1 offending line(s) highlighted# Contributor: MCMic <come@chilliet.eu>
pkgname=purity
pkgver=20071027
pkgrel=6
pkgdesc="An abstract first-person shooter built on the Quake3 engine."
arch=('i686' 'x86_64')
url="http://vectorpoem.com/purity/"
license=('GPL')
depends=()
makedepends=('make' 'mercurial')
optdepends=('zenity: allow using purity-zen to choose graphically the map')
source=('http://vectorpoem.com/purity/latest_content/core.pk3'
'http://vectorpoem.com/purity/latest_content/map0.pk3'
'http://vectorpoem.com/purity/latest_content/vm.pk3'
'purity-zen'
'hg+https://bitbucket.org/JPLeBreton/purity')
noextract=( 'core.pk3'
'map0.pk3'
'vm.pk3')
md5sums=('4f5b6af36a738a54570f21fb24177edd'
'b7f5730e443ea5c066d7ef67bce09892'
'8396c0dfe49c31ff866800837bf80d9d'
'8361d4586bf2c0dd1a31edddf8b70d89'
'SKIP')
pgkver() {
cd $srcdir/$pkgname
# As per the wiki the version is r<commit number>.<commit hash>
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
build() {
cd $srcdir/$pkgname
make
msg "Cleaning and adapting scripts"
build_folder=`ls ${srcdir}/$pkgname/build`
bin_name=`ls ${srcdir}/$pkgname/build/$build_folder | grep "purity\."`
bin_serv=`ls ${srcdir}/$pkgname/build/$build_folder | grep "purity-ded"`
bin_path=/opt/$pkgname/build/$build_folder/$bin_name
serv_path=/opt/$pkgname/build/$build_folder/$bin_serv
_bin=`echo $bin_path | sed "s|\/|\\\/|g"`
_serv=`echo $serv_path | sed "s|\/|\\\/|g"`
rm *.exe
for i in `ls *.bat | cut -d'.' -f1`
do sed -i "s|@start purity.x86|$_bin|" $i.bat
sed -i "s|@start purity-ded.x86|$_serv|" $i.bat
mv $i.bat $i.sh
chmod +x $i.sh
done
sed -i "s|purity_cmd|$_bin|" ${srcdir}/purity-zen
}
package() {
mkdir -p ${pkgdir}/usr/bin
cp ${srcdir}/$pkgname/purity.sh ${pkgdir}/usr/bin/
cp ${srcdir}/purity-zen ${pkgdir}/usr/bin/
mkdir -p ${pkgdir}/opt/$pkgname/build/$build_folder/base
cp -r ${srcdir}/$pkgname ${pkgdir}/opt/
cp ${srcdir}/*.pk3 ${pkgdir}/opt/$pkgname/build/$build_folder/base/
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |