rogue
maintainer sethkush
· 11 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a project-specific domain (rogue.rogueforge.net) that hosts the official source code; building from this source is standard 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from a project-specific domain (rogue.rogueforge.net) that hosts the official source code; building from this source is standard 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:13
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")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: libele <libele@disroot.org>
2
# Contributor: Kyle Keen <keenerd@gmail.com>
3
4
pkgname=rogue
5
pkgver=5.4.4
6
pkgrel=2
7
epoch=1
8
pkgdesc="The original dungeon crawl game."
9
arch=('aarch64' 'arm' 'armv6h' 'armv7h' 'i486' 'i686' 'pentium4' 'x86_64')
10
url="http://rogue.rogueforge.net/rogue-5-4/"
11
license=('custom')
12
depends=('ncurses')
13
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")
14
md5sums=('033288f46444b06814c81ea69d96e075' '31425d9ff4907ea0de54624aab92336c')
15
16
prepare() {
17
cd $pkgname$pkgver
18
# ncurses fix, FS#57731
19
sed -i '262i TERMTYPE *tp = (TERMTYPE *) (cur_term);' mdport.c
20
sed -i 's/cur_term->type.Strings/tp->Strings/' mdport.c
21
22
# Use wmove instead of trying to accesses fields of an opaque struct
23
sed -i '/curscr->_curx = ox;/d' main.c
24
sed -i 's/curscr->_cury = oy;/wmove(curscr, oy, ox);/' main.c
25
26
}
27
28
build() {
29
cd $pkgname$pkgver
30
mv ../config.guess config.guess
31
CFLAGS="-g -O2 -std=gnu18" ./configure
32
make
33
}
34
35
package() {
36
cd $pkgname$pkgver
37
install -Dm755 rogue "$pkgdir/usr/bin/rogue"
38
install -Dm644 rogue.6 "$pkgdir/usr/share/man/man6/rogue.6"
39
install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE.TXT"
40
}
41
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 |