groupme

maintainer Froggo · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged 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.

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:24 npm install electron-packager
MEDIUM AI review 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
1# Maintainer: Froggo <Froggo8311@proton.me>
2# Contributor: h313 <harry@h313.info>
3
4pkgname=groupme
5pkgver=1.1.2
6pkgrel=1
7pkgdesc="Unofficial GroupMe electron client"
8
9arch=('x86_64')
10url="https://github.com/dcrousso/GroupMe"
11license=('MIT')
12
13depends=('electron' 'tar' 'npm')
14options=('!docs' '!emptydirs')
15source=("https://github.com/dcrousso/GroupMe/archive/refs/tags/v${pkgver}.tar.gz" "groupme.desktop")
16md5sums=('43e1f2e43d646008bb54778981fd5bca' '82e829e0ad8ed756453569edc6cddeb9')
17
18
19package() {
20 # Open GroupMe tarball, install deps, & compile
21 tar -xf v$pkgver.tar.gz
22 cd GroupMe-$pkgver
23 npm install
24 npm install electron-packager
25 npm run build-linux
26 cd ..
27
28 # Move built program to output directory
29 mkdir $pkgdir/opt/
30 mv GroupMe-$pkgver/dist/GroupMe-linux-x64 $pkgdir/opt/groupme
31 rm -rf GroupMe-$pkgver
32
33 # Install .desktop
34 mkdir -p $pkgdir/usr/share/applications/
35 cp groupme.desktop $pkgdir/usr/share/applications/
36}
37

Scan history

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

Report a package

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

0 / 4000
Your suggestion