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-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 |