astra-music-git
The npx command runs electron-builder to package the app, which is a standard part of the build process for Electron apps and uses locally built code, not a remote package.
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 90%): The npx command runs electron-builder to package the app, which is a standard part of the build process for Electron apps and uses locally built code, not a remote package.
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.8.0_beta_r0_g947ec5b
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"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |