mpdrand
maintainer jpope
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's own domain, building a simple script; the non-whitelisted host is the maintainer's personal code forge, but the content is source code, not a prebuilt binary, and the worst case of a swapped source is limited to code injection during build, which is low risk for an AUR package.
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 source is a tarball from the project's own domain, building a simple script; the non-whitelisted host is the maintainer's personal code forge, but the content is source code, not a prebuilt binary, and the worst case of a swapped source is limited to code injection during build, which is low risk for an AUR package.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:13
source=("https://code.jpope.org/jpope/mpdrand/archive/v${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Jeremy Pope <jpope@jpope.org>
2
pkgname=mpdrand
3
pkgver=0.5
4
pkgrel=1
5
pkgdesc="A script for picking random songs and adding them to the current MPD playlist."
6
url='https://code.jpope.org/jpope/mpdrand'
7
license=('WTFPL')
8
arch=('any')
9
depends=('mpc' 'ncurses' 'bash')
10
optdepends=('mpd')
11
makedepends=('git')
12
provides=('mpdrand')
13
source=("https://code.jpope.org/jpope/mpdrand/archive/v${pkgver}.tar.gz")
14
sha256sums=('1d4a2209550ba90668814b92ff248e842b8d29f370fcf41e54a901a3e686573e')
15
16
package() {
17
mkdir -p $pkgdir/usr/share/doc/mpdrand
18
mkdir -p $pkgdir/usr/local/bin
19
cp $srcdir/$pkgname/mpdrand.example.conf $pkgdir/usr/share/doc/mpdrand/
20
cp $srcdir/$pkgname/README.md $pkgdir/usr/share/doc/mpdrand/
21
cp $srcdir/$pkgname/mpdrand $pkgdir/usr/local/bin/
22
}
23
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |