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-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 |