bilibili-live-stream-code-git

maintainer acutenoob · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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