folea-git
maintainer anatoliy_ivanov
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
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
LOW
AI review downgraded a static finding
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)
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:35
npx electron-builder --dir --linux --x64 --publish never
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Anatoliy Ivanov <maintainers@folea.dev>
2
pkgname=folea-git
3
pkgver=r51.g41576c3
4
pkgrel=1
5
pkgdesc='Keyboard-driven, minimalist note manager for Typst notes'
6
arch=('x86_64')
7
url='https://github.com/ivanovanatoliy/folea'
8
license=('Apache-2.0')
9
depends=('gtk3' 'nss' 'alsa-lib' 'libxss' 'libnotify' 'libsecret')
10
makedepends=('git' 'nodejs-lts-jod' 'npm')
11
provides=('folea')
12
conflicts=('folea')
13
options=('!strip')
14
source=('folea::git+https://github.com/ivanovanatoliy/folea.git#branch=develop'
15
'folea.desktop'
16
'folea.sh')
17
sha256sums=('SKIP'
18
'8b71db57faab405bcf721d4e6185c5d82c056201896a14b1c9ca23c1bc8d8336'
19
'14835d67b937df5874fdf05878bed07ed03bea2c1436b5837753966f2a2820d1')
20
21
pkgver() {
22
cd folea
23
printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
24
}
25
26
build() {
27
cd folea
28
export CSC_IDENTITY_AUTO_DISCOVERY=false
29
export FOLEA_SOURCE_BRANCH=develop
30
local appver
31
appver="$(node scripts/prepare-development-build.mjs)"
32
npm ci
33
npm version "$appver" --no-git-tag-version --allow-same-version
34
npm run build
35
npx electron-builder --dir --linux --x64 --publish never
36
}
37
38
package() {
39
install -d "$pkgdir/opt/folea"
40
cp -a "$srcdir/folea/dist/linux-unpacked/." "$pkgdir/opt/folea/"
41
chmod 4755 "$pkgdir/opt/folea/chrome-sandbox"
42
install -Dm755 "$srcdir/folea.sh" "$pkgdir/usr/bin/folea"
43
install -Dm644 "$srcdir/folea.desktop" "$pkgdir/usr/share/applications/folea.desktop"
44
install -Dm644 "$srcdir/folea/assets/logo/app-icon-dark.svg" \
45
"$pkgdir/usr/share/icons/hicolor/scalable/apps/folea.svg"
46
}
47
Changes since previous scan
--- PKGBUILD @ 2026-07-19 07:12+++ PKGBUILD @ 2026-08-03 00:08@@ -2,7 +2,7 @@ pkgname=folea-git pkgver=r51.g41576c3 pkgrel=1-pkgdesc='Development build of the keyboard-driven Typst note reader'+pkgdesc='Keyboard-driven, minimalist note manager for Typst notes' arch=('x86_64') url='https://github.com/ivanovanatoliy/folea' license=('Apache-2.0')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 3 |
| 2026-08-01 00:11:18 | LOW | 3 |
| 2026-07-31 00:14:10 | LOW | 3 |
| 2026-07-30 00:17:23 | LOW | 3 |
| 2026-07-29 00:25:53 | LOW | 3 |
| 2026-07-28 00:07:28 | LOW | 3 |
| 2026-07-27 00:24:32 | LOW | 3 |
| 2026-07-26 00:07:32 | LOW | 3 |
| 2026-07-25 00:13:44 | LOW | 3 |
| 2026-07-24 00:02:28 | LOW | 3 |
| 2026-07-23 00:14:47 | LOW | 3 |
| 2026-07-22 00:29:32 | LOW | 3 |
| 2026-07-21 00:24:15 | LOW | 3 |
| 2026-07-20 00:19:49 | LOW | 3 |
| 2026-07-19 09:11:47 | LOW | 3 |
| 2026-07-19 09:10:42 | MEDIUM | 2 |
| 2026-07-19 07:12:01 | LOW | 3 |
| 2026-07-19 07:10:24 | MEDIUM | 2 |