folea-git
The npx call runs electron-builder, a well-known local devDependency installed via 'npm ci' from the project's own package.json, not a remote arbitrary package; the rest of the build is a standard git+npm Electron app build from the project's own GitHub repo, posing no meaningful supply-chain risk beyond normal npm dependency trust.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 75%): The npx call runs electron-builder, a well-known local devDependency installed via 'npm ci' from the project's own package.json, not a remote arbitrary package; the rest of the build is a standard git+npm Electron app build from the project's own GitHub repo, posing no meaningful supply-chain risk beyond normal npm dependency trust.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:35
npx electron-builder --dir --linux --x64 --publish never
PKGBUILD
1 offending line(s) highlighted# Maintainer: Anatoliy Ivanov <maintainers@folea.dev>
pkgname=folea-git
pkgver=r51.g41576c3
pkgrel=1
pkgdesc='Keyboard-driven, minimalist note manager for Typst notes'
arch=('x86_64')
url='https://github.com/ivanovanatoliy/folea'
license=('Apache-2.0')
depends=('gtk3' 'nss' 'alsa-lib' 'libxss' 'libnotify' 'libsecret')
makedepends=('git' 'nodejs-lts-jod' 'npm')
provides=('folea')
conflicts=('folea')
options=('!strip')
source=('folea::git+https://github.com/ivanovanatoliy/folea.git#branch=develop'
'folea.desktop'
'folea.sh')
sha256sums=('SKIP'
'8b71db57faab405bcf721d4e6185c5d82c056201896a14b1c9ca23c1bc8d8336'
'14835d67b937df5874fdf05878bed07ed03bea2c1436b5837753966f2a2820d1')
pkgver() {
cd folea
printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd folea
export CSC_IDENTITY_AUTO_DISCOVERY=false
export FOLEA_SOURCE_BRANCH=develop
local appver
appver="$(node scripts/prepare-development-build.mjs)"
npm ci
npm version "$appver" --no-git-tag-version --allow-same-version
npm run build
npx electron-builder --dir --linux --x64 --publish never
}
package() {
install -d "$pkgdir/opt/folea"
cp -a "$srcdir/folea/dist/linux-unpacked/." "$pkgdir/opt/folea/"
chmod 4755 "$pkgdir/opt/folea/chrome-sandbox"
install -Dm755 "$srcdir/folea.sh" "$pkgdir/usr/bin/folea"
install -Dm644 "$srcdir/folea.desktop" "$pkgdir/usr/share/applications/folea.desktop"
install -Dm644 "$srcdir/folea/assets/logo/app-icon-dark.svg" \
"$pkgdir/usr/share/icons/hicolor/scalable/apps/folea.svg"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |