synkromium-git
maintainer TokiTauhid
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npx command is used to run electron-builder locally after npm ci and npm build, which are standard build steps for an Electron app; the package is built from its own source in the git repository, so this is a normal part of the build process, not execution of a remote package.
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 90%): The npx command is used to run electron-builder locally after npm ci and npm build, which are standard build steps for an Electron app; the package is built from its own source in the git repository, so this is a normal part of the build process, not execution of a remote package.
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:34
npx electron-builder --linux dir -p never
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Tokit Auhid <tokitauhidmim12@gmail.com>
2
3
pkgname=synkromium-git
4
pkgver=0.1.6
5
pkgrel=1
6
pkgdesc="Keep your Chromium browser settings and extensions in sync across all your devices, privately and automatically."
7
arch=('x86_64')
8
url="https://github.com/tokitauhid/Synkromium"
9
license=('MIT')
10
depends=('nss' 'libxss' 'libsecret' 'gtk3' 'alsa-lib')
11
makedepends=('git' 'npm' 'nodejs')
12
provides=('synkromium')
13
conflicts=('synkromium' 'synkromium-bin')
14
source=("git+https://github.com/tokitauhid/Synkromium.git"
15
"synkromium.desktop")
16
sha256sums=('SKIP'
17
'SKIP')
18
19
pkgver() {
20
cd "Synkromium"
21
# Attempt to use git tags, fallback to rev-list if no tags exist
22
git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
23
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
24
}
25
26
prepare() {
27
cd "Synkromium"
28
npm ci
29
}
30
31
build() {
32
cd "Synkromium"
33
npm run build
34
npx electron-builder --linux dir -p never
35
}
36
37
package() {
38
cd "Synkromium"
39
40
install -d "$pkgdir/opt/Synkromium"
41
cp -r release/linux-unpacked/* "$pkgdir/opt/Synkromium/"
42
chmod -R u-s,g-s,o-w,a+rX "$pkgdir"
43
44
install -d "$pkgdir/usr/bin"
45
ln -sf "/opt/Synkromium/synkromium" "$pkgdir/usr/bin/synkromium"
46
47
install -Dm644 "../synkromium.desktop" "$pkgdir/usr/share/applications/synkromium.desktop"
48
install -Dm644 "build/icons/icon.png" "$pkgdir/usr/share/pixmaps/synkromium.png"
49
}
50
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 |