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-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 |