cider-polybar
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed the full PKGBUILD and judged it LOW (confidence 75%): The PKGBUILD fetches source from the official upstream GitHub repo via git+https, which is legitimate. The `npm install pkg @types/node --save-dev` step pulls build-time dependencies from the official npm registry — this is a common pattern for TypeScript/Node projects that don't vendor their build tools. While it does introduce npm supply-chain exposure (as any npm-based build does), this is not materially different from any other AUR package that uses npm/yarn during build, and both `pkg` and `@types/node` are well-known, widely-used packages on the official registry. The use of `pkg` to bundle a self-contained binary is a standard Node.js packaging approach. The node12 target is old but not malicious. No unofficial or personal hosts are involved, no obfuscation, no exfiltration. This is sloppy (undeclared npm deps, git+SKIP hash, old node target) but not a genuine supply-chain threat beyond the normal npm ecosystem risk that applies to all Node.js AUR packages.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:21
npm install pkg @types/node --save-dev
PKGBUILD
1 offending line(s) highlighted# Maintainer: Nixuge
pkgname=cider-polybar
pkgver=1.2.0
pkgrel=1
pkgdesc='A PolyBar custom script to interact with Cider - An open-source, community-oriented Apple Music'
url=https://github.com/tnguye20/cider-polybar
arch=(x86_64)
license=(GNU3)
conflicts=('cider-polybar-bin')
makedepends=('typescript' 'nodejs' 'npm' 'git')
options=(!strip)
source=("git+https://github.com/tnguye20/cider-polybar.git")
sha256sums=('SKIP')
_pkgname="cider-polybar"
build() {
cd "${srcdir}/${_pkgname}"
# Install the requirements (pkg & types) to build
npm install pkg @types/node --save-dev
# Compile
tsc -p .
}
package() {
cd "${srcdir}/${_pkgname}"
# Install the License
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/cider-polybar/LICENSE"
# Unset the dev tag
unset CIDER_DEV
# Package with pkg*
node node_modules/pkg/lib-es5/bin.js . \
--output "${pkgdir}/usr/local/bin/cider-polybar" \
--targets node12-linux-x64
}
#*Using node12 since for some weird reason pkg
# doesn't seem to like other versions at all
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |