echoed-appimage
MEDIUM
maintainer in6kiar
1 votes
scanned 2026-09-17 00:27:14.276658
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
4
pkgname="${_pkgname}-appimage"
5
pkgver=1.7.9
6
pkgrel=1
7
pkgdesc="Lightweight Discord alternative — No Ads, No Tracking, Built on Tauri"
8
arch=('x86_64')
9
url="https://echoed.gg"
10
license=('custom')
11
depends=('fuse2' 'hicolor-icon-theme')
12
makedepends=('squashfs-tools')
13
options=(!strip !debug)
14
_appimage="${_pkgname}-${pkgver}-amd64.AppImage"
15
source_x86_64=(
16
"${_appimage}::https://software.echoed.gg/v${pkgver}/Echoed_${pkgver}_amd64.AppImage"
17
)
18
19
noextract=("${_appimage}")
20
sha256sums_x86_64=('fe76029670a93dce8032c13f7b909b7af9716ac0ea643d5bef6cd48144f8e1c1')
21
22
prepare() {
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
31
build() {
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
53
package() {
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
62
export LD_PRELOAD=/usr/lib/libwayland-client.so${LD_PRELOAD:+:$LD_PRELOAD}
63
exec /opt/echoed-appimage/echoed-appimage.AppImage "$@"
64
EOF
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) | Severity | Rules |
|---|---|---|
| 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 |