voltius-git
The npm install in prepare() is for pnpm, a build tool used locally to support the project's own build process from a trusted, declared git source; it does not install arbitrary external packages or execute untrusted 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 npm install in prepare() is for pnpm, a build tool used locally to support the project's own build process from a trusted, declared git source; it does not install arbitrary external packages or execute untrusted code.
1 higher static finding superseded - not the current verdict (shown for transparency)
npm_install_external
Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.
-
PKGBUILD:30
npm install -g pnpm@10.34.5 --prefix "$srcdir/npm-global"
PKGBUILD
1 offending line(s) highlighted# Maintainer: ezhkov <alexcez94@gmail.com>
pkgname=voltius-git
_pkgname=voltius
pkgver=0.37.0.r0.g55e3ba87
pkgrel=1
pkgdesc="Local-first SSH/SFTP/Serial client with E2EE sync, plugins, and no account required (main branch)"
arch=('x86_64' 'aarch64')
url="https://github.com/VoltiusApp/voltius"
license=('AGPL3')
provides=('voltius')
conflicts=('voltius')
depends=('webkit2gtk-4.1' 'gtk3' 'libappindicator-gtk3' 'librsvg' 'libsecret' 'hicolor-icon-theme')
makedepends=('rust' 'nodejs' 'npm' 'git' 'appmenu-gtk-module' 'desktop-file-utils')
options=('!lto')
source=("$_pkgname::git+https://github.com/VoltiusApp/voltius.git"
"$_pkgname.desktop")
sha256sums=('SKIP'
'SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$_pkgname"
# pnpm isn't in the official repos; install it into a local, writable
# prefix rather than relying on `corepack enable` (which tries to write
# shims next to the system-wide nodejs install under /usr).
npm install -g pnpm@10.34.5 --prefix "$srcdir/npm-global"
}
build() {
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/usr/bin/gcc
cd "$_pkgname"
export PATH="$srcdir/npm-global/bin:$PATH"
export TAURI_SIGNING_PRIVATE_KEY="aur-build-dummy-key"
export TAURI_SIGNING_PRIVATE_KEY_PASSWORD="aur-build-dummy-pass"
export NODE_ENV=production
pnpm install --frozen-lockfile
pnpm tauri build --no-bundle
}
package() {
cd "$_pkgname"
install -Dm755 target/release/voltius "$pkgdir/usr/bin/voltius"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 "$srcdir/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
install -Dm644 src-tauri/icons/32x32.png \
"$pkgdir/usr/share/icons/hicolor/32x32/apps/$_pkgname.png"
install -Dm644 src-tauri/icons/128x128.png \
"$pkgdir/usr/share/icons/hicolor/128x128/apps/$_pkgname.png"
install -Dm644 src-tauri/icons/128x128@2x.png \
"$pkgdir/usr/share/icons/hicolor/256x256/apps/$_pkgname.png"
}
Changes since previous scan
--- PKGBUILD @ 2026-09-16 00:03+++ PKGBUILD @ 2026-09-17 00:27@@ -1,7 +1,7 @@ # Maintainer: ezhkov <alexcez94@gmail.com> pkgname=voltius-git _pkgname=voltius-pkgver=0.34.5.r0.g94028801+pkgver=0.37.0.r0.g55e3ba87 pkgrel=1 pkgdesc="Local-first SSH/SFTP/Serial client with E2EE sync, plugins, and no account required (main branch)" arch=('x86_64' 'aarch64')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 21:23:45 | Medium | 1 |
| 2026-09-16 19:23:36 | Medium | 1 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 09:19:41 | Medium | 1 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 19:17:46 | Medium | 1 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 17:14:56 | Medium | 1 |
| 2026-09-13 13:14:45 | Medium | 1 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 21:12:39 | Medium | 1 |
| 2026-09-12 15:12:25 | Medium | 1 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 11:22:29 | Medium | 1 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 17:21:08 | Medium | 1 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 09:16:51 | Medium | 1 |