colab-desktop

maintainer mishakmak · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds a desktop wrapper using Electron and nativefier on the user's system from local sources and a legitimate project URL; the non-whitelisted favicon download and runtime npm install of a declared tool (nativefier) pose minimal risk as they are part of the build process and not executed code.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds a desktop wrapper using Electron and nativefier on the user's system from local sources and a legitimate project URL; the non-whitelisted favicon download and runtime npm install of a declared tool (nativefier) pose minimal risk as they are part of the build process and not executed code.

2 higher static findings superseded - not the current verdict (shown for transparency)
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 nativefier
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:13 source=('build.js' 'colab-desktop' 'GoogleColab.desktop' 'https://colab.research.google.com/img/favicon.ico')

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Misha <mishakmak at gmail dot com>
2
3pkgname=colab-desktop
4pkgver=1.0
5pkgrel=2
6pkgdesc="Google Colab desktop webapp wrapper"
7arch=('any')
8url="https://colab.research.google.com/"
9license=('MIT')
10depends=('electron')
11makedepends=('npm' 'icoutils')
12replaces=('colab-chromium-desktop')
13source=('build.js' 'colab-desktop' 'GoogleColab.desktop' 'https://colab.research.google.com/img/favicon.ico')
14sha256sums=('8a248e77ef7a0a6058d45a3b3c3b2e02ae563332d313fbaae2da8e4baf21f33f'
15 'f72bd81379a65d7825fc7a2c5cef141330380b16b1fd3dceefcc50dde812c7f7'
16 '7c5cd5852cc603e45a99cf2e9787a150ec8717b0477ea8d57daa5193a0b79a53'
17 '52232ddc81832d3edc91776ac1bc587fc40c91dc633e00b5f911466ad1c67f3a')
18
19build() {
20 cd "$srcdir"
21 sed -i "s/SYS_ELECTRON_VERS/$(tail /usr/lib/electron/version)/" build.js
22 icotool -x favicon.ico
23 cp favicon_1_128x128x32.png googlecolab.png
24 npm install nativefier
25 node build.js
26}
27
28package() {
29 cd "$srcdir"
30 install -Dm644 GoogleColab-linux-*/resources/app.asar -t "$pkgdir/usr/share/colab-desktop/"
31 install -Dm755 "colab-desktop" -t "$pkgdir/usr/bin/"
32 install -Dm644 "GoogleColab.desktop" -t "$pkgdir/usr/share/applications/"
33 install -Dm644 "favicon_1_128x128x32.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/googlecolab.png"
34 install -Dm644 "favicon_2_32x32x32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/googlecolab.png"
35 install -Dm644 "favicon_3_16x16x32.png" "$pkgdir/usr/share/icons/hicolor/16x16/apps/googlecolab.png"
36}
37

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 3
2026-08-02 00:16:08 LOW 3
2026-08-01 00:11:18 LOW 3
2026-07-31 00:14:10 LOW 3
2026-07-30 00:17:23 LOW 3
2026-07-29 00:25:53 LOW 3
2026-07-28 00:07:28 LOW 3
2026-07-27 00:24:32 LOW 3
2026-07-26 00:07:32 LOW 3
2026-07-25 00:13:44 LOW 3
2026-07-24 00:02:28 LOW 3
2026-07-23 00:14:47 LOW 3
2026-07-22 00:29:32 LOW 3
2026-07-21 00:24:15 LOW 3
2026-07-20 00:19:49 LOW 3
2026-07-19 00:17:08 LOW 3
2026-07-18 00:14:48 LOW 3
2026-07-17 00:06:16 LOW 3
2026-07-16 00:05:41 LOW 3
2026-07-15 00:09:25 LOW 3

Report a package

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

0 / 4000
Your suggestion