packet-term
maintainer ernestoCruz05
· 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's own Tauri application, which is a standard part of the build process for this Rust/Node.js hybrid project; it does not execute arbitrary remote code or introduce a supply-chain risk.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npx tauri build command is used to build the project's own Tauri application, which is a standard part of the build process for this Rust/Node.js hybrid project; it does not execute arbitrary remote code or introduce a supply-chain risk.
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:22
npx tauri build -b deb
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Ernesto Cruz <ernestobritocruz05@gmail.com>
2
pkgname=packet-term
3
pkgver=0.1.0
4
pkgrel=2
5
pkgdesc="A terminal multiplexer and broadcast system for network engineers with GNS3/EVE-NG integration"
6
arch=('x86_64')
7
url="https://github.com/ernestoCruz05/packet"
8
license=('MIT')
9
depends=('webkit2gtk-4.1' 'gtk3' 'openssl' 'libssh2' 'cairo' 'gdk-pixbuf2' 'glib2' 'hicolor-icon-theme' 'pango')
10
makedepends=('rust' 'cargo' 'nodejs' 'npm' 'pkgconf')
11
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
12
sha256sums=('7ffb0faaf931378e4f8f82332e773c78045015cfe75bff897f5d9631d5e61d0b')
13
14
prepare() {
15
cd "packet-$pkgver"
16
npm install
17
}
18
19
build() {
20
cd "packet-$pkgver"
21
export LIBSSH2_SYS_USE_PKG_CONFIG=1
22
npx tauri build -b deb
23
}
24
25
package() {
26
cd "packet-$pkgver"
27
28
# Install binary (rename from 'packet' to 'packet-term')
29
install -Dm755 "src-tauri/target/release/bundle/deb/packet_${pkgver}_amd64/data/usr/bin/packet" \
30
"$pkgdir/usr/bin/$pkgname"
31
32
# Install desktop entry (rename to packet-term and fix Exec)
33
install -Dm644 "src-tauri/target/release/bundle/deb/packet_${pkgver}_amd64/data/usr/share/applications/packet.desktop" \
34
"$pkgdir/usr/share/applications/$pkgname.desktop"
35
sed -i "s/Exec=packet/Exec=$pkgname/" "$pkgdir/usr/share/applications/$pkgname.desktop"
36
sed -i "s/Icon=packet/Icon=$pkgname/" "$pkgdir/usr/share/applications/$pkgname.desktop"
37
38
# Install icons (rename to packet-term)
39
install -Dm644 "src-tauri/target/release/bundle/deb/packet_${pkgver}_amd64/data/usr/share/icons/hicolor/32x32/apps/packet.png" \
40
"$pkgdir/usr/share/icons/hicolor/32x32/apps/$pkgname.png"
41
install -Dm644 "src-tauri/target/release/bundle/deb/packet_${pkgver}_amd64/data/usr/share/icons/hicolor/128x128/apps/packet.png" \
42
"$pkgdir/usr/share/icons/hicolor/128x128/apps/$pkgname.png"
43
install -Dm644 "src-tauri/target/release/bundle/deb/packet_${pkgver}_amd64/data/usr/share/icons/hicolor/256x256@2/apps/packet.png" \
44
"$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png"
45
46
# Install license
47
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
48
}
49
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 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |