xrick

LOW
maintainer carstene1ns 16 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a zip file from the project's official domain (bigorno.net), which hosts the upstream project; building from official project sources is normal for AUR packages, even if the host is not on a standard whitelist.

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 source is a zip file from the project's official domain (bigorno.net), which hosts the upstream project; building from official project sources is normal for AUR packages, even if the host is not on a standard whitelist.

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:13 source=("http://www.bigorno.net/xrick/$pkgname-$pkgver.zip"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
2# Contributor: grimi <grimi at poczta dot fm>
3
4pkgname=xrick
5pkgver=021212
6pkgrel=11
7pkgdesc='Clone of Rick Dangerous, a classic platform game'
8arch=('i686' 'x86_64')
9url='http://www.bigorno.net/xrick'
10license=('custom: spirit of GPL')
11depends=('sdl' 'zlib')
12makedepends=('imagemagick')
13source=("http://www.bigorno.net/xrick/$pkgname-$pkgver.zip"
14 "$pkgname.desktop"
15 "$pkgname-fs.desktop")
16sha256sums=('2a167169ccdb2c108e97d5d021da9be29356d756283f1c20d5a7ad121b4accf0'
17 '3dda77a8017e35767c8339fb92ce0a554912c98af33fb75e986ca1d30d40c320'
18 '5d8c57aeb0b4e445576f86aaa8b851315c4c31d03544f7ad4b95c9507551a625')
19
20prepare() {
21 cd $pkgname-$pkgver
22
23 # change data path
24 sed 's|"data.zip"|"/usr/share/xrick/data.zip"|' -i src/xrick.c
25 # add our build flags and gcc10+ fix
26 sed "s|CFLAGS=|CFLAGS+=-fcommon |;s|LDFLAGS=|LDFLAGS+=|" -i Makefile
27 # fix format-security
28 sed 's|printf(s)|printf("%s\\n", s)|' -i src/system.c
29
30 # create icon
31 convert src/xrickST.ico xrick.png
32
33 # change data path in manual page
34 gunzip xrick.6.gz
35 sed 's|where xrick is|/usr/share/xrick.|;s|run from.||' -i xrick.6
36 gzip xrick.6
37}
38
39build() {
40 cd $pkgname-$pkgver
41
42 make
43}
44
45package() {
46 cd $pkgname-$pkgver
47
48 # binary
49 install -Dm755 xrick "$pkgdir"/usr/bin/xrick
50 # data
51 install -d "$pkgdir"/usr/share/xrick
52 install -m644 {data.zip,KeyCodes} "$pkgdir"/usr/share/xrick/
53 # doc + license
54 install -Dm644 xrick.6.gz "$pkgdir"/usr/share/man/man6/xrick.6.gz
55 install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
56 install -Dm644 README "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
57 sed '5,27!d' -i "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
58 # .desktop files
59 install -Dm644 ../xrick.desktop "$pkgdir"/usr/share/applications/xrick.desktop
60 install -m644 ../xrick-fs.desktop "$pkgdir"/usr/share/applications
61 install -Dm644 xrick.png "$pkgdir"/usr/share/pixmaps/xrick.png
62}
63

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