sigma-file-manager

MEDIUM
maintainer taotieren 0 votes scanned 2026-09-17 00:27:14.276658
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

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion