surfshark-client
The package downloads a prebuilt .deb from a non-whitelisted host (ocean.surfshark.com), which is not a standard code hosting platform, posing a supply-chain risk if the host is compromised or the download is intercepted.
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-whitelisted host (ocean.surfshark.com), which is not a standard code hosting platform, posing a supply-chain risk if the host is compromised or the download is intercepted.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Liam Doan <not.lamdn@gmail.com>
pkgname=surfshark-client
pkgver=3.12.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=('7dea04a7fe190a4093fba1f1e80cea33a060f6e7ed0a36096639f915b8db2df0')
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-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 09:50:35 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |