msty-studio-bin
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-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 |