bilibili-live-stream-code-git

LOW
maintainer acutenoob 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The pip install is used to install build dependencies (pyinstaller, requirements.txt) for a project built from its own Git source; this is normal build process, not remote code execution.

Triggered rules

Low AI review downgraded a static finding 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 pip install is used to install build dependencies (pyinstaller, requirements.txt) for a project built from its own Git source; this is normal build process, not remote code execution.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:33 pip install -r requirements.txt
  • PKGBUILD:34 pip install pyinstaller

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: acutenoob <handsome23388@outlook.com>
2
3_pkgname="bilibili-live-stream-code"
4pkgname="$_pkgname-git"
5pkgver=2.3.12.1.g8b28d31
6pkgrel=1
7pkgdesc="用于在准备直播时获取第三方推流码"
8url="https://github.com/ChaceQC/bilibili_live_stream_code"
9license=('Apache-2.0 ')
10arch=('any')
11
12makedepends=(
13 "npm"
14 "python"
15 "imagemagick"
16)
17
18_pkgsrc="$_pkgname"
19source=(
20 "$_pkgsrc"::"git+https://github.com/ChaceQC/bilibili_live_stream_code.git"
21)
22sha256sums=('SKIP')
23
24
25pkgver() {
26 cd "$_pkgsrc"
27 git describe --tags --abbrev=7 | sed -E 's/^[^0-9]*//; s/-([0-9]+)-g/.\1.g/; s/-/./g'
28}
29prepare() {
30 cd "$_pkgsrc"
31 python -m venv venv
32 source venv/bin/activate
33 pip install -r requirements.txt
34 pip install pyinstaller
35 cd frontend
36 npm install
37}
38
39build() {
40 cd "$_pkgsrc"
41 cd frontend
42 npm run build
43 cd ..
44 pyinstaller main.py --name BiliLiveTool --onefile \
45 --add-data "frontend/dist:frontend/dist" \
46 --add-data "bilibili.ico:." \
47 --hidden-import _cffi_backend \
48 --hidden-import cffi \
49 --hidden-import qtpy \
50 --hidden-import PyQt5 \
51 --hidden-import webview.platforms.qt
52}
53
54package() {
55 cd $_pkgsrc
56 install -Dm755 "dist/BiliLiveTool" "$pkgdir/usr/bin/$_pkgname"
57
58 for size in 48 128 256; do
59 mkdir -p "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps"
60 magick "bilibili.ico" -resize ${size}x${size} "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/$_pkgname.png"
61 done
62
63 install -Dm755 /dev/stdin "$pkgdir/usr/share/applications/$_pkgname.desktop" << END
64[Desktop Entry]
65Type=Application
66Name=$_pkgname
67Comment=$pkgdesc
68Exec=$_pkgname
69Icon=$_pkgname
70Categories=Utility;
71Terminal=false
72END
73}
74

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion