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