surfshark-client
maintainer otaj
· 29 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package downloads a prebuilt .deb from a non-standard host (ocean.surfshark.com), which is not a commonly recognized software distribution domain, creating a supply-chain risk if the host is compromised or the download is intercepted, though it targets the official vendor's software.
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-07-25) 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 commonly recognized software distribution domain, creating a supply-chain risk if the host is compromised or the download is intercepted, though it targets the official vendor's software.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Liam Doan <not.lamdn@gmail.com>
2
3
pkgname=surfshark-client
4
pkgver=3.11.0
5
pkgrel=1
6
pkgdesc="Official Surfshark VPN client"
7
arch=('x86_64')
8
url="https://surfshark.com"
9
license=('custom:surfshark')
10
depends=(
11
'gjs'
12
'nss'
13
'networkmanager'
14
'networkmanager-openvpn'
15
)
16
optdepends=(
17
'libappindicator-gtk3: for tray icon'
18
'org.freedesktop.secrets: password storage backend'
19
'emoji-font: emoji support'
20
)
21
options=('!strip' '!emptydirs')
22
install=${pkgname}.install
23
source=("https://ocean.surfshark.com/debian/pool/main/s/surfshark_${pkgver}_amd64.deb")
24
sha256sums=('edb299eccb34c3f31251e4924d7955317af2c328b70334041c4a175a769f001b')
25
26
prepare() {
27
tar xf data.tar.xz
28
}
29
30
package(){
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) | 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 |