groupme

MEDIUM
maintainer Froggo 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 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