systemrescue-usbwriter-appimage

LOW
maintainer vitaliikuzhdin 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt AppImage and signature from the project's official CDN; while the host is not a standard one, it is plausibly official, and the AppImage is verified via PGP, limiting supply-chain risk to LOW.

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 package downloads a prebuilt AppImage and signature from the project's official CDN; while the host is not a standard one, it is plausibly official, and the AppImage is verified via PGP, limiting supply-chain risk to LOW.

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:33 "${_pkgsrc}-x86_64.AppImage::https://fastly-cdn.system-rescue.org/download/usbwriter/${pkgver}/${_name}-x86_64.AppImage"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
2
3_name="sysrescueusbwriter"
4_pkgname="systemrescue-usbwriter"
5pkgname="${_pkgname}-appimage"
6pkgver=1.1.1
7pkgrel=1
8pkgdesc="Tool to write SystemRescue to a USB memory stick"
9arch=(
10 'x86_64'
11)
12url="https://gitlab.com/systemrescue/${_pkgname}"
13license=(
14 'GPL-3.0-or-later'
15)
16depends=(
17 'glibc'
18)
19provides=(
20 "${_pkgname}"
21)
22conflicts=(
23 "${_pkgname}"
24)
25options=(
26 '!strip'
27)
28_pkgsrc="${_pkgname}-${pkgver}"
29source=(
30 "${_pkgsrc}-README.md::${url}/-/raw/${pkgver}/README.md?ref_type=tags&inline=false"
31)
32source_x86_64=(
33 "${_pkgsrc}-x86_64.AppImage::https://fastly-cdn.system-rescue.org/download/usbwriter/${pkgver}/${_name}-x86_64.AppImage"
34 "${_pkgsrc}-x86_64.AppImage.asc::https://fastly-cdn.system-rescue.org/download/usbwriter/${pkgver}/${_name}-x86_64.AppImage.asc"
35)
36sha512sums=('31d9d38133dc5b9b2efb6ac8ca2ad043327f61b2cfea43252ce177e0b892eaa90bd7f2c657f392052113652290737a0a476bba4327af935e8dbe62055c1b5320')
37sha512sums_x86_64=('1671b7fd052f7e96800822bc24bb485a90dce700fa6625bcd53797f904f618ea675ecad10d18ba9af0524e21199b6943240d825dcd1a1f25bbe656f9018bd677'
38 'SKIP')
39validpgpkeys=(
40 '0FF11AF081E98345594812037091115F8320B897' # Francois Dupoux 20210704 (Generated on 20210704)
41)
42
43prepare() {
44 cd "${srcdir}"
45 chmod +x "${_pkgsrc}-${CARCH}.AppImage"
46 ./"${_pkgsrc}-${CARCH}.AppImage" --appimage-extract > /dev/null
47 rm -rf "${_pkgsrc}-${CARCH}"
48 mv -f "squashfs-root" "${_pkgsrc}-${CARCH}"
49}
50
51# pkgver() {
52# cd "${srcdir}/${_pkgsrc}-${CARCH}/usr/share/versions"
53# cat "${_name}"
54# }
55
56build() {
57 cd "${srcdir}"
58 # Fix permissions; .AppImage permissions are 700 for all directories
59 chmod -R a-x+rX "${_pkgsrc}-${CARCH}"/
60}
61
62package() {
63 cd "${srcdir}"
64 install -vDm755 "${_pkgsrc}-${CARCH}.AppImage" "${pkgdir}/opt/${_name}/${_name}.AppImage"
65 install -vDm644 "${_pkgsrc}-README.md" "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
66
67 cd "${srcdir}/${_pkgsrc}-${CARCH}"
68 install -vDm644 "${_name}.desktop" "${pkgdir}/usr/share/applications/${_name}.desktop"
69 install -vDm644 "${_name}.png" "${pkgdir}/usr/share/pixmaps/${_name}.png"
70
71 cd "${srcdir}/${_pkgsrc}-${CARCH}/usr/share/licenses/${_name}"
72 install -vDm644 "GPL-3.0-or-later" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
73
74 cd "${srcdir}/${_pkgsrc}-${CARCH}/usr/share/metainfo"
75 install -vDm644 "org.system_rescue.systemrescue_usb_writer.metainfo.xml" \
76 "${pkgdir}/usr/share/metainfo/org.system_rescue.systemrescue_usb_writer.metainfo.xml"
77
78 install -vdm755 "${pkgdir}/usr/bin"
79 ln -vs "/opt/${_name}/${_name}.AppImage" "${pkgdir}/usr/bin/${_name}"
80}
81

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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