pilot-git

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The npx command is used to run electron-packager on the project's own source code from a trusted Git repository, which is a standard build step for Electron apps and does not execute 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npx command is used to run electron-packager on the project's own source code from a trusted Git repository, which is a standard build step for Electron apps and does not execute 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:29 npx electron-packager . "${_pkgname}" --platform=linux --arch=x64 --out build/ --overwrite --icon=icon.ico

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Tommaso Sardelli <lacapannadelloziotom at gmail dot com>
2
3pkgname=pilot-git
4_pkgname=Pilot
5pkgver=r173.2b34874
6pkgrel=1
7pkgdesc="Orca's best friend."
8arch=('x86_64')
9url='http://wiki.xxiivv.com/Pilot'
10license=('MIT')
11depends=('electron')
12makedepends=('npm' 'git')
13source=("$pkgname::git+https://github.com/hundredrabbits/Pilot.git")
14sha1sums=('SKIP')
15
16pkgver() {
17 cd "$pkgname"
18 ( set -o pipefail
19 git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
20 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
21 )
22}
23
24
25build() {
26 cd "${srcdir}/${pkgname}/desktop"
27 npm install
28
29 npx electron-packager . "${_pkgname}" --platform=linux --arch=x64 --out build/ --overwrite --icon=icon.ico
30}
31
32
33package() {
34 install -dm755 "${pkgdir}/opt"
35 mv "${srcdir}/${pkgname}/desktop/build/"${_pkgname}"-linux-x64" "${pkgdir}/opt/"${_pkgname}""
36
37 install -dm755 "${pkgdir}/usr/bin"
38 ln -s /opt/"${_pkgname}"/"${_pkgname}" "${pkgdir}/usr/bin/pilot"
39
40 # generate freedesktop entry files, aligned with description in package.json and forge.config.js
41 install -Dm644 /dev/stdin "${pkgdir}/usr/share/applications/${_pkgname}.desktop" <<END
42[Desktop Entry]
43Name=${_pkgname}
44Comment=Orca's best friend
45Exec=pilot %U
46Terminal=false
47Type=Application
48Icon=${_pkgname}
49StartupWMClass=${_pkgname}
50END
51}
52

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion