ghost-downloader-git

LOW
maintainer zxp19821005 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The pip install is used to install Nuitka, a Python compiler, into a local venv for building the project from its own source; this is a normal build step, not execution of untrusted remote code.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pip install is used to install Nuitka, a Python compiler, into a local venv for building the project from its own source; this is a normal build step, not execution of untrusted remote code.

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:60 pip install -U nuitka

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2pkgname=ghost-downloader-git
3_pkgname=Ghost-Downloader
4pkgver=4.3.7.r1.g39d4573
5pkgrel=1
6pkgdesc="A multi-threading async downloader with QThread based on PyQt/PySide.多线程下载器 协程下载器."
7arch=('any')
8url="https://github.com/XiaoYouChR/Ghost-Downloader-3"
9license=('GPL-3.0-only')
10provides=("${pkgname%-git}")
11conflicts=("${pkgname%-git}")
12depends=(
13 'xcb-util-cursor'
14 'xcb-util-renderutil'
15 'xcb-util-keysyms'
16 'xcb-util-wm'
17 'xcb-util-image'
18 'gtk3'
19 'qt6-base'
20 'libxkbcommon-x11'
21 'python'
22 'python-loguru'
23 'ffmpeg'
24 'libtorrent-rasterbar'
25 'qt6-webengine'
26)
27makedepends=(
28 'git'
29 'python-pip'
30 'gendesk'
31 'patchelf'
32 'uv'
33)
34source=(
35 "${pkgname%-git}.git::git+${url}"
36 "${pkgname%-git}.sh"
37)
38sha256sums=('SKIP'
39 'b0592310f06c0ad828c080f34159209e8bb04d2228faf8f3461502de0d4d41ff')
40pkgver() {
41 cd "${srcdir}/${pkgname%-git}.git"
42 set -o pipefail
43 git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g' ||
44 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
45}
46prepare() {
47 cd "${srcdir}/${pkgname%-git}.git"
48 sed -i -e "
49 s/@appname@/${pkgname%-git}/g
50 s/@runname@/${_pkgname}-3.bin/g
51 " "${srcdir}/${pkgname%-git}.sh"
52 gendesk -q -f -n \
53 --pkgname="${pkgname%-git}" \
54 --pkgdesc="${pkgdesc}" \
55 --categories="Network" \
56 --name="${_pkgname}" \
57 --exec="${pkgname%-git} %U"
58 python -m venv --system-site-packages ./
59 source ./bin/activate
60 pip install -U nuitka
61 uv sync
62}
63build() {
64 cd "${srcdir}/${pkgname%-git}.git"
65 source ./bin/activate
66 uv run scripts/deploy.py
67}
68package() {
69 install -Dm755 "${srcdir}/${pkgname%-git}.sh" "${pkgdir}/usr/bin/${pkgname%-git}"
70 install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-git}/plugins"
71 cp -a "${srcdir}/${pkgname%-git}.git/dist/${_pkgname}-3.dist/"* "${pkgdir}/usr/lib/${pkgname%-git}"
72 install -Dm644 "${srcdir}/${pkgname%-git}.git/${pkgname%-git}.desktop" -t "${pkgdir}/usr/share/applications"
73 install -Dm644 "${srcdir}/${pkgname%-git}.git/app/assets/logo.png" "${pkgdir}/usr/share/pixmaps/${pkgname%-git}.png"
74 install -Dm644 "${srcdir}/${pkgname%-git}.git/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
75}
76

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