cyberghostvpn
maintainer moormaster
· 11 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source archive and a certificate from the vendor's official domain (download.cyberghostvpn.com), which is plausibly project-owned; building from this source is normal AUR packaging, and the certificate download is from a known CA; no malicious or unverifiable executable payloads are present.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a source archive and a certificate from the vendor's official domain (download.cyberghostvpn.com), which is plausibly project-owned; building from this source is normal AUR packaging, and the certificate download is from a known CA; no malicious or unverifiable executable payloads are present.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:26
source=( "https://download.cyberghostvpn.com/linux/cyberghostvpn-${_variant}-${pkgver}.zip" -
PKGBUILD:27
"http://crt.sectigo.com/SectigoRSAOrganizationValidationSecureServerCA.crt"
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: André Herbst <moormaster@gmx.net>
2
# Contributor: Carl Smedstad <carl.smedstad at protonmail dot com>
3
# Contributor: Hojjat Ali Mohammadi <safeith@gmail.com>
4
5
pkgname=cyberghostvpn
6
pkgver=1.4.1
7
pkgrel=17
8
pkgdesc="CyberGhost VPN"
9
url="https://www.cyberghostvpn.com"
10
arch=(any)
11
license=(custom:cyberghostvpn)
12
depends=(
13
bash
14
curl
15
openvpn
16
wireguard-tools
17
resolvconf
18
)
19
makedepends=(
20
ca-certificates
21
openssl
22
zip
23
)
24
25
_variant=ubuntu-20.04
26
source=( "https://download.cyberghostvpn.com/linux/cyberghostvpn-${_variant}-${pkgver}.zip"
27
"http://crt.sectigo.com/SectigoRSAOrganizationValidationSecureServerCA.crt"
28
"cyberghostvpn_wrapper"
29
"openvpn_wrapper")
30
sha256sums=( '21f0de9993a7f73f2ed6ab8b3276d21a7a00343e77fa8e18c2fc28341a409d13'
31
'72a34ac2b424aed3f6b0b04755b88cc027dccc806fddb22b4cd7c47773973ec0'
32
'b9410322648fa3ff40cee9199d9dcadf51117ad633b96e3f99e57b47c75d2b80'
33
'f26e37ce43385e625b012afd3d27bad9f9279e3d6cb135cd92c412eada36212e')
34
35
_archive="${pkgname}-${_variant}-${pkgver}"
36
37
prepare() {
38
# workaround: build certificate to connect to wireguard servers
39
# remove as soon as the certificate is provied by the package
40
_wireguard_certificate_servername="washington-s403-i01.cg-dialup.net"
41
_wireguard_certificate_server="102.165.48.72:1337"
42
true | openssl s_client -verify 5 -connect ${_wireguard_certificate_server} -servername ${_wireguard_certificate_servername}| openssl x509 > "${srcdir}/cg-dialup-net.pem"
43
44
sha256sum "${srcdir}/cg-dialup-net.pem"
45
sha256sum --check <( echo "df3eadfc4f7946debbd80cfa0030e655164661e4835ade50bf13e7a7469f59f9 ${srcdir}/cg-dialup-net.pem" )
46
47
openssl x509 -in "${srcdir}/cg-dialup-net.pem" > "${srcdir}/wireguard_ca.crt"
48
}
49
50
package() {
51
_installdir=usr/local/cyberghost
52
install -Dm 755 openvpn_wrapper "$pkgdir/${_installdir}/wrapper/openvpn_wrapper"
53
install -Dm 755 cyberghostvpn_wrapper "$pkgdir/${_installdir}/wrapper/cyberghostvpn_wrapper"
54
ln -s "/${_installdir}/wrapper/openvpn_wrapper" "$pkgdir/${_installdir}/openvpn"
55
56
install -Dm 644 "${srcdir}/wireguard_ca.crt" "$pkgdir/${_installdir}/certs/wireguard/ca.crt"
57
58
cd "$_archive"
59
60
install -Dm 755 cyberghost/cyberghostvpn "$pkgdir/${_installdir}/cyberghostvpn"
61
install -Dm 755 cyberghost/update-systemd-resolved "$pkgdir/${_installdir}/update-systemd-resolved"
62
63
install -Dm 644 cyberghost/certs/openvpn/ca.crt "$pkgdir/${_installdir}/certs/openvpn/ca.crt"
64
install -Dm 644 cyberghost/certs/openvpn/client.crt "$pkgdir/${_installdir}/certs/openvpn/client.crt"
65
install -Dm 644 cyberghost/certs/openvpn/client.key "$pkgdir/${_installdir}/certs/openvpn/client.key"
66
67
install -dm 755 $pkgdir/usr/bin
68
ln -s /${_installdir}/wrapper/cyberghostvpn_wrapper $pkgdir/usr/bin/cyberghostvpn
69
ln -s /${_installdir}/update-systemd-resolved $pkgdir/usr/bin/update-systemd-resolved
70
}
71
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |