vega-nostr-git
maintainer hoornet
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npx tauri build command is used to build the project from its own source code, which is cloned from the official GitHub repository; this is a normal part of the build process for Tauri-based applications and does not involve executing untrusted remote code.
Triggered rules
LOW
AI review downgraded a static finding
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 tauri build command is used to build the project from its own source code, which is cloned from the official GitHub repository; this is a normal part of the build process for Tauri-based applications and does not involve executing untrusted remote code.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
npx/bunx/deno executes a remote package
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:38
npx tauri build --no-bundle
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: hoornet <hoornet@users.noreply.github.com>
2
pkgname=vega-nostr-git
3
pkgver=0.14.2
4
pkgrel=1
5
pkgdesc="Cross-platform Nostr desktop client with Lightning integration"
6
arch=('x86_64')
7
url="https://github.com/hoornet/vega"
8
license=('MIT')
9
depends=(
10
'webkit2gtk-4.1'
11
'gtk3'
12
'libayatana-appindicator'
13
'openssl'
14
)
15
makedepends=(
16
'rust'
17
'nodejs'
18
'npm'
19
'git'
20
)
21
provides=('vega-nostr')
22
conflicts=('vega-nostr')
23
options=('!debug')
24
source=("$pkgname::git+https://github.com/hoornet/vega.git")
25
sha256sums=('SKIP')
26
27
pkgver() {
28
cd "$pkgname"
29
git describe --tags --long 2>/dev/null | sed 's/^v//;s/-/.r/;s/-/./' || echo "$pkgver"
30
}
31
32
build() {
33
cd "$pkgname"
34
# Reset makepkg flags — they interfere with Rust cc crate
35
# compiling bundled SQLite and Ring assembly
36
unset CFLAGS CXXFLAGS LDFLAGS
37
npm install
38
npx tauri build --no-bundle
39
}
40
41
package() {
42
cd "$pkgname"
43
44
install -Dm755 "src-tauri/target/release/vega" \
45
"$pkgdir/usr/bin/vega"
46
47
# Strip build paths from binary (fixes $srcdir reference warning)
48
strip --strip-unneeded "$pkgdir/usr/bin/vega"
49
50
# Icons
51
install -Dm644 "src-tauri/icons/32x32.png" \
52
"$pkgdir/usr/share/icons/hicolor/32x32/apps/vega.png"
53
install -Dm644 "src-tauri/icons/128x128.png" \
54
"$pkgdir/usr/share/icons/hicolor/128x128/apps/vega.png"
55
install -Dm644 "src-tauri/icons/128x128@2x.png" \
56
"$pkgdir/usr/share/icons/hicolor/256x256/apps/vega.png"
57
58
# Desktop entry
59
install -Dm644 /dev/stdin \
60
"$pkgdir/usr/share/applications/vega.desktop" << 'EOF'
61
[Desktop Entry]
62
Name=Vega
63
Comment=Nostr desktop client
64
Exec=env WEBKIT_DISABLE_DMABUF_RENDERER=1 /usr/bin/vega
65
Icon=vega
66
Type=Application
67
Categories=Network;InstantMessaging;
68
StartupNotify=true
69
EOF
70
71
install -Dm644 "LICENSE" \
72
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
73
}
74
Changes since previous scan
--- PKGBUILD @ 2026-07-18 00:14+++ PKGBUILD @ 2026-08-03 00:08@@ -1,6 +1,6 @@ # Maintainer: hoornet <hoornet@users.noreply.github.com> pkgname=vega-nostr-git-pkgver=0.14.1+pkgver=0.14.2 pkgrel=1 pkgdesc="Cross-platform Nostr desktop client with Lightning integration" arch=('x86_64')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 13:57:59 | MEDIUM | 1 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |