bilibili-danmu-crawling-git

LOW
maintainer Rinne 0 votes scanned 2026-11-01 00:21:48.120785
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-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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion