groupme

MEDIUM
maintainer Froggo 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 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