xtetris
maintainer bidulock
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a legitimate Linux archive (ibiblio.org), which hosts official Linux software; the package builds from source and installs only game files, documentation, and metadata, posing no execution risk beyond the compiled program itself.
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 tarball from a legitimate Linux archive (ibiblio.org), which hosts official Linux software; the package builds from source and installs only game files, documentation, and metadata, posing no execution risk beyond the compiled program itself.
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.ibiblio.org/pub/Linux/games/arcade/tetris/${pkgname}-${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Brian Bidulock <bidulock@openss7.org>
2
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3
4
pkgname=xtetris
5
pkgver=2.6
6
pkgrel=3
7
pkgdesc="A classical tetris game for X11"
8
arch=('i686' 'x86_64')
9
url="http://happypenguin.org/show?XTetris"
10
license=('custom')
11
depends=('libxaw' 'xbitmaps')
12
makedepends=('imake' 'xorg-xrdb')
13
source=("http://www.ibiblio.org/pub/Linux/games/arcade/tetris/${pkgname}-${pkgver}.tar.gz"
14
"${pkgname}.patch"
15
"${pkgname}.png"
16
"${pkgname}.desktop")
17
md5sums=('9547dd17d0e53e295dd61f794b7acdb2'
18
'3eb32ac86d976cbc09b94718d63c5abf'
19
'98f0495078541db455b5fc5da896b83b'
20
'ebdda0c5f9dfd764cbc59e77a6f664b8')
21
22
prepare() {
23
cd "${srcdir}/${pkgname}-${pkgver}"
24
patch -Np2 -b -z .orig -i "../${pkgname}.patch"
25
}
26
27
build() {
28
cd "${srcdir}/${pkgname}-${pkgver}"
29
xmkmf
30
make \
31
CFLAGS="$CFLAGS -fcommon -Wno-implicit-int -Wno-implicit-function-declaration" \
32
LOCAL_LDFLAGS="$LDFLAGS"
33
}
34
35
package() {
36
cd "${srcdir}/${pkgname}-${pkgver}"
37
38
# Install game files
39
make DESTDIR="${pkgdir}" \
40
ETCX11DIR="/usr/share/X11" \
41
LIBDIR="/usr/share/${pkgname}" \
42
MANDIR="/usr/share/man/man6/" \
43
MANSUFFIX=6 \
44
SCOREFLAGS="-m666 -g root" \
45
install install.man
46
47
# Install pixmap and .desktop file
48
install -Dm644 "../${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
49
install -Dm644 "../${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
50
51
# Install readme and license
52
install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
53
install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
54
}
55
56
# vim:set ts=2 sw=2 et:
57
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |