workbuddy-bin

MEDIUM
maintainer oskarihelenius 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

Two genuine supply-chain concerns exist here: (1) The primary source is a macOS DMG pulled from download.codebuddy.cn (a Chinese CDN/vendor host, not a well-known official mirror) with SKIP'd checksums, meaning there is no integrity verification of the binary blob that gets unpacked and installed as the application. (2) During build(), npm install fetches @vscode/ripgrep, @vscode/sqlite3, and @vscode/spdlog from the npm registry without any pinned versions or lockfile, so the exact packages installed are determined at build time by whatever npm resolves. These are legitimate @vscode-scoped packages, but the lack of version pinning is a real (if low-probability) supply-chain risk. The SKIP checksums on the DMG are the more serious issue: any MITM or compromise of download.codebuddy.cn would silently deliver a different binary. Additionally, extracting a macOS DMG to install on Linux is non-standard and the resulting binary blob is not reproducible. The package is not clearly malicious, but the combination of an unverified binary from a non-standard host plus unpinned npm dependencies at build time constitutes a real medium-severity supply-chain concern.

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:37 npm install @vscode/ripgrep @vscode/sqlite3 @vscode/spdlog --omit=dev
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:22 source=("https://download.codebuddy.cn/workbuddy/saas/darwin-x64/WorkBuddy-darwin-x64-${pkgver}-${_commit}.dmg"
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): Two genuine supply-chain concerns exist here: (1) The primary source is a macOS DMG pulled from download.codebuddy.cn (a Chinese CDN/vendor host, not a well-known official mirror) with SKIP'd checksums, meaning there is no integrity verification of the binary blob that gets unpacked and installed as the application. (2) During build(), npm install fetches @vscode/ripgrep, @vscode/sqlite3, and @vscode/spdlog from the npm registry without any pinned versions or lockfile, so the exact packages installed are determined at build time by whatever npm resolves. These are legitimate @vscode-scoped packages, but the lack of version pinning is a real (if low-probability) supply-chain risk. The SKIP checksums on the DMG are the more serious issue: any MITM or compromise of download.codebuddy.cn would silently deliver a different binary. Additionally, extracting a macOS DMG to install on Linux is non-standard and the resulting binary blob is not reproducible. The package is not clearly malicious, but the combination of an unverified binary from a non-standard host plus unpinned npm dependencies at build time constitutes a real medium-severity supply-chain concern.

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Rongbo <wurongbo2012@hotmail.com>
2
3pkgname=workbuddy-bin
4pkgver=4.10.4.26327962
5pkgrel=1
6_commit=85c7979b
7pkgdesc="Work Smart,Not Hard"
8arch=('x86_64' 'aarch64')
9url="https://www.codebuddy.ai/agents"
10license=('custom')
11depends=('electron')
12makedepends=('7zip'
13 'npm'
14 'libicns'
15)
16checkdepends=()
17optdepends=(
18 'gnome-shell-extension-appindicator'
19)
20provides=()
21conflicts=()
22source=("https://download.codebuddy.cn/workbuddy/saas/darwin-x64/WorkBuddy-darwin-x64-${pkgver}-${_commit}.dmg"
23WorkBuddy.desktop
24)
25sha256sums=('SKIP'
26'SKIP'
27)
28
29prepare() {
30 rm -rf WorkBuddy/WorkBuddy.app/Contents/Resources/app
31 7z x WorkBuddy-darwin-x64-${pkgver}-${_commit}.dmg
32 mkdir -p WorkBuddy/WorkBuddy.app/Contents/Resources/node_modules
33}
34
35build() {
36 cd WorkBuddy/WorkBuddy.app/Contents/Resources
37 npm install @vscode/ripgrep @vscode/sqlite3 @vscode/spdlog --omit=dev
38 cp -a node_modules/* app/node_modules/
39 icns2png -x WorkBuddy.icns
40}
41
42package() {
43 install -D WorkBuddy.desktop ${pkgdir}/usr/share/applications/workbuddy.desktop
44 cd WorkBuddy/WorkBuddy.app/Contents/Resources
45 install -D WorkBuddy_512x512x32.png ${pkgdir}/usr/share/icons/hicolor/512x512/apps/WorkBuddy.png
46 install -D WorkBuddy_1024x1024x32.png ${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/WorkBuddy.png
47 install -d ${pkgdir}/usr/lib/workbuddy
48 install -d ${pkgdir}/usr/share/licenses/workbuddy
49 mv app/*txt ${pkgdir}/usr/share/licenses/workbuddy/
50 cp -a app/* ${pkgdir}/usr/lib/workbuddy/
51 install -Dm 755 /dev/stdin "${pkgdir}/usr/bin/workbuddy" <<EOF
52#!/usr/bin/bash
53exec electron /usr/lib/workbuddy/out/main.js "\$@"
54EOF
55}
56

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 3
2026-09-16 00:03:17 Medium 3
2026-09-15 00:25:31 Medium 3
2026-09-14 00:27:57 Medium 3
2026-09-13 00:19:54 Medium 3
2026-09-12 00:25:17 Medium 3
2026-09-11 00:19:22 Medium 3
2026-09-10 00:22:44 Medium 3
2026-09-09 00:04:09 Medium 3
2026-09-08 00:18:08 Medium 3
2026-09-07 00:30:15 Medium 3
2026-09-06 00:17:06 Medium 3
2026-09-05 00:16:27 Medium 3
2026-09-04 00:03:13 Medium 3
2026-09-03 00:15:47 Medium 3
2026-09-02 00:02:31 Medium 3
2026-09-01 00:11:19 Medium 3
2026-08-31 00:19:57 Medium 3
2026-08-30 00:04:14 Medium 3
2026-08-29 00:29:17 Medium 3

Report a package

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

0 / 4000
Your suggestion