groupme-git

maintainer Froggo · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged This PKGBUILD has several real supply-chain concerns beyond just 'npm install': (1) It clones the upstream git repo at build time inside package() rather than using the sources array with a proper VCS source, meaning no integrity verification whatsoever on the cloned code. (2) It runs 'npm install' which pulls arbitrary npm packages from the registry at build time with no lockfile pinning or checksum verification. (3) It additionally runs 'npm install electron-packager' pulling another package with no version pin. (4) The cloned code is then compiled and executed via 'npm run build-linux'. (5) pkgver='latest' is a static string, not a real version, meaning updates are never tracked. The combination of unverified git clone + unpinned npm dependency resolution + execution of the resulting build constitutes a genuine supply-chain risk: any compromise of the npm packages or the upstream repo would result in execution of attacker-controlled code during the build. This is a real medium-severity concern, 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 82%): This PKGBUILD has several real supply-chain concerns beyond just 'npm install': (1) It clones the upstream git repo at build time inside package() rather than using the sources array with a proper VCS source, meaning no integrity verification whatsoever on the cloned code. (2) It runs 'npm install' which pulls arbitrary npm packages from the registry at build time with no lockfile pinning or checksum verification. (3) It additionally runs 'npm install electron-packager' pulling another package with no version pin. (4) The cloned code is then compiled and executed via 'npm run build-linux'. (5) pkgver='latest' is a static string, not a real version, meaning updates are never tracked. The combination of unverified git clone + unpinned npm dependency resolution + execution of the resulting build constitutes a genuine supply-chain risk: any compromise of the npm packages or the upstream repo would result in execution of attacker-controlled code during the build. This is a real medium-severity concern, not a false positive.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Froggo <Froggo8311@proton.me>
2
3pkgname=groupme-git
4pkgver=latest
5pkgrel=1
6pkgdesc='Unofficial GroupMe electron client (git version)'
7
8arch=(any)
9url="https://github.com/dcrousso/GroupMe"
10license=('MIT')
11
12depends=('electron' 'tar' 'npm' 'git')
13options=('!docs' '!emptydirs')
14source=("groupme.desktop")
15md5sums=('82e829e0ad8ed756453569edc6cddeb9')
16provides=(groupme)
17conflicts=(groupme)
18
19package() {
20 # Open GroupMe tarball, install deps, & compile
21 git clone $url GroupMe-$pkgver
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