sigma-file-manager
The package uses 'npm install -g' with a dynamically generated package name from 'npm pack', which could result in installing an undeclared external package, posing a supply-chain risk if the source is tampered with.
Triggered rules
npm_install_external
Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.
-
PKGBUILD:40
npm install -g --prefix "${pkgdir}/usr" $(npm pack)
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 90%): The package uses 'npm install -g' with a dynamically generated package name from 'npm pack', which could result in installing an undeclared external package, posing a supply-chain risk if the source is tampered with.
-
PKGBUILD:40
npm install -g --prefix "${pkgdir}/usr" $(npm pack)
PKGBUILD
1 offending line(s) highlighted# Maintainer: taotieren <admin@taotieren.com>
pkgname=sigma-file-manager
_tagname=2.2.0
pkgver="${_tagname//-/_}"
pkgrel=1
pkgdesc="\"Sigma File Manager\" is a free, open-source, quickly evolving, modern file manager (explorer / finder) app for Windows and Linux."
arch=($CARCH)
url="https://github.com/aleksey-hoffman/sigma-file-manager"
license=('GPL-3.0-or-later')
provides=(${pkgname})
conflicts=(${pkgname} ${pkgname}-git)
replaces=()
depends=(
glibc
libgcc
nodejs
# AUR
zx
)
makedepends=(
git
electron-builder
npm
node-gyp
)
backup=()
options=('!strip' '!debug')
install=
source=("${pkgname}::git+${url}.git#tag=v${_tagname}")
sha256sums=('a37f3ee26e992c7dff745cce2eedc62d3a8fe3e63ff6bd42eca1acb8c719010d')
noextract=("${pkgname}-${_tagname}.tar.gz")
prepare() {
git -C "${srcdir}/${pkgname}" clean -dfx
}
package() {
cd "${srcdir}/${pkgname}"
npm install -g --prefix "${pkgdir}/usr" $(npm pack)
# Non-deterministic race in npm gives 777 permissions to random directories.
# See https://github.com/npm/cli/issues/1103 for details.
find "${pkgdir}/usr" -type d -exec chmod 755 {} +
# npm gives ownership of ALL FILES to build user
# https://bugs.archlinux.org/task/63396
chown -R root:root "${pkgdir}"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-22 00:13+++ PKGBUILD @ 2026-11-01 00:21@@ -1,7 +1,7 @@ # Maintainer: taotieren <admin@taotieren.com> pkgname=sigma-file-manager-_tagname=2.2.1-rc.2+_tagname=2.2.0 pkgver="${_tagname//-/_}" pkgrel=1 pkgdesc="\"Sigma File Manager\" is a free, open-source, quickly evolving, modern file manager (explorer / finder) app for Windows and Linux."@@ -28,7 +28,7 @@ options=('!strip' '!debug') install= source=("${pkgname}::git+${url}.git#tag=v${_tagname}")-sha256sums=('fff2da0d36d4732a85dd2235563a5df593952a98e0904b0a28a1d042432a8653')+sha256sums=('a37f3ee26e992c7dff745cce2eedc62d3a8fe3e63ff6bd42eca1acb8c719010d') noextract=("${pkgname}-${_tagname}.tar.gz") prepare() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 11:34:35 | Medium | 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 01:16:24 | Medium | 1 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |