aleo-studio-bin

maintainer kellpossible · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary .deb from a DigitalOcean Spaces bucket (aleo-studio-releases.sfo2.digitaloceanspaces.com) using a 'latest' URL that is not pinned to a specific version. The md5sums check is present but MD5 is cryptographically weak and, more critically, the URL points to a mutable 'latest' artifact — meaning the checksum will mismatch on any update, but more importantly the source can be silently swapped at the bucket level without a URL change. The package then extracts and installs the binary content directly into pkgdir. This is a classic -bin package pattern, but the combination of: (1) a mutable 'latest' URL rather than a versioned release URL, (2) a personal/project-controlled cloud storage bucket rather than an official distribution channel like GitHub releases, and (3) installation of opaque prebuilt binaries constitutes a genuine medium supply-chain risk. The pkgver() function dynamically extracts the version from the downloaded artifact, which is unusual and confirms the floating 'latest' nature of the source. This is not clearly malicious but represents a real concern about artifact substitution.

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:10 source=("https://aleo-studio-releases.sfo2.digitaloceanspaces.com/latest/aleo-studio_latest_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 from a DigitalOcean Spaces bucket (aleo-studio-releases.sfo2.digitaloceanspaces.com) using a 'latest' URL that is not pinned to a specific version. The md5sums check is present but MD5 is cryptographically weak and, more critically, the URL points to a mutable 'latest' artifact — meaning the checksum will mismatch on any update, but more importantly the source can be silently swapped at the bucket level without a URL change. The package then extracts and installs the binary content directly into pkgdir. This is a classic -bin package pattern, but the combination of: (1) a mutable 'latest' URL rather than a versioned release URL, (2) a personal/project-controlled cloud storage bucket rather than an official distribution channel like GitHub releases, and (3) installation of opaque prebuilt binaries constitutes a genuine medium supply-chain risk. The pkgver() function dynamically extracts the version from the downloaded artifact, which is unusual and confirms the floating 'latest' nature of the source. This is not clearly malicious but represents a real concern about artifact substitution.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Luke Frisken <l.frisken@gmail.com>
2pkgname=aleo-studio-bin
3pkgver=0.11.0
4pkgrel=2
5license=('custom')
6pkgdesc="The World's First IDE for Zero-Knowledge Proofs."
7arch=('x86_64')
8url=https://aleo.studio/
9depends=(gtk3 libnotify nss libxss libxtst xdg-utils at-spi2-core util-linux-libs libappindicator-gtk3 libsecret)
10source=("https://aleo-studio-releases.sfo2.digitaloceanspaces.com/latest/aleo-studio_latest_amd64.deb")
11md5sums=('2759d003773cee87b70fa85385a50607')
12
13# extract the exact package version from the control.tar.gz file
14pkgver() {
15 pushd "${srcdir}" > /dev/null
16 mkdir -p control
17 tar -xf control.tar.gz -C control
18 grep -Po "Version: \K.*" control/control
19 popd > /dev/null
20}
21
22package() {
23 tar -xf data.tar.xz -C "${pkgdir}"
24 chown root:root -R ../pkg/aleo-studio-bin/opt
25 chmod 755 -R ../pkg/aleo-studio-bin/opt
26 chown root:root -R ../pkg/aleo-studio-bin/usr
27 chmod 755 -R ../pkg/aleo-studio-bin/usr
28}

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