crashtest

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

The source is a tarball from the project's official domain (stolk.org), which is plausibly the project's own hosting; building from this source is normal AUR packaging practice and the checksums are verified, so the risk is low despite the non-whitelisted host.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official domain (stolk.org), which is plausibly the project's own hosting; building from this source is normal AUR packaging practice and the checksums are verified, so the risk is low despite the non-whitelisted host.

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 source=("https://stolk.org/$pkgname/$pkgname-$pkgver.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jose Riha <jose1711 gmail com>
2# Contributor: Ross Eldridge <ptepid@ptepid.org>
3pkgname=crashtest
4pkgver=1.1
5pkgrel=5
6pkgdesc="Educational car crash simulation"
7arch=(x86_64)
8url="https://stolk.org/crashtest/"
9license=(GPL-1.0-or-later)
10depends=(fltk glibc glu libgcc libglvnd libstdc++ ode)
11makedepends=(plib)
12source=("https://stolk.org/$pkgname/$pkgname-$pkgver.tar.gz"
13 fltk-1.4-x11.patch)
14sha256sums=('55c5ce29857263ceebc1c3f42c153f275dfc47711e9248395fd4398d6ef52ab9'
15 '149a7f01bb3699e88798fb39fb1eae28c84dbcc0b783500dc20b44709a774e0a')
16
17prepare() {
18 cd "$pkgname-$pkgver"
19 # force X11 backend, plib needs GLX (fixes crash on Wayland)
20 patch -Np1 -i ../fltk-1.4-x11.patch
21 # remove stale objects left over from previous builds in $srcdir
22 make -C src-crashtest clean
23}
24
25build() {
26 cd "$pkgname-$pkgver/src-crashtest"
27 # use system flags, add cairo include path needed by fltk 1.4 headers and link against shared libode instead of the static archive
28 make \
29 CXX="${CXX:-g++}" \
30 CXXFLAGS="$CXXFLAGS $(pkg-config --cflags cairo) -I../src-common" \
31 LFLAGS="$LDFLAGS" \
32 LIBS="-lode -lplibssgaux -lplibssg -lplibsg -lplibpu -lplibfnt -lplibul -lGLU -lGL $(fltk-config --use-gl --ldflags)"
33}
34
35package() {
36 cd "$pkgname-$pkgver/src-crashtest"
37 make DESTDIR="$pkgdir" install
38 install -Dm755 "$pkgdir/usr/games/crashtest" "$pkgdir/usr/bin/crashtest"
39 rm -r "$pkgdir/usr/games"
40 install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
41}
42

Changes since previous scan

--- PKGBUILD @ 2026-10-16 00:12
+++ PKGBUILD @ 2026-11-01 00:21
@@ -2,26 +2,41 @@
# Contributor: Ross Eldridge <ptepid@ptepid.org>
pkgname=crashtest
pkgver=1.1
-pkgrel=4
-arch=(i686 x86_64)
+pkgrel=5
pkgdesc="Educational car crash simulation"
-url="http://stolk.org/crashtest/"
-license=("GPL")
-depends=('ode' 'plib' 'fltk' 'alsa-lib')
-source=(http://stolk.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('f739c1599a25d9a5c19e8f3289de00dd')
+arch=(x86_64)
+url="https://stolk.org/crashtest/"
+license=(GPL-1.0-or-later)
+depends=(fltk glibc glu libgcc libglvnd libstdc++ ode)
+makedepends=(plib)
+source=("https://stolk.org/$pkgname/$pkgname-$pkgver.tar.gz"
+ fltk-1.4-x11.patch)
+sha256sums=('55c5ce29857263ceebc1c3f42c153f275dfc47711e9248395fd4398d6ef52ab9'
+ '149a7f01bb3699e88798fb39fb1eae28c84dbcc0b783500dc20b44709a774e0a')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ # force X11 backend, plib needs GLX (fixes crash on Wayland)
+ patch -Np1 -i ../fltk-1.4-x11.patch
+ # remove stale objects left over from previous builds in $srcdir
+ make -C src-crashtest clean
+}
build() {
- cd $srcdir/$pkgname-$pkgver/src-crashtest
- sed -i 's/libode.a/libode.so/' Makefile
- make
+ cd "$pkgname-$pkgver/src-crashtest"
+ # use system flags, add cairo include path needed by fltk 1.4 headers and link against shared libode instead of the static archive
+ make \
+ CXX="${CXX:-g++}" \
+ CXXFLAGS="$CXXFLAGS $(pkg-config --cflags cairo) -I../src-common" \
+ LFLAGS="$LDFLAGS" \
+ LIBS="-lode -lplibssgaux -lplibssg -lplibsg -lplibpu -lplibfnt -lplibul -lGLU -lGL $(fltk-config --use-gl --ldflags)"
}
package() {
- cd $srcdir/$pkgname-$pkgver/src-crashtest
- make DESTDIR=$pkgdir install
- mkdir -p $pkgdir/usr/bin
- mv $pkgdir/usr/games/crashtest $pkgdir/usr/bin
- rmdir $pkgdir/usr/games
+ cd "$pkgname-$pkgver/src-crashtest"
+ make DESTDIR="$pkgdir" install
+ install -Dm755 "$pkgdir/usr/games/crashtest" "$pkgdir/usr/bin/crashtest"
+ rm -r "$pkgdir/usr/games"
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}

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 13:16:10 Medium 1
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 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