idrive-desktop-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:30
source=("IDriveForLinux.deb::https://www.idrivedownloads.com/downloads/linux/linux-desktop/IDriveForLinux.deb")
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 Electron/binary .deb from idrivedownloads.com (IDrive's own CDN/download host) with sha256sums=('SKIP'), meaning no integrity verification is performed. The binary is then unpacked and installed directly, including setting a setuid-root chrome-sandbox binary (chmod 4755). The source is the official vendor distribution channel, not a personal or unofficial host, which reduces risk compared to a random third-party mirror. However, the complete absence of a checksum means any MITM or server-side substitution would go undetected. The 'SKIP' is explained by the upstream serving an unversioned 'latest' URL, which is a real supply-chain concern: there is no way to verify the downloaded binary matches any known-good version. This is a genuine medium-severity concern — executed proprietary binary from a vendor host with no integrity check — but not high because the host is the legitimate vendor's download server and there is no evidence of malice or obfuscation.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Andy <this.is.apb@gmail.com>
pkgname=idrive-desktop-bin
pkgver=1.7.0
pkgrel=1
pkgdesc="IDrive for Linux - official Electron desktop GUI for cloud backup, restore and sync"
arch=('x86_64')
url="https://www.idrive.com/online-backup-download"
license=('LicenseRef-IDrive')
# Translated from the .deb Depends. popt is needed by the idevsutil backup engine
# the app fetches on first run. gtk3/libnotify/etc. are pulled via the GUI libs.
# valkey is NOT here: redis is used only by the Cloud Sync daemon (sync-daemon,
# pkg "clouddrive"), so backup/restore and the GUI work without it -> optdepend.
depends=('nss' 'curl' 'sqlite' 'cronie' 'glib2' 'gtk3' 'xdotool' 'rsync' 'attr'
'popt' 'python' 'python-gobject' 'python-watchdog' 'python-psutil'
'python-dbus')
optdepends=('valkey: Cloud Sync / Cloud Drive real-time folder sync (redis-compatible server)'
'libappindicator-gtk3: system tray icon'
'nautilus: file manager integration'
'nautilus-python: cloud-sync overlay icons in Nautilus'
'nemo-python: cloud-sync overlay icons in Nemo'
'python-caja: cloud-sync overlay icons in Caja')
# Bundles the same /opt/IDriveForLinux backup engine as idrive-bin; only one of
# the two can manage that tree.
provides=('idrive')
conflicts=('idrive' 'idrive-bin')
options=('!strip')
install="$pkgname.install"
# Upstream serves a single, unversioned "latest" .deb, so the checksum cannot be
# pinned; pkgver() reads the real version from the deb's control file.
source=("IDriveForLinux.deb::https://www.idrivedownloads.com/downloads/linux/linux-desktop/IDriveForLinux.deb")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir"
# deb is an ar archive; pull the control member and read its Version field.
bsdtar -xOf IDriveForLinux.deb control.tar.gz | bsdtar -xOf - \
| grep -m1 '^Version:' | awk '{print $2}'
}
package() {
cd "$srcdir"
# Unpack the deb (ar: debian-binary, control.tar.gz, data.tar.xz), then lay
# its payload (opt/ + usr/share) straight into the package.
bsdtar -xf IDriveForLinux.deb
bsdtar -xf data.tar.xz -C "$pkgdir"
# The Electron sandbox helper must be setuid root.
chmod 4755 "$pkgdir/opt/IDriveForLinux/chrome-sandbox"
# Launcher on PATH (the .desktop already points at the absolute path).
install -d "$pkgdir/usr/bin"
ln -s /opt/IDriveForLinux/idriveforlinux "$pkgdir/usr/bin/idriveforlinux"
# License: pointer to the canonical terms plus the bundled Electron license.
install -d "$pkgdir/usr/share/licenses/$pkgname"
cat > "$pkgdir/usr/share/licenses/$pkgname/LICENSE" <<-'EOF'
IDrive for Linux is proprietary software, Copyright IDrive Inc.
Use is governed by the IDrive Terms of Service:
https://www.idrive.com/terms-and-conditions
This package redistributes the unmodified official .deb payload from
https://www.idrive.com/online-backup-download for convenience.
EOF
install -m644 "$pkgdir/opt/IDriveForLinux/LICENSE.electron.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.electron.txt"
}
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 |