mondorescue-common

maintainer stef204 · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source URLs are hosted on darcs.net, a non-whitelisted but plausible project-owned forge; the package builds Perl modules from source, which is normal AUR practice, and the worst case of a swapped source would be malicious code execution, but the context suggests legitimate development use.

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 90%): The source URLs are hosted on darcs.net, a non-whitelisted but plausible project-owned forge; the package builds Perl modules from source, which is normal AUR practice, and the worst case of a swapped source would be malicious code execution, but the context suggests legitimate development use.

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:12 source=("https://hub.darcs.net/stef204/mondorescue-aur/raw/MondoRescue-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: stef204 < base64 -d c3RlZjIwNEB5YW5kZXguY29tCg== >
2# Contributor: brent s. <bts[at]square-r00t[dot]net>
3
4pkgname=mondorescue-common
5pkgver=3.3.0
6pkgrel=1
7pkgdesc="Common libraries and tools for MondoRescue (Mondo and Mindi)"
8arch=('x86_64')
9url="http://www.mondorescue.org/"
10license=('GPL2')
11depends=('perl')
12source=("https://hub.darcs.net/stef204/mondorescue-aur/raw/MondoRescue-${pkgver}.tar.gz"
13 "https://hub.darcs.net/stef204/mondorescue-aur/raw/ProjectBuilder-0.16.1.tar.gz"
14 "https://hub.darcs.net/stef204/mondorescue-aur/raw/Kernel.pm-zst.patch")
15sha512sums=('7c67f725eaee334826a6060149b6f41e5cc4a844d68d419eb89de03989821bd78f0110303c09cfb3b81ef4beebbbf8ad1b5dd9e9ddbed4c0d09f7ee96fc6a184'
16 'f18f76507a8c59f3316fcfc1460e480730995fe7e08b57cf5479c22f440526700e3619906182d4f26a449020ff3cf5d8ef3e82bf45ee8b00852d6bc44fa92b2b'
17 'b8cec0df957c040dee39df32770e790f13afe85f72fa3f0d946f7cd82b5e650f8a0d9ed0a5526a0272468e91a4b8359b6bffea56b530038de03f5033ece0a8ed')
18
19prepare() {
20 cd "${srcdir}"
21 tar xzf ProjectBuilder-0.16.1.tar.gz ProjectBuilder-0.16.1/lib/ProjectBuilder
22 cd "${srcdir}/MondoRescue-${pkgver}"
23 patch -p1 -i "${srcdir}/Kernel.pm-zst.patch"
24}
25
26build() {
27 cd "${srcdir}/MondoRescue-${pkgver}"
28 perl Makefile.PL INSTALLDIRS=vendor
29 make
30}
31
32package() {
33 cd "${srcdir}/MondoRescue-${pkgver}"
34 make install DESTDIR="${pkgdir}"
35
36 mv "${pkgdir}/usr/bin/vendor_perl/"* "${pkgdir}/usr/bin/"
37 rmdir "${pkgdir}/usr/bin/vendor_perl"
38
39 if [ -d "${pkgdir}/usr/local/share/man" ]; then
40 install -d "${pkgdir}/usr/share/man/man5"
41 mv "${pkgdir}/usr/local/share/man/man5/"* "${pkgdir}/usr/share/man/man5/" 2>/dev/null || true
42 rm -rf "${pkgdir}/usr/local"
43 fi
44
45 install -d "${pkgdir}/usr/share/perl5/vendor_perl/ProjectBuilder"
46 cp -r "${srcdir}/ProjectBuilder-0.16.1/lib/ProjectBuilder/"* "${pkgdir}/usr/share/perl5/vendor_perl/ProjectBuilder/"
47
48 find "${pkgdir}/usr/share/perl5" -type d -exec chmod 755 {} \;
49 find "${pkgdir}/usr/share/perl5" -type f -exec chmod 644 {} \;
50}
51

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion