auroradownloader

LOW
maintainer bacem 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The pip install commands install gunicorn and project dependencies from a requirements.txt file sourced from the project's own GitHub repository, which is a normal and legitimate practice for Python applications; the risk is low as the source is the project's official repository.

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 install gunicorn and project dependencies from a requirements.txt file sourced from the project's own GitHub repository, which is a normal and legitimate practice for Python applications; the risk is low as the source is the project's official repository.

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:39 ./venv/bin/pip install --no-cache-dir --upgrade pip
  • PKGBUILD:40 ./venv/bin/pip install --no-cache-dir gunicorn
  • PKGBUILD:41 ./venv/bin/pip install --no-cache-dir -r requirements.txt

PKGBUILD

3 offending line(s) highlighted
1# Maintainer: Bacem Abidi <abidi.bacem.ab.25@gmail.com>
2pkgname=auroradownloader
3pkgver=1.0.10
4pkgrel=1
5pkgdesc="Your all in one web based music manager"
6arch=('any')
7url="https://github.com/Bacem-Abidi/AuroraDownloader"
8license=('GPL3')
9depends=(
10 'ffmpeg'
11 'python'
12 'redis' # required for Server‑Sent Events
13 'mpc'
14)
15makedepends=()
16optdepends=()
17source=("$pkgname-$pkgver.tar.gz::https://github.com/Bacem-Abidi/AuroraDownloader/archive/refs/tags/$pkgver.tar.gz"
18 "$pkgname.service"
19 "$pkgname-user.service"
20 "$pkgname.install")
21install="$pkgname.install"
22sha256sums=('SKIP'
23 'SKIP'
24 'SKIP'
25 'SKIP')
26
27package() {
28 local _extracted_dir="AuroraDownloader-$pkgver"
29
30 # 1. Install application files
31 install -d "$pkgdir/opt/$pkgname"
32 cp -r "$srcdir/$_extracted_dir"/* "$pkgdir/opt/$pkgname/"
33
34 # 2. Create virtual environment (using system Python, with copies)
35 cd "$pkgdir/opt/$pkgname"
36 /usr/bin/python -m venv --copies venv
37
38 # 3. Install Python dependencies
39 ./venv/bin/pip install --no-cache-dir --upgrade pip
40 ./venv/bin/pip install --no-cache-dir gunicorn
41 ./venv/bin/pip install --no-cache-dir -r requirements.txt
42
43 # 4. Fix shebangs – replace build‑time paths with the final venv path
44 find venv/bin -type f -exec sed -i '1s|^#!.*python.*|#!/opt/auroradownloader/venv/bin/python|' {} \;
45
46 # In package() after creating venv:
47 install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
48 install -Dm644 "$srcdir/$pkgname-user.service" "$pkgdir/usr/lib/systemd/user/$pkgname.service"
49
50 # 6. Create log directory (ownership will be set in .install)
51 install -d "$pkgdir/var/log/$pkgname"
52}
53

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