astra3dengine-git
The npx command is used to run Vite for building the project from its own source, which is a normal part of the build process; no remote code execution or untrusted external package is involved.
Triggered rules
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 npx command is used to run Vite for building the project from its own source, which is a normal part of the build process; no remote code execution or untrusted external package is involved.
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:28
npx vite build --config vite.config.desktop.js --outDir dist-electron
PKGBUILD
1 offending line(s) highlighted# Maintainer: LuoTianyi_arm64 <2153585992@qq.com>
pkgname=astra3dengine-git
_binname=astra-3d-engine
pkgver=v0.0.1.beta.5.r4.g2b93bf7
pkgrel=1
pkgdesc='A joking 3D engine.'
arch=('x86_64' 'aarch64' 'armv7h')
url='https://github.com/Astra3DEngine/Astra3DEngine'
license=('GPL-3.0-only')
makedepends=('nodejs' 'pnpm' 'git' 'python' 'jre-openjdk')
depends=('alsa-lib' 'gtk3' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'hicolor-icon-theme' 'at-spi2-core' 'libdrm' 'mesa' 'libxcb' 'libnotify')
provides=('astra3dengine')
conflicts=('astra3dengine' 'astra3dengine-bin')
options=(!strip !debug)
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
pnpm install --frozen-lockfile
pnpm run build --config vite.config.desktop.js
pnpm run icon:generate
npx vite build --config vite.config.desktop.js --outDir dist-electron
pnpm exec electron-builder --linux tar.gz --publish never
}
package() {
cd "$srcdir/$pkgname"
local _unpacked_dir="release/linux-unpacked"
[[ "$CARCH" == "aarch64" ]] && _unpacked_dir="release/linux-arm64-unpacked"
[[ "$CARCH" == "armv7h" ]] && _unpacked_dir="release/linux-armv7l-unpacked"
install -d "$pkgdir/opt/Astra 3D Engine"
cp -r "$_unpacked_dir"/* "$pkgdir/opt/Astra 3D Engine/"
install -d "$pkgdir/usr/bin"
ln -s "/opt/Astra 3D Engine/astra-3d-engine" "$pkgdir/usr/bin/$_binname"
install -d "$pkgdir/usr/share/applications"
cat >"$pkgdir/usr/share/applications/$_binname.desktop" <<EOT
[Desktop Entry]
Name=Astra3DEngine
GenericName=3D engine
Comment=A 3D engine for creative projects.
Exec=$_binname %U
Terminal=false
Type=Application
Icon=astra-3d-engine
StartupWMClass=Astra3DEngine
Categories=Graphics;Development;GameEngine;
Keywords=3Dengine;
EOT
local _res
for _res in 16 32 48 64 128 256 512 1024; do
local _icon_path="electron/icons/${_res}x${_res}.png"
if [ -f "$_icon_path" ]; then
install -Dm644 "$_icon_path" "$pkgdir/usr/share/icons/hicolor/${_res}x${_res}/apps/astra-3d-engine.png"
fi
done
}
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 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 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 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |