groupme
Triggered rules
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:24
npm install electron-packager
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 75%): The PKGBUILD runs 'npm install electron-packager' at build time without pinning a version or declaring it in the source array with a checksum. This means the exact version of electron-packager (and its entire dependency tree) is resolved and downloaded from the npm registry at build time with no integrity verification beyond whatever npm itself provides. While electron-packager is a well-known, legitimate tool, fetching and executing undeclared, unpinned npm packages during the build phase is a genuine supply-chain concern: a compromised or typosquatted package could execute arbitrary code during 'npm run build-linux'. Additionally, 'npm install' for the project's own dependencies also pulls unchecked packages. The source tarball itself is from the official GitHub repo with an md5sum, which is fine, but the npm-fetched code is unverified. This is a real medium-severity supply-chain risk, not a false positive.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Froggo <Froggo8311@proton.me>
# Contributor: h313 <harry@h313.info>
pkgname=groupme
pkgver=1.1.2
pkgrel=1
pkgdesc="Unofficial GroupMe electron client"
arch=('x86_64')
url="https://github.com/dcrousso/GroupMe"
license=('MIT')
depends=('electron' 'tar' 'npm')
options=('!docs' '!emptydirs')
source=("https://github.com/dcrousso/GroupMe/archive/refs/tags/v${pkgver}.tar.gz" "groupme.desktop")
md5sums=('43e1f2e43d646008bb54778981fd5bca' '82e829e0ad8ed756453569edc6cddeb9')
package() {
# Open GroupMe tarball, install deps, & compile
tar -xf v$pkgver.tar.gz
cd GroupMe-$pkgver
npm install
npm install electron-packager
npm run build-linux
cd ..
# Move built program to output directory
mkdir $pkgdir/opt/
mv GroupMe-$pkgver/dist/GroupMe-linux-x64 $pkgdir/opt/groupme
rm -rf GroupMe-$pkgver
# Install .desktop
mkdir -p $pkgdir/usr/share/applications/
cp groupme.desktop $pkgdir/usr/share/applications/
}
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 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 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |