v2ray-desktop
The flagged download is a legitimate geolocation check via ipinfo.io to conditionally switch submodule sources for users in China, which is a common practice for accessibility; it does not execute remote code or exfiltrate sensitive data, and the main source is from the project's own GitHub repository.
Triggered rules
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 flagged download is a legitimate geolocation check via ipinfo.io to conditionally switch submodule sources for users in China, which is a common practice for accessibility; it does not execute remote code or exfiltrate sensitive data, and the main source is from the project's own GitHub repository.
1 higher static finding superseded - not the current verdict (shown for transparency)
external_download_not_in_source
curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.
-
PKGBUILD:19
country=$(curl -s https://ipinfo.io/ | jq -r '.country')
PKGBUILD
1 offending line(s) highlighted# Maintainer: Dr-Incognito <v2ray.dev at gmail dot com>
pkgname=v2ray-desktop
pkgver=2.3.1
pkgrel=1
pkgdesc="A cross-platform GUI proxy client that supports Shadowsocks(R), V2Ray, and Trojan protocols (Stable Release)"
arch=("x86_64")
url="https://github.com/Dr-Incognito/V2Ray-Desktop"
license=("GPL3")
depends=("clash>=1.5.0" "qt5-base>=5.15.0" "qt5-quickcontrols>=5.15.0" "qt5-quickcontrols2>=5.15.0" "qt5-svg>=5.15.0")
makedepends=("git" "jq" "qt5-tools>=5.15.0" "qt5-declarative>=5.15.0")
provides=(v2ray-desktop)
source=("V2Ray-Desktop::git+${url}#tag=${pkgver}")
sha512sums=("SKIP")
prepare() {
cd "${srcdir}/V2Ray-Desktop"
echo "Detecting your country ... Please wait ..."
country=$(curl -s https://ipinfo.io/ | jq -r '.country')
echo "Your country: $country"
if [ "$country" = "CN" ]; then
echo "Use qzxing@gitee.com for Chinese users ..."
sed -i "s/github.com\/ftylitak/gitee.com\/Dr-Incognito/" .gitmodules
fi
echo "Initialize submodules. This may take a long time ..."
git submodule init
git submodule update --progress
}
build() {
cd "${srcdir}/V2Ray-Desktop"
sed -ie "s/V2RAY_USE_LOCAL_INSTALL[[:space:]]*= true/V2RAY_USE_LOCAL_INSTALL=false/" src/constants.h
sed -i "s/Exec=%1/Exec=\/opt\/v2ray-desktop\/v2ray-desktop/" src/misc/tpl-linux-autostart.desktop
sed -i "s/Icon=v2ray-desktop/Icon=\/opt\/v2ray-desktop\/v2ray-desktop.png/" src/misc/tpl-linux-autostart.desktop
lrelease src/locales/zh-CN.ts
mkdir -p build && cd build
qmake PREFIX=/usr ../src
make -j$nproc
}
package() {
cd "${srcdir}/V2Ray-Desktop"
install -Dm755 build/V2Ray-Desktop "${pkgdir}/opt/v2ray-desktop/v2ray-desktop"
install -Dm644 src/images/v2ray.png "${pkgdir}/opt/v2ray-desktop/v2ray-desktop.png"
install -Dm644 src/locales/zh-CN.qm "${pkgdir}/opt/v2ray-desktop/locales/zh-CN.qm"
install -Dm644 src/misc/tpl-linux-autostart.desktop "${pkgdir}/usr/share/applications/v2ray-desktop.desktop"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |