sigma-file-manager
The package uses 'npm pack' to create a tarball from the local git source and then installs it globally, which triggers a static rule for installing an undeclared external package; however, since the source is pinned to a specific tag in a public GitHub repo and the resulting package is built locally, the actual risk is low, but the pattern matches medium-severity due to the ambiguity in package origin.
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 pack' to create a tarball from the local git source and then installs it globally, which triggers a static rule for installing an undeclared external package; however, since the source is pinned to a specific tag in a public GitHub repo and the resulting package is built locally, the actual risk is low, but the pattern matches medium-severity due to the ambiguity in package origin.
-
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=2
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}"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |