surfshark-client

MEDIUM
maintainer otaj 30 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

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

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:23 source=("https://ocean.surfshark.com/debian/pool/main/s/surfshark_${pkgver}_amd64.deb")
Medium AI review 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
1# Maintainer: Liam Doan <not.lamdn@gmail.com>
2
3pkgname=surfshark-client
4pkgver=3.14.0
5pkgrel=1
6pkgdesc="Official Surfshark VPN client"
7arch=('x86_64')
8url="https://surfshark.com"
9license=('custom:surfshark')
10depends=(
11 'gjs'
12 'nss'
13 'networkmanager'
14 'networkmanager-openvpn'
15)
16optdepends=(
17 'libappindicator-gtk3: for tray icon'
18 'org.freedesktop.secrets: password storage backend'
19 'emoji-font: emoji support'
20)
21options=('!strip' '!emptydirs')
22install=${pkgname}.install
23source=("https://ocean.surfshark.com/debian/pool/main/s/surfshark_${pkgver}_amd64.deb")
24sha256sums=('61e20cf567da917a038f40dc6e4a3cb0006a32cac3e212a62f8cb7fe349540b6')
25
26prepare() {
27 tar xf data.tar.xz
28}
29
30package(){
31 cp -rp usr/ opt/ etc/ "${pkgdir}"
32
33 # Install License file
34 install -D -m644 "${pkgdir}/opt/Surfshark/resources/dist/resources/surfsharkd.js.LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
35
36 # Create link for surfshark executable in /bin
37 mkdir -p "${pkgdir}/usr/bin" && ln -sf "/opt/Surfshark/surfshark" "${pkgdir}/usr/bin/surfshark"
38
39 # Correct permissions on OpenVPN secrets
40 chmod 750 "${pkgdir}/etc/openvpn/client"
41
42 # SUID chrome-sandbox for Electron 5+
43 chmod 4755 "${pkgdir}/opt/Surfshark/chrome-sandbox" || true
44
45 # Assign correct permissions for systemctl to run surfsharkd service as user
46 chmod 755 "${pkgdir}/opt/Surfshark/resources/dist/resources/surfsharkd.js" || true
47 chmod 744 "${pkgdir}/opt/Surfshark/resources/dist/resources/surfsharkd2.js" || true
48
49 # Permissions for update and diagnostics
50 chmod 755 "${pkgdir}/opt/Surfshark/resources/dist/resources/update" || true
51 chmod 755 "${pkgdir}/opt/Surfshark/resources/dist/resources/diagnostics" || true
52
53}
54

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion