systemrescue-usbwriter-appimage

maintainer vitaliikuzhdin · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a prebuilt AppImage and signature from the project's official CDN; while the host is not whitelisted, it is the project's own distribution infrastructure, and the AppImage is verified via PGP, making the risk 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-07-25) 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 whitelisted, it is the project's own distribution infrastructure, and the AppImage is verified via PGP, making the risk 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.0
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=('dae313e88882d43bee05ace02faafe763dccd47f1ae711187609b60454ef7792ef171464f0c9df2142807a0dee66631d8badd3bcea95c6a7366dd95838ba5dae')
37sha512sums_x86_64=('d8b705266d1a20e0752aa0ac61d111a15198ba75379d1bcc1bf386603b28358c6d0e37a3105cb04144e585fefdc80d87c6f3797952b502406a71e7becfec9a7c'
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-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