sigma-file-manager

maintainer taotieren · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged 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

MEDIUM npm/yarn/pnpm install of an undeclared external package 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)
MEDIUM AI review 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
1# Maintainer: taotieren <admin@taotieren.com>
2
3pkgname=sigma-file-manager
4_tagname=2.2.0
5pkgver="${_tagname//-/_}"
6pkgrel=2
7pkgdesc="\"Sigma File Manager\" is a free, open-source, quickly evolving, modern file manager (explorer / finder) app for Windows and Linux."
8arch=($CARCH)
9url="https://github.com/aleksey-hoffman/sigma-file-manager"
10license=('GPL-3.0-or-later')
11provides=(${pkgname})
12conflicts=(${pkgname} ${pkgname}-git)
13replaces=()
14depends=(
15 glibc
16 libgcc
17 nodejs
18 # AUR
19 zx
20)
21makedepends=(
22 git
23 electron-builder
24 npm
25 node-gyp
26)
27backup=()
28options=('!strip' '!debug')
29install=
30source=("${pkgname}::git+${url}.git#tag=v${_tagname}")
31sha256sums=('a37f3ee26e992c7dff745cce2eedc62d3a8fe3e63ff6bd42eca1acb8c719010d')
32noextract=("${pkgname}-${_tagname}.tar.gz")
33
34prepare() {
35 git -C "${srcdir}/${pkgname}" clean -dfx
36}
37
38package() {
39 cd "${srcdir}/${pkgname}"
40 npm install -g --prefix "${pkgdir}/usr" $(npm pack)
41
42 # Non-deterministic race in npm gives 777 permissions to random directories.
43 # See https://github.com/npm/cli/issues/1103 for details.
44 find "${pkgdir}/usr" -type d -exec chmod 755 {} +
45
46 # npm gives ownership of ALL FILES to build user
47 # https://bugs.archlinux.org/task/63396
48 chown -R root:root "${pkgdir}"
49}
50

Changes since previous scan

--- PKGBUILD @ 2026-07-31 00:14
+++ PKGBUILD @ 2026-08-03 00:08
@@ -3,7 +3,7 @@
pkgname=sigma-file-manager
_tagname=2.2.0
pkgver="${_tagname//-/_}"
-pkgrel=1
+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"

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 07:17:22 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 19:55:55 MEDIUM 2
2026-07-17 00:06:16 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion