paperspace

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary installer from assets.paperspace.com (the official Paperspace CDN for their native app) and executes it during prepare(). While assets.paperspace.com is the legitimate vendor distribution host for Paperspace's native Linux client (not a personal or unofficial host), executing a downloaded binary installer during the build phase is a genuine supply-chain concern: if the CDN were compromised or the URL were silently redirected, arbitrary code would execute on the builder's machine. The sha256sum pinning mitigates this somewhat, but the pattern of running a closed-source installer binary (rather than extracting it) is a real medium-severity concern. The host itself appears to be the official vendor CDN, which reduces the risk compared to a personal host, but the executed-binary-from-network pattern warrants medium rather than clean/low.

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:13 source=("https://assets.paperspace.com/native-app/prod/linux/PaperspaceInstaller-${pkgver}"
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 installer from assets.paperspace.com (the official Paperspace CDN for their native app) and executes it during prepare(). While assets.paperspace.com is the legitimate vendor distribution host for Paperspace's native Linux client (not a personal or unofficial host), executing a downloaded binary installer during the build phase is a genuine supply-chain concern: if the CDN were compromised or the URL were silently redirected, arbitrary code would execute on the builder's machine. The sha256sum pinning mitigates this somewhat, but the pattern of running a closed-source installer binary (rather than extracting it) is a real medium-severity concern. The host itself appears to be the official vendor CDN, which reduces the risk compared to a personal host, but the executed-binary-from-network pattern warrants medium rather than clean/low.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jacek Szafarkiewicz <szafar@linux.pl>
2
3pkgname=paperspace
4pkgver=11.9.12.5782
5pkgrel=0
6pkgdesc='Paperspace Receiver'
7arch=('x86_64')
8license=('custom')
9url='https://www.paperspace.com/app'
10makedepends=('patchelf')
11depends=('gcc-libs' 'libglvnd' 'libxext' 'libxcb')
12optdepends=('libva: For hardware accelerated decoding')
13source=("https://assets.paperspace.com/native-app/prod/linux/PaperspaceInstaller-${pkgver}"
14 paperspace-installer-noninteractive.qs.in
15 paperspace.sh
16 paperspace.desktop)
17sha256sums=('6310c2da243d5da577e015ac45c5a9d45cb22b31c39edc8af9adb2c4f2ea1258'
18 '4dddf0c7212de5db2c51a8b212b95632bfc92d635e46a136e299308f9de8db0c'
19 '32231f483b9ad1369936b7157d5160597014fb418b453f7216b51b9e2b074772'
20 'c0e86c830576155c38f37ce3fcca9e9f5bd813c77870092d80f364b2e90fc676')
21
22prepare() {
23 cd "$srcdir"
24
25 sed "s;@INSTALL_DIR@;$srcdir/paperspace;" paperspace-installer-noninteractive.qs.in > paperspace-installer-noninteractive.qs
26
27 chmod +x ./PaperspaceInstaller-${pkgver}
28 ./PaperspaceInstaller-${pkgver} -platform minimal --verbose --script paperspace-installer-noninteractive.qs
29
30 rm -f "$HOME/.local/share/applications/Paperspace.desktop"
31 rm paperspace/InstallationLog.txt
32 rm paperspace/maintenancetool*
33}
34
35build() {
36 cd "$srcdir"
37
38 patchelf --set-rpath '$ORIGIN/lib' paperspace/Paperspace
39 find paperspace/lib -type f -exec patchelf --set-rpath '$ORIGIN' {} +
40}
41
42package() {
43 cd "$srcdir"
44 mkdir -pv "$pkgdir/usr/bin" "$pkgdir/usr/lib"
45
46 cp -av "$srcdir/paperspace" "$pkgdir/usr/lib/paperspace"
47
48 install -Dvm755 "$srcdir/paperspace.sh" "$pkgdir/usr/bin/paperspace"
49 install -Dvm644 "$srcdir/paperspace.desktop" "$pkgdir/usr/share/applications/paperspace.desktop"
50 install -Dvm644 "$srcdir/paperspace/linux-icon-310x310.png" "$pkgdir/usr/share/pixmaps/paperspace.png"
51}
52

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