bilibili-danmu-crawling-git
maintainer Rinne
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The pip install commands are used to install build dependencies (requirements.txt, pyinstaller) from trusted Python sources as part of building the application; this is normal for Python packages and does not execute untrusted remote code at runtime.
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 commands are used to install build dependencies (requirements.txt, pyinstaller) from trusted Python sources as part of building the application; this is normal for Python packages and does not execute untrusted remote code at runtime.
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:31
pip install -r requirements.txt -
PKGBUILD:32
pip install pyinstaller
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: Rinne <aur@rinne.in>
2
3
_pkgname=BiLiBiLi_DanMu_Crawling
4
pkgname=bilibili-danmu-crawling-git
5
pkgver=New.V1.5.1.r0.e26ee7a
6
pkgrel=1
7
pkgdesc="爬取B站历史弹幕/全弹幕; 上游正在测试v2.0.0_beta版,该版本为当前稳定版。"
8
arch=('any')
9
url="https://github.com/HengXin666/BiLiBiLi_DanMu_Crawling"
10
license=('MIT')
11
depends=('tk')
12
makedepends=('git' 'python' 'python-build' 'python-pip')
13
provides=("${pkgname%-VCS}")
14
conflicts=("${pkgname%-VCS}")
15
# options=(!strip)
16
install=$pkgname.install
17
source=("${pkgname%-VCS}::git+https://github.com/HengXin666/BiLiBiLi_DanMu_Crawling.git#branch=v1.5.1-old-ed"
18
"${_pkgname}.desktop")
19
# noextract=()
20
sha256sums=('SKIP' 'SKIP')
21
22
pkgver() {
23
cd "$srcdir/${pkgname%-VCS}"
24
printf "%s" "$(git describe --long --tags --abbrev=7 | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
25
}
26
27
prepare() {
28
cd "$srcdir/${pkgname%-VCS}"
29
python -m venv env
30
source env/bin/activate
31
pip install -r requirements.txt
32
pip install pyinstaller
33
#rm -rf ./dist
34
#rm -rf ./tmp-hx-build
35
}
36
37
build() {
38
cd "$srcdir/${pkgname%-VCS}"
39
source env/bin/activate
40
pyinstaller --name ${_pkgname} --onefile main.py --distpath ./dist --specpath ./tmp-hx-build --workpath ./tmp-hx-build/build
41
}
42
43
package() {
44
cd "$srcdir/${pkgname%-VCS}"
45
install -d "$pkgdir/usr/share/applications"
46
install -d "$pkgdir/usr/share/icons/hicolor/192x192/apps"
47
install -Dm644 ./src/ico/app.png "$pkgdir/usr/share/icons/hicolor/192x192/apps/${_pkgname}.png"
48
install -Dm644 "$srcdir/${_pkgname}.desktop" "$pkgdir/usr/share/applications/${_pkgname}.desktop"
49
install -Dm755 ./dist/${_pkgname} "$pkgdir/opt/${_pkgname}/app"
50
}
51
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 |