bilibili-danmu-crawling-git

LOW
maintainer Rinne 0 votes scanned 2026-09-17 00:27:14.276658
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
4pkgname=bilibili-danmu-crawling-git
5pkgver=New.V1.5.1.r0.e26ee7a
6pkgrel=1
7pkgdesc="爬取B站历史弹幕/全弹幕; 上游正在测试v2.0.0_beta版,该版本为当前稳定版。"
8arch=('any')
9url="https://github.com/HengXin666/BiLiBiLi_DanMu_Crawling"
10license=('MIT')
11depends=('tk')
12makedepends=('git' 'python' 'python-build' 'python-pip')
13provides=("${pkgname%-VCS}")
14conflicts=("${pkgname%-VCS}")
15# options=(!strip)
16install=$pkgname.install
17source=("${pkgname%-VCS}::git+https://github.com/HengXin666/BiLiBiLi_DanMu_Crawling.git#branch=v1.5.1-old-ed"
18"${_pkgname}.desktop")
19# noextract=()
20sha256sums=('SKIP' 'SKIP')
21
22pkgver() {
23 cd "$srcdir/${pkgname%-VCS}"
24 printf "%s" "$(git describe --long --tags --abbrev=7 | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
25}
26
27prepare() {
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
37build() {
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
43package() {
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)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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