swingmusic-git

maintainer jensgrunzer1 · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The pip install is used to install build tools (poetry) for the project's own source code from a trusted index; the package builds from a legitimate git repository and does not execute 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pip install is used to install build tools (poetry) for the project's own source code from a trusted index; the package builds from a legitimate git repository and does not execute 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:33 pip install -U pip setuptools
  • PKGBUILD:34 pip install poetry

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: jensgrunzer <jensgrunzer@gmail.com>
2_pkgname=swingmusic
3pkgname="${_pkgname}-git"
4pkgrel=1
5pkgdesc="Swing Music is a beautiful, self-hosted music player for your local audio files"
6arch=(any)
7pkgver=r1120.a263736
8url="https://swingmx.com/"
9license=('MIT')
10groups=()
11provides=("${_pkgname}")
12depends=()
13makedepends=('python311' 'yarn' 'glibc' 'libnghttp2' 'icu' 'git')
14optdepends=('ffmpeg: audio silence skip feature')
15conflicts=()
16replaces=()
17source=("${_pkgname}::git+https://github.com/swingmx/swingmusic.git"
18 "swingmusic-client::git+https://github.com/swingmx/webclient")
19sha256sums=('SKIP' 'SKIP')
20pkgver() {
21 cd "$_pkgname"
22 ( set -o pipefail
23 git describe --long --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
24 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
25 )
26}
27build() {
28 python3.11 -m venv poetry
29 source poetry/bin/activate
30
31 cd swingmusic
32
33 pip install -U pip setuptools
34 pip install poetry
35
36 cd ../swingmusic-client
37 yarn install
38 yarn build --outDir ../swingmusic/client
39
40 cd ../swingmusic
41 # Fixes poetry issue 5250.
42 export PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring
43 poetry env use /usr/bin/python3.11
44 poetry install
45 # Swing gives error if this is not set. Set to version of repo you cloned.
46 export SWINGMUSIC_APP_VERSION="${pkgver}"
47 poetry run python manage.py --build
48}
49package() {
50 cd "${srcdir}/${_pkgname}"
51 install -Dm755 dist/swingmusic -t "${pkgdir}/usr/bin"
52 install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${_pkgname}"
53}
54

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion