v2ray-rs-bin
Installs a prebuilt binary (v2ray-rs-run) with setuid-root (mode 4755/4750) from a low-vote personal GitHub repo; the .install hook also grants cap_net_admin to another helper and creates system users/groups — legitimate for a TUN proxy tool but the combination of an unverified prebuilt executable with elevated privileges from a low-popularity source warrants medium concern.
Triggered rules
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
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
An AI model (anthropic/claude-sonnet-4.6) reviewed this and agrees it is MEDIUM (confidence 72%): Installs a prebuilt binary (v2ray-rs-run) with setuid-root (mode 4755/4750) from a low-vote personal GitHub repo; the .install hook also grants cap_net_admin to another helper and creates system users/groups — legitimate for a TUN proxy tool but the combination of an unverified prebuilt executable with elevated privileges from a low-popularity source warrants medium concern.
PKGBUILD
pkgname=v2ray-rs-bin
_pkgname=v2ray-rs
pkgver=0.17.2
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=('3020fce7410911bbf33c80a59053609e37d3464e1c8e4870d9ea0970b954c681')
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"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-27 13:34:24 | Medium | 3 |
| 2026-08-27 13:32:42 | Medium | 2 |