mondo
maintainer stef204
· 5 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a personal host (darcs.net), but it is the project's own source code being built, not a prebuilt executable; the worst case of a swapped source is building malicious code, but this is standard AUR build practice with low inherent risk.
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 host (darcs.net), but it is the project's own source code being built, not a prebuilt executable; the worst case of a swapped source is building malicious code, but this is standard AUR build practice with low inherent risk.
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:19
source=("https://hub.darcs.net/stef204/mondorescue-aur/raw/mondo-3.3.0.0.20201203152307.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
4
# Note: Inline sed fixes will be converted to proper patch files
5
# when upstream releases 3.3.0 stable.
6
7
pkgname=mondo
8
pkgver=3.3.0
9
pkgrel=2
10
pkgdesc="A disaster recovery solution to create bootable backup media"
11
arch=('x86_64')
12
url="http://www.mondorescue.org/"
13
license=('GPL2')
14
depends=('mindi' 'bzip2' 'afio' 'cdrkit' 'binutils' 'libnewt' 'buffer'
15
'syslinux' 'slang' 'xorriso' 'mondorescue-common')
16
makedepends=('gcc' 'autoconf' 'automake' 'libtool')
17
optdepends=('lzop: LZO compression support'
18
'lzo: LZO compression library')
19
source=("https://hub.darcs.net/stef204/mondorescue-aur/raw/mondo-3.3.0.0.20201203152307.tar.gz"
20
"https://hub.darcs.net/stef204/mondorescue-aur/raw/mondoarchive.8"
21
"https://hub.darcs.net/stef204/mondorescue-aur/raw/mondorestore.8")
22
sha512sums=('faa27afaf9be0805918c33c81f6566728ad43083043c1611c4d4e0abd638965054579fa03784bd4eee2636bb9c7624dce7090f5e852c9b0690144c4692ef550a'
23
'7267328d5cc012ca163b917732b0e105999072b617bd1daf6d57d98deed9df2e086ccf68d22f982da810272cd8d228e2593250372697863da1c40f898ad9f892'
24
'71cd19ebe9fab720fa1cdf1410ab35d70ca16216ea9522d8824f5232c6c72cc5c7260bdb75bc30a412992a2fb9e1ee979a405924c896e305decadcc51e1d86a9')
25
26
prepare() {
27
mv "${srcdir}/mondo-3.3.0.0.20201203152307" "${srcdir}/${pkgname}-${pkgver}"
28
cd "${srcdir}/${pkgname}-${pkgver}"
29
30
mkdir -p docs/man
31
cp "${srcdir}/mondoarchive.8" docs/man/
32
cp "${srcdir}/mondorestore.8" docs/man/
33
34
autoreconf -fi
35
36
sed -i 's|log_msg(1, "g_kernel_version = %f", d);|g_kernel_version = d;\n\tlog_msg(1, "g_kernel_version = %f", d);|' src/common/libmondo-tools.c
37
38
sed -i '35a #include <stdio.h>' src/common/libmondo-archive.c
39
sed -i '322s@return (retval);@/* fsync the afio file to prevent threading race */ { FILE *f = fopen(fname, "rb"); if (f) { fsync(fileno(f)); fclose(f); } }\n\treturn (retval);@' src/common/libmondo-archive.c
40
}
41
42
build() {
43
cd "${srcdir}/${pkgname}-${pkgver}"
44
./configure --prefix=/usr --sbindir=/usr/bin CFLAGS="-std=gnu17"
45
make
46
}
47
48
package() {
49
cd "${srcdir}/${pkgname}-${pkgver}"
50
make DESTDIR="${pkgdir}" install
51
52
install -d "${pkgdir}/var/cache/mondo"
53
install -d "${pkgdir}/usr/share/doc/mondo"
54
install -m644 INSTALL COPYING README* TODO AUTHORS NEWS* \
55
docs/en/mondorescue-howto.html docs/en/mondorescue-howto.pdf \
56
"${pkgdir}/usr/share/doc/mondo/" 2>/dev/null || true
57
}
58
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 |