dash-static-musl

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

The source is a tarball from the project's official host, used to build the software from source; the non-whitelisted host is the legitimate project site, and building from official sources is normal for AUR packages.

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 source is a tarball from the project's official host, used to build the software from source; the non-whitelisted host is the legitimate project site, and building from official sources is normal for AUR packages.

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:17 source=("http://gondor.apana.org.au/~herbert/dash/files/${_pkgbase}-${pkgver}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Aleksej Kovura <aur-b1a3 at mekboy dot ru>
2# Adopted from: Jens Staal <staal1978@gmail.com>
3
4pkgname=dash-static-musl
5_pkgbase=dash
6pkgver=0.5.13.5
7pkgrel=2
8pkgdesc="A POSIX compliant shell that aims to be as small as possible"
9arch=('x86_64' 'aarch64')
10url="http://gondor.apana.org.au/~herbert/dash/"
11license=('BSD')
12provides=("$_pkgbase")
13conflicts=("$_pkgbase")
14makedepends=('musl' 'gcc' 'make') #we are static. The Arch libedit package has stopped to ship the static library :(
15optdepends=('dashbinsh')
16install=dash.install
17source=("http://gondor.apana.org.au/~herbert/dash/files/${_pkgbase}-${pkgver}.tar.gz")
18sha512sums=('ae326c110713a9da6b7afb977ca6fd931793b03011f0a7aa2c42e873f116ed09448deea9ef5ca4515fe3afe24e210e0aaa580f7de89934edda9cf31ee44c94dd')
19b2sums=('cef313ea867c45393b4739b71ff5320ca365cb15b3a7772c7c1a9cf2a2663a2c7b86cfe49d12076144152364e6411a7c5a8bbfd74f20400416c9cee9351eb049')
20
21build() {
22 cd "${_pkgbase}-${pkgver}"
23 export CC="musl-gcc -fno-link-libatomic"
24 ./configure \
25 --enable-static \
26 --prefix=/usr \
27 --bindir=/usr/bin \
28 --mandir=/usr/share/man \
29 --exec-prefix=""
30# --with-libedit # disabled libedit for now
31 make V=1
32}
33
34package() {
35 cd "${srcdir}/${_pkgbase}-${pkgver}"
36 make DESTDIR="${pkgdir}" install
37 install -m644 -D COPYING ${pkgdir}/usr/share/licenses/${_pkgbase}/COPYING
38}
39

Changes since previous scan

--- PKGBUILD @ 2026-09-12 00:25
+++ PKGBUILD @ 2026-09-17 00:27
@@ -4,7 +4,7 @@
pkgname=dash-static-musl
_pkgbase=dash
pkgver=0.5.13.5
-pkgrel=1
+pkgrel=2
pkgdesc="A POSIX compliant shell that aims to be as small as possible"
arch=('x86_64' 'aarch64')
url="http://gondor.apana.org.au/~herbert/dash/"
@@ -20,9 +20,7 @@
build() {
cd "${_pkgbase}-${pkgver}"
- export CC="gcc"
- export CFLAGS="$CFLAGS -mmusl -Os -mno-outline-atomics"
- export LDFLAGS="$LDFLAGS -fno-link-libatomic -fno-inline-atomics"
+ export CC="musl-gcc -fno-link-libatomic"
./configure \
--enable-static \
--prefix=/usr \

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 15:12:25 Medium 1
2026-09-12 00:25:17 Low 2
2026-09-11 07:22:16 Medium 1
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

Report a package

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

0 / 4000
Your suggestion