bilibili-live-stream-code-git
LOW
maintainer acutenoob
0 votes
scanned 2026-11-01 00:21:48.120785
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"
4
pkgname="$_pkgname-git"
5
pkgver=2.3.12.1.g8b28d31
6
pkgrel=1
7
pkgdesc="用于在准备直播时获取第三方推流码"
8
url="https://github.com/ChaceQC/bilibili_live_stream_code"
9
license=('Apache-2.0 ')
10
arch=('any')
11
12
makedepends=(
13
"npm"
14
"python"
15
"imagemagick"
16
)
17
18
_pkgsrc="$_pkgname"
19
source=(
20
"$_pkgsrc"::"git+https://github.com/ChaceQC/bilibili_live_stream_code.git"
21
)
22
sha256sums=('SKIP')
23
24
25
pkgver() {
26
cd "$_pkgsrc"
27
git describe --tags --abbrev=7 | sed -E 's/^[^0-9]*//; s/-([0-9]+)-g/.\1.g/; s/-/./g'
28
}
29
prepare() {
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
39
build() {
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
54
package() {
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]
65
Type=Application
66
Name=$_pkgname
67
Comment=$pkgdesc
68
Exec=$_pkgname
69
Icon=$_pkgname
70
Categories=Utility;
71
Terminal=false
72
END
73
}
74
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 |