surfshark-client
The package downloads a prebuilt .deb from a non-standard host (ocean.surfshark.com), which is not a common upstream release domain, and the checksum is provided but the source is a binary blob that could pose a supply-chain risk if the host is compromised or spoofed.
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:23
source=("https://ocean.surfshark.com/debian/pool/main/s/surfshark_${pkgver}_amd64.deb")
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt .deb from a non-standard host (ocean.surfshark.com), which is not a common upstream release domain, and the checksum is provided but the source is a binary blob that could pose a supply-chain risk if the host is compromised or spoofed.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Liam Doan <not.lamdn@gmail.com>
pkgname=surfshark-client
pkgver=3.14.0
pkgrel=1
pkgdesc="Official Surfshark VPN client"
arch=('x86_64')
url="https://surfshark.com"
license=('custom:surfshark')
depends=(
'gjs'
'nss'
'networkmanager'
'networkmanager-openvpn'
)
optdepends=(
'libappindicator-gtk3: for tray icon'
'org.freedesktop.secrets: password storage backend'
'emoji-font: emoji support'
)
options=('!strip' '!emptydirs')
install=${pkgname}.install
source=("https://ocean.surfshark.com/debian/pool/main/s/surfshark_${pkgver}_amd64.deb")
sha256sums=('61e20cf567da917a038f40dc6e4a3cb0006a32cac3e212a62f8cb7fe349540b6')
prepare() {
tar xf data.tar.xz
}
package(){
cp -rp usr/ opt/ etc/ "${pkgdir}"
# Install License file
install -D -m644 "${pkgdir}/opt/Surfshark/resources/dist/resources/surfsharkd.js.LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Create link for surfshark executable in /bin
mkdir -p "${pkgdir}/usr/bin" && ln -sf "/opt/Surfshark/surfshark" "${pkgdir}/usr/bin/surfshark"
# Correct permissions on OpenVPN secrets
chmod 750 "${pkgdir}/etc/openvpn/client"
# SUID chrome-sandbox for Electron 5+
chmod 4755 "${pkgdir}/opt/Surfshark/chrome-sandbox" || true
# Assign correct permissions for systemctl to run surfsharkd service as user
chmod 755 "${pkgdir}/opt/Surfshark/resources/dist/resources/surfsharkd.js" || true
chmod 744 "${pkgdir}/opt/Surfshark/resources/dist/resources/surfsharkd2.js" || true
# Permissions for update and diagnostics
chmod 755 "${pkgdir}/opt/Surfshark/resources/dist/resources/update" || true
chmod 755 "${pkgdir}/opt/Surfshark/resources/dist/resources/diagnostics" || true
}
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 |