irccloud-electron-git

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The flagged pattern is `./build-linux.js` being executed in the build() step - this is a Node.js build script from the cloned upstream git repository (github.com/dalinaum/IRCCloud), not an externally downloaded executable. The wget in prepare() downloads a .desktop file from the AUR cgit server (aur.archlinux.org) for the same package, which is a common AUR pattern for companion files. The wget uses `-o` (lowercase) which writes to a log file rather than saving the downloaded content - this is actually a bug (should be `-O`), meaning the .desktop file won't be saved correctly and the install step will likely fail. The build itself uses npm install + a local build script, which is standard Electron packaging. No obfuscation, no exfiltration, no payload execution from an attacker-controlled host. The wget flag from the scanner is a false positive - the source is the official AUR cgit server. The `-o` vs `-O` bug makes this likely broken but not malicious.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this HIGH, but an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed the full PKGBUILD and judged it LOW (confidence 82%): The flagged pattern is `./build-linux.js` being executed in the build() step - this is a Node.js build script from the cloned upstream git repository (github.com/dalinaum/IRCCloud), not an externally downloaded executable. The wget in prepare() downloads a .desktop file from the AUR cgit server (aur.archlinux.org) for the same package, which is a common AUR pattern for companion files. The wget uses `-o` (lowercase) which writes to a log file rather than saving the downloaded content - this is actually a bug (should be `-O`), meaning the .desktop file won't be saved correctly and the install step will likely fail. The build itself uses npm install + a local build script, which is standard Electron packaging. No obfuscation, no exfiltration, no payload execution from an attacker-controlled host. The wget flag from the scanner is a false positive - the source is the official AUR cgit server. The `-o` vs `-O` bug makes this likely broken but not malicious.

1 higher static finding superseded - not the current verdict (shown for transparency)
HIGH Downloaded file is executed download_then_exec

A file fetched with curl/wget (not part of source=(), so never checksum-verified) is later made executable or run — a fetch-and-execute pattern split across statements.

  • PKGBUILD:24 wget "https://aur.archlinux.org/cgit/aur.git/plain/irccloud-electron.desktop?h=irccloud-electron-git" -o ./irccloud-electron.desktop

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Youngbin Han <sukso96100@gmail.com>
2# Submitter: Youngbin Han <sukso96100@gmail.com>
3
4pkgname=irccloud-electron-git
5_pkgname=IRCCloud
6pkgver=42.13d2e17
7pkgrel=1
8pkgdesc="Mac App, Win App and Linux app for IRCCloud. (An Electron wrapper for IRCCloud.) "
9arch=('any')
10url="https://github.com/dalinaum/${_pkgname}"
11license=('MIT')
12depends=('nodejs')
13makedepends=('nodejs' 'npm' 'git' 'wget')
14source=("${_pkgname}"::"git+https://github.com/dalinaum/${_pkgname}.git")
15md5sums=('SKIP')
16
17pkgver() {
18 cd "${srcdir}/${_pkgname}"
19 echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
20}
21
22prepare() {
23 cd "${srcdir}"
24 wget "https://aur.archlinux.org/cgit/aur.git/plain/irccloud-electron.desktop?h=irccloud-electron-git" -o ./irccloud-electron.desktop
25}
26
27build() {
28 cd "${srcdir}/${_pkgname}"
29 echo "Building.. : [Install Build Dependencies] | Build | Done"
30 npm install
31 rm -rf dist
32 mkdir dist
33 echo "Building.. : Install Build Dependencies | [Build] | Done"
34 ./build-linux.js ${_pkgname} $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
35 echo "Building.. : Install Build Dependencies | Build | [Done]"
36}
37
38package() {
39 cd "${srcdir}"
40 echo "Packaging.. : [Desktop Shortcut] | Icon | Other Files | Done"
41 install -Dm644 "${srcdir}/irccloud-electron.desktop" "$pkgdir/usr/share/applications/irccloud-electron.desktop"
42 echo "Packaging.. : Desktop Shortcut | [Icon] | Other Files | Done"
43 install -Dm644 "${srcdir}/${_pkgname}/resources/icon.iconset/icon_512x512.png" "$pkgdir/usr/share/irccloud-electron/icon.png"
44 echo "Packaging.. : Desktop Shortcut | Icon | [Other Files] | Done"
45 cp -r ${srcdir}/${_pkgname}/build/IRCCloud-linux/* $pkgdir/usr/share/irccloud-electron/
46 echo "Packaging.. : Desktop Shortcut | Icon | Other Files | [Done]"
47}
48

Scan history

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

Report a package

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

0 / 4000
Your suggestion