galleon-prod

maintainer lgasior · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary .deb (an Electron-based wallet application) from a DigitalOcean Spaces bucket (cryptonomic-wallet.nyc3.digitaloceanspaces.com) controlled by the upstream developer/company (Cryptonomic), not from GitHub releases or another canonical release channel. The binary is then extracted and installed directly. While this appears to be the actual upstream release host used by Cryptonomic for their Galleon wallet distributions, it is not a standard, auditable release infrastructure (e.g., GitHub releases). The integrity check is only MD5, which is cryptographically weak. The installed artifact is an executed Electron binary with full user-level code execution capability. This is a genuine supply-chain concern: if the DigitalOcean Spaces bucket were compromised or the object silently replaced, users would execute arbitrary code. This is a real medium-severity concern, not a false positive, though there is no evidence of active malice.

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:11 source=("https://cryptonomic-wallet.nyc3.digitaloceanspaces.com/release_$pkgver/galleon_$_pkgver-b_amd64.deb")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary .deb (an Electron-based wallet application) from a DigitalOcean Spaces bucket (cryptonomic-wallet.nyc3.digitaloceanspaces.com) controlled by the upstream developer/company (Cryptonomic), not from GitHub releases or another canonical release channel. The binary is then extracted and installed directly. While this appears to be the actual upstream release host used by Cryptonomic for their Galleon wallet distributions, it is not a standard, auditable release infrastructure (e.g., GitHub releases). The integrity check is only MD5, which is cryptographically weak. The installed artifact is an executed Electron binary with full user-level code execution capability. This is a genuine supply-chain concern: if the DigitalOcean Spaces bucket were compromised or the object silently replaced, users would execute arbitrary code. This is a real medium-severity concern, not a false positive, though there is no evidence of active malice.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Lukasz Gasior <lukas.gasior@gmail.com>
2
3pkgname=galleon-prod
4_pkgver=0.9.4
5pkgver="${_pkgver}b"
6pkgrel=1
7pkgdesc="A wallet for the Tezos blockchain"
8arch=('x86_64')
9url="https://github.com/Cryptonomic/Tezori"
10depends=('libxss' 'gtk3' 'nss' 'gconf')
11source=("https://cryptonomic-wallet.nyc3.digitaloceanspaces.com/release_$pkgver/galleon_$_pkgver-b_amd64.deb")
12noextract=("galleon-$_pkgver-b_amd64.deb")
13license=('GPL3')
14md5sums=('1247016968dd0f71f121051c1f26db02')
15
16prepare() {
17 ar x galleon_$_pkgver-b_amd64.deb data.tar.xz
18 tar xf data.tar.xz
19 rm data.tar.xz
20 rm galleon_$_pkgver-b_amd64.deb
21}
22
23package() {
24 mv opt "${pkgdir}/opt"
25 mv usr "${pkgdir}/usr"
26 mkdir -p "${pkgdir}/usr/bin"
27 ln -s "/opt/Galleon/galleon" "${pkgdir}/usr/bin/galleon-prod"
28}
29
30

Scan history

Scanned at (UTC)SeverityRules
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 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 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