surfshark-client

MEDIUM
maintainer otaj 29 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

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-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
1# Maintainer: Liam Doan <not.lamdn@gmail.com>
2
3pkgname=surfshark-client
4pkgver=3.12.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=('7dea04a7fe190a4093fba1f1e80cea33a060f6e7ed0a36096639f915b8db2df0')
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-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

Report a package

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

0 / 4000
Your suggestion