astra-music-git
The npx command runs electron-builder on the locally built project, which is a standard part of the build process for Electron apps and does not execute untrusted remote code.
Triggered rules
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 npx command runs electron-builder on the locally built project, which is a standard part of the build process for Electron apps and does not execute untrusted remote code.
1 higher static finding superseded - not the current verdict (shown for transparency)
remote_code_tool
`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.
-
PKGBUILD:52
npx electron-builder --linux --dir
PKGBUILD
1 offending line(s) highlighted# Maintainer: Adam Mlady <adam.mlady@elevated.ovh>
pkgname="astra-music-git"
pkgdesc="Audiophile music player with advanced visualization"
pkgrel=1
pkgver=v0.7.0_beta_r69_g1e42443
url="https://github.com/Boof2015/astra"
arch=('x86_64')
license=('GPL-3.0-only')
provides=('astra')
conflicts=('astra')
makedepends=('npm' 'python' 'alsa-lib' 'git')
options=('!strip' '!debug')
source=("git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/astra"
git describe --tags --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/_/g'
}
prepare() {
cd "${srcdir}/astra"
if [[ -v ASTRA_LASTFM_KEY ]] && [[ -v ASTRA_LASTFM_SECRET ]]; then
cat >"${srcdir}/astra/.env.local" <<EOF
LASTFM_API_KEY=${ASTRA_LASTFM_KEY}
LASTFM_SHARED_SECRET=${ASTRA_LASTFM_SECRET}
EOF
echo -e "\n[\033[1;32mINFO\033[0m] LastFM API Key and Secret Set\n"
fi
npm install
cat >"${srcdir}/astra.desktop" <<EOF
[Desktop Entry]
Name=Astra
Comment=Audiophile music player with advanced visualization
Exec=/opt/astra/astra %U
Icon=astra
Type=Application
Categories=Audio;
Terminal=false
StartupWMClass=astra
EOF
}
build() {
cd "${srcdir}/astra"
npm run build
npx electron-builder --linux --dir
}
package() {
_basedir="${srcdir}/astra"
install -Dm644 "${_basedir}/LICENSE" "${pkgdir}/usr/share/licenses/astra/LICENSE"
install -d "${pkgdir}/opt/astra"
cp -r "${_basedir}/dist/linux-unpacked/"* "${pkgdir}/opt/astra/"
install -Dm644 "${_basedir}/assets/logo/astra-logo-static.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/astra.svg"
install -Dm644 "${srcdir}/astra.desktop" "${pkgdir}/usr/share/applications/astra.desktop"
}
Changes since previous scan
--- PKGBUILD @ 2026-09-14 00:27+++ PKGBUILD @ 2026-09-17 00:27@@ -3,7 +3,7 @@ pkgname="astra-music-git" pkgdesc="Audiophile music player with advanced visualization" pkgrel=1-pkgver=v0.7.0_beta_r60_gb85f8ef+pkgver=v0.7.0_beta_r69_g1e42443 url="https://github.com/Boof2015/astra" arch=('x86_64')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 01:15:25 | Medium | 1 |
| 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 23:58:52 | Medium | 1 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 23:51:41 | Medium | 1 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |