hearse
maintainer Durag
· 7 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a personal domain, but it is the original upstream author's host and contains only the source code for a Perl script; the package builds from verifiable source with a provided checksum, and the worst case of a swapped source would be code execution during build, which is standard risk for AUR packages.
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 personal domain, but it is the original upstream author's host and contains only the source code for a Perl script; the package builds from verifiable source with a provided checksum, and the worst case of a swapped source would be code execution during build, which is standard risk for AUR packages.
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:15
"http://www.argon.org/~roderick/hearse/dist/$pkgname-$pkgver.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Marc Straube <email@marcstraube.de>
2
# Contributor: Kobokai <martinsteer AT maxi DOT net DOT au>
3
# Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
4
# Contributor: Callan Barrett <wizzomafizzo@gmail.com>
5
6
pkgname=hearse
7
pkgver=1.5
8
pkgrel=7
9
pkgdesc="Nethack online bones file exchanger"
10
arch=('i686' 'x86_64')
11
url="http://hearse.krollmark.com/"
12
license=('GPL')
13
depends=('perl-libwww')
14
source=(
15
"http://www.argon.org/~roderick/hearse/dist/$pkgname-$pkgver.tar.gz"
16
# "https://web.archive.org/web/20220524055801/http://www.argon.org/~roderick/hearse/dist/$pkgname-$pkgver.tar.gz"
17
"$pkgname.patch"
18
)
19
options=(!emptydirs)
20
install=hearse.install
21
md5sums=('4c022342d3f75af3b70a3e07e8e82ee0'
22
'7227c09106d43ff2c29f538b93ca2fde')
23
24
build() {
25
cd $srcdir/$pkgname-$pkgver
26
27
# 64-bit patch
28
patch -p3 -i "$srcdir/hearse.patch"
29
30
# Install module in vendor directories.
31
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
32
make
33
}
34
35
package() {
36
cd "$srcdir/$pkgname-$pkgver"
37
make install DESTDIR="$pkgdir/"
38
39
sed -e '/my $Run_as_user/ s/games/root/' \
40
-e '/my $Run_as_group/ s/games/root/' \
41
-i $pkgdir/usr/bin/vendor_perl/hearse
42
43
install -m644 -D $srcdir/$pkgname-$pkgver/hearse.conf \
44
$pkgdir/etc/nethack/hearse.conf
45
46
sed -e 's|# bones-dir.*|bones-dir /var/games/nethack|' \
47
-i $pkgdir/etc/nethack/hearse.conf
48
}
49
50
# vim:set ts=2 sw=2 et:
51
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 |