v2ray-rs-bin
The package installs setuid binaries and modifies system groups for privilege management, but this is part of legitimate TUN device setup for a proxy GUI and is handled safely via group restrictions and capabilities; no remote code execution or malicious behavior is present.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package installs setuid binaries and modifies system groups for privilege management, but this is part of legitimate TUN device setup for a proxy GUI and is handled safely via group restrictions and capabilities; no remote code execution or malicious behavior is present.
1 higher static finding superseded - not the current verdict (shown for transparency)
privileged_install
The package grants elevated privileges or installs an update path outside pacman: a /etc/sudoers.d rule (often passwordless), a setuid/setgid binary, or a self-update script/service that can fetch and run future code with no checksum verification. The initial install may be verified, but the ongoing privilege + update surface is a real supply-chain / privilege-escalation risk.
-
.install:15
chmod 4750 /usr/bin/v2ray-rs-run 2>/dev/null || true
PKGBUILD
pkgname=v2ray-rs-bin
_pkgname=v2ray-rs
pkgver=0.20.0
pkgrel=1
pkgdesc="Linux desktop GUI for v2ray/xray/sing-box proxy management (prebuilt)"
arch=('x86_64')
url="https://github.com/victorzhuk/v2ray-rs"
license=('Apache-2.0')
depends=('gtk4' 'libadwaita' 'dbus' 'libcap')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
optdepends=(
'v2ray: V2Ray proxy backend'
'xray: Xray proxy backend'
'sing-box: sing-box proxy backend'
'polkit: one-time TUN privilege grant via pkexec'
)
install=v2ray-rs.install
source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/v2ray-rs-$CARCH-linux.tar.gz")
sha256sums=('1b74bc36981aba52a17c8003f0dcfc4559f953125a6f9712a9541ae8e4d83266')
package() {
cd "$_pkgname-$pkgver-$CARCH-linux"
install -Dm755 "bin/v2ray-rs" "$pkgdir/usr/bin/v2ray-rs"
# Privileged TUN helpers. The install hook creates the `v2ray-rs` group,
# restricts these to it (netctl 0750 + cap_net_admin, run 4750 setuid), and
# creates the bypass user. Modes here are the pre-hook defaults.
install -Dm755 "bin/v2ray-rs-netctl" "$pkgdir/usr/bin/v2ray-rs-netctl"
install -Dm4755 "bin/v2ray-rs-run" "$pkgdir/usr/bin/v2ray-rs-run"
install -Dm644 "share/applications/com.github.v2ray-rs.desktop" \
"$pkgdir/usr/share/applications/com.github.v2ray-rs.desktop"
install -Dm644 "share/icons/hicolor/scalable/apps/com.github.v2ray-rs.svg" \
"$pkgdir/usr/share/icons/hicolor/scalable/apps/com.github.v2ray-rs.svg"
install -Dm644 "share/icons/hicolor/symbolic/apps/com.github.v2ray-rs-symbolic.svg" \
"$pkgdir/usr/share/icons/hicolor/symbolic/apps/com.github.v2ray-rs-symbolic.svg"
install -Dm644 "share/icons/hicolor/256x256/apps/com.github.v2ray-rs.png" \
"$pkgdir/usr/share/icons/hicolor/256x256/apps/com.github.v2ray-rs.png"
local lang
for lang in en_US ru_RU; do
install -Dm644 "share/locale/$lang/LC_MESSAGES/v2ray-rs.mo" \
"$pkgdir/usr/share/locale/$lang/LC_MESSAGES/v2ray-rs.mo"
done
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-11 00:26+++ PKGBUILD @ 2026-10-17 00:21@@ -1,6 +1,6 @@ pkgname=v2ray-rs-bin _pkgname=v2ray-rs-pkgver=0.19.1+pkgver=0.20.0 pkgrel=1 pkgdesc="Linux desktop GUI for v2ray/xray/sing-box proxy management (prebuilt)" arch=('x86_64')@@ -17,7 +17,7 @@ ) install=v2ray-rs.install source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/v2ray-rs-$CARCH-linux.tar.gz")-sha256sums=('3919e714b298e77a924b55ae55b99b21c521ec7d984dae73cca4ecc3660eab66')+sha256sums=('1b74bc36981aba52a17c8003f0dcfc4559f953125a6f9712a9541ae8e4d83266') package() { cd "$_pkgname-$pkgver-$CARCH-linux"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 23:11:19 | Medium | 1 |
| 2026-10-11 00:26:05 | Low | 2 |
| 2026-10-10 00:11:52 | Low | 2 |
| 2026-10-09 00:05:33 | Low | 2 |
| 2026-10-08 00:28:03 | Low | 2 |
| 2026-10-07 00:21:34 | Low | 2 |
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 00:08:03 | Low | 2 |
| 2026-10-04 00:18:08 | Low | 2 |
| 2026-10-03 00:23:04 | Low | 2 |
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |