colab-desktop

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