msty-studio-bin
This PKGBUILD installs a prebuilt proprietary Electron binary (MstyStudio) downloaded from next-assets.msty.studio, which is the vendor's own CDN/asset host for msty.ai. The domain is consistent with the official product (msty.ai → msty.studio), so this is not a random personal host. However, it is still a prebuilt closed-source binary from a non-GitHub/non-distro host with no reproducibility, and the sha256 checksum provides only integrity (not authenticity) guarantees. The URL uses a query parameter (?ver=) to pin the version but the path says 'latest', which could theoretically serve a different binary if the CDN is compromised or the version mapping changes. This is a standard -bin AUR pattern for proprietary apps (similar to zoom, slack-desktop, etc.) and the risk level is consistent with any other prebuilt proprietary binary AUR package — a real but accepted supply-chain concern, not an active attack.
Triggered rules
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:18
source=("$filename::https://next-assets.msty.studio/app/latest/linux/MstyStudio_amd64.deb?ver=$pkgver")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD installs a prebuilt proprietary Electron binary (MstyStudio) downloaded from next-assets.msty.studio, which is the vendor's own CDN/asset host for msty.ai. The domain is consistent with the official product (msty.ai → msty.studio), so this is not a random personal host. However, it is still a prebuilt closed-source binary from a non-GitHub/non-distro host with no reproducibility, and the sha256 checksum provides only integrity (not authenticity) guarantees. The URL uses a query parameter (?ver=) to pin the version but the path says 'latest', which could theoretically serve a different binary if the CDN is compromised or the version mapping changes. This is a standard -bin AUR pattern for proprietary apps (similar to zoom, slack-desktop, etc.) and the risk level is consistent with any other prebuilt proprietary binary AUR package — a real but accepted supply-chain concern, not an active attack.
PKGBUILD
1 offending line(s) highlighted# Maintainer: jeryd leuck <jerydleuck@gmail.com>
pkgname=msty-studio-bin
pkgver=2.7.4
pkgrel=1
pkgdesc="Desktop AI workflow application (Local/Private)"
arch=('x86_64')
url="https://msty.ai/"
license=('custom:proprietary')
depends=('alsa-lib' 'at-spi2-core' 'atk' 'cairo' 'dbus' 'expat' 'gcc-libs' 'glib2' 'gtk3' 'hicolor-icon-theme' 'libcups' 'libdrm' 'libx11' 'libxcb' 'libxcomposite' 'libxdamage' 'libxext' 'libxfixes' 'libxi' 'libxkbcommon' 'libxrandr' 'libxrender' 'libxshmfence' 'mesa' 'nss' 'pango')
optdepends=('cuda: NVIDIA GPU acceleration'
'rocm-core: AMD GPU acceleration'
'docker: Intel GPU acceleration (via ipex-llm container workaround)'
'libpulse: Support for Voice-to-Text and Text-to-Voice features'
'ollama: Use system-wide Ollama instead of the bundled version')
provides=('msty' 'msty-deb' 'msty-rocm-bin' 'msty-studio')
conflicts=('msty' 'msty-deb' 'msty-bin' 'msty-rocm-bin' 'msty-studio')
filename="MstyStudio_amd64_${pkgver}.deb"
source=("$filename::https://next-assets.msty.studio/app/latest/linux/MstyStudio_amd64.deb?ver=$pkgver")
sha256sums=("ef26a2ee5d764e7a2939b8a580a2b3af94300fbc7773f1b53335c9d450f2a97f")
prepare() {
mkdir -p "$srcdir/pkg-contents"
bsdtar -xOf "$srcdir/$filename" data.tar.xz | bsdtar -C "$srcdir/pkg-contents" -xv
}
check() {
find "$srcdir/pkg-contents" -path "*/resources" -prune -o -type f -exec sh -c 'file "$1" | grep -q ELF' _ {} \; -print | while read -r elf; do
if ldd "$elf" | grep -q "not found"; then
echo "Broken dependencies in $elf:"
ldd "$elf" | grep "not found"
exit 1
fi
done
}
package() {
# Copy extracted files to pkgdir (do not preserve ownership to support container builds)
cp -a --no-preserve=ownership "$srcdir/pkg-contents/." "$pkgdir/"
# Fix permissions for chrome-sandbox (required for Electron sandboxing)
chmod 4755 "$pkgdir/opt/MstyStudio/chrome-sandbox"
# Fix the .desktop file (Name with space, clean up extra lines)
sed -i 's/^Name=.*/Name=Msty Studio/' "$pkgdir/usr/share/applications/MstyStudio.desktop"
sed -i '/^exec=mstystudio/d' "$pkgdir/usr/share/applications/MstyStudio.desktop"
# Create symlinks in /usr/bin for terminal access
install -d "$pkgdir/usr/bin"
ln -s /opt/MstyStudio/MstyStudio "$pkgdir/usr/bin/msty"
ln -s /opt/MstyStudio/MstyStudio "$pkgdir/usr/bin/msty-studio"
# Install Licenses
install -Dm644 "$pkgdir/opt/MstyStudio/LICENSE.electron.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.electron"
install -Dm644 "$pkgdir/opt/MstyStudio/LICENSES.chromium.html" "$pkgdir/usr/share/licenses/$pkgname/LICENSES.chromium.html"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |