sho-metrics-source-linux
The package builds from a source tarball hosted on a personal GitHub fork with few votes and recent upload, but it is a legitimate Node.js project that vendors dependencies normally; no remote code execution or malicious behavior is present.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from a source tarball hosted on a personal GitHub fork with few votes and recent upload, but it is a legitimate Node.js project that vendors dependencies normally; no remote code execution or malicious behavior is present.
PKGBUILD
# Maintainer: Emanuele Sparvoli <sparvoli@gmail.com>
pkgname=sho-metrics-source-linux
_forkver=0.3.0-linux.3
pkgver=0.3.0.linux.3
pkgrel=1
pkgdesc="Linux hardware sensor helper daemon for the Sho Metrics OpenDeck plugin"
arch=('any')
url="https://github.com/emaspa/sho-metrics-linux"
license=('GPL-3.0-only')
depends=('nodejs>=20')
makedepends=('npm')
optdepends=(
'lact: NVIDIA GPU sensors (hotspot, VRAM junction, fan, power, clocks)'
'mangohud: in-game FPS, 1% lows and frametime'
)
install="${pkgname}.install"
source=("${pkgname}-${_forkver}.tar.gz::${url}/releases/download/v${_forkver}/${pkgname}-${_forkver}.tar.gz")
# Placeholder: run updpkgsums once the release asset is uploaded, then regenerate
# .SRCINFO with `makepkg --printsrcinfo > .SRCINFO`.
sha256sums=('30aeb854a059ba0eb8cd8ec4b0fa86a7d4431822478aab06ceb535131cb5c69d')
_libdir="/usr/lib/${pkgname}"
build() {
cd "${pkgname}-${_forkver}"
# Vendors the dependencies from package-lock.json. Needs network, like every
# other AUR node package; the user never runs npm afterwards.
export npm_config_cache="${srcdir}/npm-cache"
npm ci --omit=dev --ignore-scripts --no-fund --no-audit
sed -e "s|@NODE@|/usr/bin/node|" \
-e "s|@SERVER_PATH@|${_libdir}/server.mjs|" \
-e "s|@PROTO_DIR@|${_libdir}/proto|" \
systemd/shometrics-linux-helper.service > shometrics-linux-helper.service
}
check() {
cd "${pkgname}-${_forkver}"
SHOMETRICS_PROTO_DIR="${PWD}/proto" node server.mjs --check
}
package() {
cd "${pkgname}-${_forkver}"
install -dm755 "${pkgdir}${_libdir}"
cp -a server.mjs package.json proto node_modules "${pkgdir}${_libdir}/"
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 shometrics-linux-helper.service \
"${pkgdir}/usr/lib/systemd/user/shometrics-linux-helper.service"
install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-13 19:15:06 | Low | 2 |