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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |