bili-live-hime
The npx commands run Vite and Tauri build tools on the project's own source code, which is downloaded from the official GitHub repository; this is a standard part of building a legitimate Tauri application and poses no remote code execution risk.
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 npx commands run Vite and Tauri build tools on the project's own source code, which is downloaded from the official GitHub repository; this is a standard part of building a legitimate Tauri application and poses no remote code execution risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
remote_code_tool
`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.
-
PKGBUILD:56
npx vite build --base ./ -
PKGBUILD:57
npx tauri build --no-bundle --config '{"build":{"beforeBuildCommand":""}}'
PKGBUILD
2 offending line(s) highlighted# Maintainer: bianca <zhaoxiaokee@gmail.com>
pkgname=bili-live-hime
_upstream=bili-live-hime
pkgver=0.5.2
_tag="LiveHime-v${pkgver}"
pkgrel=1
pkgdesc="bilibili官方直播姬的轻量化替代工具"
arch=('x86_64')
url="https://github.com/Rsplwe/bili-live-hime"
license=('GPL-2.0-only')
depends=('webkit2gtk-4.1' 'gtk3' 'libnm' 'libayatana-appindicator' 'openssl')
makedepends=('nodejs' 'npm' 'rust' 'cargo')
conflicts=('bili-live-hime-git')
source=("${_upstream}-${_tag}.tar.gz::https://github.com/Rsplwe/${_upstream}/archive/refs/tags/${_tag}.tar.gz")
sha256sums=('9652247a9ff68f8f468adaf660591844bbcb4e4a2745b6f0d51b41aff66ac030')
prepare() {
cd "${srcdir}/${_upstream}-${_tag}"
export CARGO_HOME="${srcdir}/cargo-home"
export npm_config_cache="${srcdir}/npm-cache"
sed -i 's/^lto = true$/lto = false/' src-tauri/Cargo.toml
node <<'EOF_NODE'
const fs = require('fs');
const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
delete pkg.overrides;
fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');
EOF_NODE
npm install --legacy-peer-deps
}
build() {
cd "${srcdir}/${_upstream}-${_tag}"
export CARGO_HOME="${srcdir}/cargo-home"
export npm_config_cache="${srcdir}/npm-cache"
export NODE_ENV=production
export CC=gcc
export CXX=g++
unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS RUSTFLAGS
export RUSTFLAGS='-C linker=gcc'
local main_css
main_css=$(find src -name '*.css' | head -n 1)
if [[ -n "${main_css}" ]]; then
sed -i '1i @source "./**/*.{ts,tsx,html}";' "${main_css}"
fi
npx vite build --base ./
npx tauri build --no-bundle --config '{"build":{"beforeBuildCommand":""}}'
}
package() {
cd "${srcdir}/${_upstream}-${_tag}"
install -Dm755 "src-tauri/target/release/${_upstream}" "${pkgdir}/usr/bin/${_upstream}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
for size in 32 128; do
install -Dm644 "src-tauri/icons/${size}x${size}.png" \
"${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/${_upstream}.png"
done
install -Dm644 "src-tauri/icons/128x128@2x.png" \
"${pkgdir}/usr/share/icons/hicolor/256x256/apps/${_upstream}.png"
install -Dm644 /dev/stdin "${pkgdir}/usr/share/applications/${_upstream}.desktop" <<EOF_DESKTOP
[Desktop Entry]
Name=Bili Live Hime
Exec=${_upstream}
Icon=${_upstream}
Type=Application
Categories=AudioVideo;Video;
Comment=${pkgdesc}
Terminal=false
EOF_DESKTOP
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 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 |