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
3
pkgname=sigma-file-manager
4
_tagname=2.2.0
5
pkgver="${_tagname//-/_}"
6
pkgrel=2
7
pkgdesc="\"Sigma File Manager\" is a free, open-source, quickly evolving, modern file manager (explorer / finder) app for Windows and Linux."
8
arch=($CARCH)
9
url="https://github.com/aleksey-hoffman/sigma-file-manager"
10
license=('GPL-3.0-or-later')
11
provides=(${pkgname})
12
conflicts=(${pkgname} ${pkgname}-git)
13
replaces=()
14
depends=(
15
glibc
16
libgcc
17
nodejs
18
# AUR
19
zx
20
)
21
makedepends=(
22
git
23
electron-builder
24
npm
25
node-gyp
26
)
27
backup=()
28
options=('!strip' '!debug')
29
install=
30
source=("${pkgname}::git+${url}.git#tag=v${_tagname}")
31
sha256sums=('a37f3ee26e992c7dff745cce2eedc62d3a8fe3e63ff6bd42eca1acb8c719010d')
32
noextract=("${pkgname}-${_tagname}.tar.gz")
33
34
prepare() {
35
git -C "${srcdir}/${pkgname}" clean -dfx
36
}
37
38
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |