ledger-live-bin
maintainer phnx47
· 62 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package downloads a prebuilt AppImage from Ledger's official domain, which is a legitimate source, but the static analyzer flagged the non-standard host; however, since it's the project's official release infrastructure and the checksum is verified, the actual risk is low, but the unverifiable nature of the binary executable from a non-whitelisted host context warrants a medium rating due to potential supply-chain compromise if the source were swapped.
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:21
source=("${_appimg}::https://download.live.ledger.com/${_appimg}"
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 Ledger's official domain, which is a legitimate source, but the static analyzer flagged the non-standard host; however, since it's the project's official release infrastructure and the checksum is verified, the actual risk is low, but the unverifiable nature of the binary executable from a non-whitelisted host context warrants a medium rating due to potential supply-chain compromise if the source were swapped.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Serge K <arch@phnx47.net>
2
# Contributor: Stephen Argent <steve [at] tuxcon [dot] com>
3
4
# Auto Upgrade: https://github.com/phnx47/pkgbuilds
5
6
_appname=ledger-live-desktop
7
_pkgname=ledger-live
8
pkgname="${_pkgname}-bin"
9
pkgver=4.13.1
10
pkgrel=1
11
pkgdesc='Maintain your Ledger devices'
12
license=('MIT')
13
url='https://www.ledger.com/ledger-live'
14
arch=('x86_64')
15
depends=('gtk3' 'nss' 'alsa-lib' 'ledger-udev')
16
makedepends=('desktop-file-utils')
17
options=('!strip')
18
provides=("${_pkgname}")
19
conflicts=("${_pkgname}")
20
_appimg="ledger-live-desktop-${pkgver}-linux-${arch[0]}.AppImage"
21
source=("${_appimg}::https://download.live.ledger.com/${_appimg}"
22
"LICENSE-${pkgver}::https://raw.githubusercontent.com/LedgerHQ/ledger-live/refs/tags/%40ledgerhq/live-desktop%40${pkgver}/apps/ledger-live-desktop/LICENSE")
23
# https://www.ledger.com/ledger-live/lld-signatures
24
sha512sums=('329a3b1a8948ba7f6622a4c1cf3f82b0c83a2fe130ec1ff9948f77935d943e565a79ed37616775c6340c35379086923ba31ac4e74c0e5cf56a8d8dacdf4f87ff'
25
'915edd51fe7732af57f5a4ca8f4c61c4f435de6357e34ed0733cac8d950d80b3a9e513deac0a3672a07f38ff871a57032a221b3aa27edae8e42cc00586fe3318')
26
27
prepare() {
28
chmod +x "${_appimg}"
29
"./${_appimg}" --appimage-extract
30
31
cd squashfs-root
32
desktop-file-edit \
33
--set-key=Exec \
34
--set-value="${_appname} %U" \
35
--add-category=Network \
36
--remove-key=X-AppImage-Version \
37
"${_appname}.desktop"
38
39
rm "AppRun" "resources/app-update.yml"
40
}
41
42
package() {
43
install -d "${pkgdir}/opt/${_pkgname}"
44
cp -a "squashfs-root/." "${pkgdir}/opt/${_pkgname}/"
45
46
install -d "${pkgdir}/usr/bin"
47
ln -s "/opt/${_pkgname}/${_appname}" "${pkgdir}/usr/bin/"
48
49
install -d "${pkgdir}/usr/share/applications"
50
ln -s "/opt/${_pkgname}/${_appname}.desktop" "${pkgdir}/usr/share/applications/"
51
52
for i in 128 256 512 1024; do
53
install -d "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps"
54
ln -s "/opt/${_pkgname}/usr/share/icons/hicolor/${i}x${i}/apps/${_appname}.png" "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/"
55
done
56
57
find "${pkgdir}" -type d -exec chmod 755 {} +
58
59
install -Dm644 "LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
60
}
61
Changes since previous scan
--- PKGBUILD @ 2026-07-29 00:25+++ PKGBUILD @ 2026-08-03 00:08@@ -6,7 +6,7 @@ _appname=ledger-live-desktop _pkgname=ledger-live pkgname="${_pkgname}-bin"-pkgver=4.11.0+pkgver=4.13.1 pkgrel=1 pkgdesc='Maintain your Ledger devices' license=('MIT')@@ -21,7 +21,7 @@ source=("${_appimg}::https://download.live.ledger.com/${_appimg}" "LICENSE-${pkgver}::https://raw.githubusercontent.com/LedgerHQ/ledger-live/refs/tags/%40ledgerhq/live-desktop%40${pkgver}/apps/ledger-live-desktop/LICENSE") # https://www.ledger.com/ledger-live/lld-signatures-sha512sums=('48b1b63056631aef60b9ddca69aab3e47d7d2427eca8aee5275c90dc98e98c1bf12d11c35dfd8c49a599e57fab6d776db2c60e50d11e5050604d4ac9e094f411'+sha512sums=('329a3b1a8948ba7f6622a4c1cf3f82b0c83a2fe130ec1ff9948f77935d943e565a79ed37616775c6340c35379086923ba31ac4e74c0e5cf56a8d8dacdf4f87ff' '915edd51fe7732af57f5a4ca8f4c61c4f435de6357e34ed0733cac8d950d80b3a9e513deac0a3672a07f38ff871a57032a221b3aa27edae8e42cc00586fe3318') prepare() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 11:11:22 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | CLEAN | 2 |
| 2026-07-28 11:38:42 | MEDIUM | 1 |
| 2026-07-21 00:24:15 | CLEAN | 2 |
| 2026-07-20 11:14:00 | MEDIUM | 1 |
| 2026-07-01 10:41:16 | CLEAN | 2 |
| 2026-06-19 19:07:35 | CLEAN | 2 |
| 2026-06-18 18:55:24 | LOW | 2 |
| 2026-06-18 18:04:49 | LOW | 2 |
| 2026-06-18 17:53:10 | LOW | 2 |
| 2026-06-18 16:11:54 | MEDIUM | 1 |