comty-desktop
maintainer ragestudio
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npx command runs electron-builder on the project's own source code from GitHub, which is a standard part of building an Electron app; the source is not untrusted in context, and no remote code execution beyond normal build process occurs.
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 command runs electron-builder on the project's own source code from GitHub, which is a standard part of building an Electron app; the source is not untrusted in context, and no remote code execution beyond normal build process occurs.
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:44
npx electron-builder --dir --publish never
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: srgooglo <srgooglo@ragestudio.net>
2
pkgname=comty-desktop
3
4
_electronversion=43
5
6
pkgver="0.12.0"
7
pkgrel=1
8
pkgdesc="Official Comty Desktop application"
9
arch=("x86_64")
10
url="https://github.com/ragestudio/comty"
11
license=("MIT")
12
13
conflicts=(
14
"comty-desktop-bin"
15
)
16
makedepends=(
17
"nodejs"
18
)
19
depends=(
20
"electron$_electronversion"
21
)
22
source=(
23
"comty.sh"
24
"comty-desktop.desktop"
25
"https://github.com/ragestudio/comty/archive/refs/heads/master.tar.gz"
26
)
27
sha256sums=(
28
"SKIP"
29
"SKIP"
30
"SKIP"
31
)
32
33
prepare() {
34
sed -i "s/{ver}/$_electronversion/" comty.sh
35
}
36
37
build() {
38
cd "$srcdir"
39
tar xf master.tar.gz
40
41
cd "$srcdir/comty-master/packages/desktop"
42
43
npm install -y
44
npx electron-builder --dir --publish never
45
}
46
47
package() {
48
echo "me cago"
49
50
install -Dm644 "$srcdir/comty-master/packages/desktop/dist/linux-unpacked/resources/app.asar" "$pkgdir/usr/lib/comty/app.asar"
51
install -Dm755 comty.sh "$pkgdir/usr/bin/comty"
52
53
install -Dm644 "$srcdir/comty-master/packages/desktop/resources/icon-512.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/comty.png"
54
install -Dm644 comty-desktop.desktop "$pkgdir/usr/share/applications/comty-desktop.desktop"
55
}
56
Changes since previous scan
--- PKGBUILD @ 2026-07-24 00:02+++ PKGBUILD @ 2026-08-03 00:08@@ -3,7 +3,7 @@ _electronversion=43 -pkgver="0.11.0"+pkgver="0.12.0" pkgrel=1 pkgdesc="Official Comty Desktop application" 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 21:28:26 | MEDIUM | 1 |
| 2026-07-24 13:27:52 | MEDIUM | 1 |
| 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 21:59:23 | MEDIUM | 1 |
| 2026-07-18 00:14:48 | LOW | 2 |