echoed-appimage

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

The package downloads a prebuilt AppImage from a non-whitelisted host (software.echoed.gg), which is not a standard or widely trusted domain, posing a supply-chain risk if the host is compromised or malicious.

Triggered rules

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:16 "${_appimage}::https://software.echoed.gg/v${pkgver}/Echoed_${pkgver}_amd64.AppImage"
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt AppImage from a non-whitelisted host (software.echoed.gg), which is not a standard or widely trusted domain, posing a supply-chain risk if the host is compromised or malicious.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: in6kiar
2
3_pkgname=echoed
4pkgname="${_pkgname}-appimage"
5pkgver=1.7.9
6pkgrel=1
7pkgdesc="Lightweight Discord alternative — No Ads, No Tracking, Built on Tauri"
8arch=('x86_64')
9url="https://echoed.gg"
10license=('custom')
11depends=('fuse2' 'hicolor-icon-theme')
12makedepends=('squashfs-tools')
13options=(!strip !debug)
14_appimage="${_pkgname}-${pkgver}-amd64.AppImage"
15source_x86_64=(
16 "${_appimage}::https://software.echoed.gg/v${pkgver}/Echoed_${pkgver}_amd64.AppImage"
17)
18
19noextract=("${_appimage}")
20sha256sums_x86_64=('fe76029670a93dce8032c13f7b909b7af9716ac0ea643d5bef6cd48144f8e1c1')
21
22prepare() {
23 # Clean old paths
24 rm -rf "${srcdir}/squashfs-root"
25
26 # Extract safely inside an isolated network sandbox
27 chmod +x "${srcdir}/${_appimage}"
28 unshare -n -r "${srcdir}/${_appimage}" --appimage-extract
29}
30
31build() {
32 local desktop_file
33 desktop_file=$(find "${srcdir}/squashfs-root" -maxdepth 2 -name "*.desktop" | head -1)
34
35 if [[ -n "$desktop_file" ]]; then
36 # Fix Exec
37 sed -i -E "s|Exec=AppRun.*|Exec=/usr/bin/${_pkgname} %U|" "$desktop_file"
38
39 # Set categories
40 if grep -q '^Categories=' "$desktop_file"; then
41 sed -i -E 's|^Categories=.*|Categories=Network;InstantMessaging;|' "$desktop_file"
42 else
43 echo "Categories=Network;InstantMessaging;" >> "$desktop_file"
44 fi
45
46 sed -i -E "s|^Name=.*|Name=Echoed|" "$desktop_file" || true
47 fi
48
49 # Fix permissions
50 chmod -R a-x+rX "${srcdir}/squashfs-root/usr" 2>/dev/null || true
51}
52
53package() {
54 # Install AppImage
55 install -Dm755 "${srcdir}/${_appimage}" \
56 "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"
57
58 # Install wrapper
59 install -dm755 "${pkgdir}/usr/bin"
60 cat > "${pkgdir}/usr/bin/${_pkgname}" << 'EOF'
61#!/bin/bash
62export LD_PRELOAD=/usr/lib/libwayland-client.so${LD_PRELOAD:+:$LD_PRELOAD}
63exec /opt/echoed-appimage/echoed-appimage.AppImage "$@"
64EOF
65 chmod 755 "${pkgdir}/usr/bin/${_pkgname}"
66
67 # Install desktop
68 local desktop_file
69 desktop_file=$(find "${srcdir}/squashfs-root" -maxdepth 2 -name "*.desktop" | head -1)
70 if [[ -n "$desktop_file" ]]; then
71 install -Dm644 "$desktop_file" \
72 "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
73 fi
74
75 # Install icons
76 if [[ -d "${srcdir}/squashfs-root/usr/share/icons" ]]; then
77 cp -a "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
78 fi
79
80 # Install license
81 install -Dm644 "${srcdir}/squashfs-root/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 2>/dev/null || \
82 echo "Custom license. See upstream website." > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
83}
84

Scan history

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

Report a package

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

0 / 4000
Your suggestion