rogue

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

The source is a tarball from the maintainer's personal site, but it is the original source code being built normally, with a valid checksum; the package does not execute untrusted prebuilt binaries or run code from ambiguous sources.

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 maintainer's personal site, but it is the original source code being built normally, with a valid checksum; the package does not execute untrusted prebuilt binaries or run code from ambiguous sources.

2 higher static findings 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:19 source=("https://beej.us/moria/files/rogue/rogue${pkgver}-src.tar.gz" "config.guess")
Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Beej <beej@beej.us>
2# Contributor: libele <libele@disroot.org>
3# Contributor: Kyle Keen <keenerd@gmail.com>
4
5pkgname=rogue
6pkgver=5.4.4
7pkgrel=3
8epoch=1
9pkgdesc="The original dungeon crawl game."
10arch=('aarch64' 'arm' 'armv6h' 'armv7h' 'i486' 'i686' 'pentium4' 'x86_64')
11url="http://rogue.rogueforge.net/rogue-5-4/"
12license=('LicenseRef-custom')
13depends=('ncurses')
14
15# The main site seems to be down. I mirrored the source from the
16# Internet Archive onto my Moria site for now.
17
18#source=("http://rogue.rogueforge.net/files/rogue5.4/rogue${pkgver}-src.tar.gz" "config.guess::https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=428664896cf9e92d264976a960c76660938dffce")
19source=("https://beej.us/moria/files/rogue/rogue${pkgver}-src.tar.gz" "config.guess")
20sha256sums=('7d37a61fc098bda0e6fac30799da347294067e8e079e4b40d6c781468e08e8a1'
21 'ac18bbd7dc3769e1646af49ebba331a391829f4a73579b735dc8d439bd1c7f07')
22
23prepare() {
24 cd $pkgname$pkgver
25 # ncurses fix, FS#57731
26 sed -i '262i TERMTYPE *tp = (TERMTYPE *) (cur_term);' mdport.c
27 sed -i 's/cur_term->type.Strings/tp->Strings/' mdport.c
28
29 # Use wmove instead of trying to accesses fields of an opaque struct
30 sed -i '/curscr->_curx = ox;/d' main.c
31 sed -i 's/curscr->_cury = oy;/wmove(curscr, oy, ox);/' main.c
32}
33
34build() {
35 cd $pkgname$pkgver
36 cp ../config.guess config.guess
37 CFLAGS="-g -O2 -std=gnu18" ./configure
38 make
39}
40
41package() {
42 cd $pkgname$pkgver
43 install -Dm755 rogue "$pkgdir/usr/bin/rogue"
44 install -Dm644 rogue.6 "$pkgdir/usr/share/man/man6/rogue.6"
45 install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE.TXT"
46}
47

Changes since previous scan

--- PKGBUILD @ 2026-10-27 00:23
+++ PKGBUILD @ 2026-11-01 00:21
@@ -1,17 +1,24 @@
-# Maintainer: libele <libele@disroot.org>
+# Maintainer: Beej <beej@beej.us>
+# Contributor: libele <libele@disroot.org>
# Contributor: Kyle Keen <keenerd@gmail.com>
pkgname=rogue
pkgver=5.4.4
-pkgrel=2
+pkgrel=3
epoch=1
pkgdesc="The original dungeon crawl game."
arch=('aarch64' 'arm' 'armv6h' 'armv7h' 'i486' 'i686' 'pentium4' 'x86_64')
url="http://rogue.rogueforge.net/rogue-5-4/"
-license=('custom')
+license=('LicenseRef-custom')
depends=('ncurses')
-source=("http://rogue.rogueforge.net/files/rogue5.4/rogue${pkgver}-src.tar.gz" "config.guess::https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=428664896cf9e92d264976a960c76660938dffce")
-md5sums=('033288f46444b06814c81ea69d96e075' '31425d9ff4907ea0de54624aab92336c')
+
+# The main site seems to be down. I mirrored the source from the
+# Internet Archive onto my Moria site for now.
+
+#source=("http://rogue.rogueforge.net/files/rogue5.4/rogue${pkgver}-src.tar.gz" "config.guess::https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=428664896cf9e92d264976a960c76660938dffce")
+source=("https://beej.us/moria/files/rogue/rogue${pkgver}-src.tar.gz" "config.guess")
+sha256sums=('7d37a61fc098bda0e6fac30799da347294067e8e079e4b40d6c781468e08e8a1'
+ 'ac18bbd7dc3769e1646af49ebba331a391829f4a73579b735dc8d439bd1c7f07')
prepare() {
cd $pkgname$pkgver
@@ -22,12 +29,11 @@
# Use wmove instead of trying to accesses fields of an opaque struct
sed -i '/curscr->_curx = ox;/d' main.c
sed -i 's/curscr->_cury = oy;/wmove(curscr, oy, ox);/' main.c
-
}
build() {
cd $pkgname$pkgver
- mv ../config.guess config.guess
+ cp ../config.guess config.guess
CFLAGS="-g -O2 -std=gnu18" ./configure
make
}

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 3
2026-10-31 00:07:41 Low 3
2026-10-30 00:29:30 Low 3
2026-10-29 00:13:55 Low 3
2026-10-28 00:06:54 Low 3
2026-10-27 21:48:49 Medium 2
2026-10-27 00:23:28 Low 3
2026-10-26 21:45:59 Medium 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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion