irccloud-electron-git
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
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)
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# Maintainer: Youngbin Han <sukso96100@gmail.com>
# Submitter: Youngbin Han <sukso96100@gmail.com>
pkgname=irccloud-electron-git
_pkgname=IRCCloud
pkgver=42.13d2e17
pkgrel=1
pkgdesc="Mac App, Win App and Linux app for IRCCloud. (An Electron wrapper for IRCCloud.) "
arch=('any')
url="https://github.com/dalinaum/${_pkgname}"
license=('MIT')
depends=('nodejs')
makedepends=('nodejs' 'npm' 'git' 'wget')
source=("${_pkgname}"::"git+https://github.com/dalinaum/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}"
wget "https://aur.archlinux.org/cgit/aur.git/plain/irccloud-electron.desktop?h=irccloud-electron-git" -o ./irccloud-electron.desktop
}
build() {
cd "${srcdir}/${_pkgname}"
echo "Building.. : [Install Build Dependencies] | Build | Done"
npm install
rm -rf dist
mkdir dist
echo "Building.. : Install Build Dependencies | [Build] | Done"
./build-linux.js ${_pkgname} $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
echo "Building.. : Install Build Dependencies | Build | [Done]"
}
package() {
cd "${srcdir}"
echo "Packaging.. : [Desktop Shortcut] | Icon | Other Files | Done"
install -Dm644 "${srcdir}/irccloud-electron.desktop" "$pkgdir/usr/share/applications/irccloud-electron.desktop"
echo "Packaging.. : Desktop Shortcut | [Icon] | Other Files | Done"
install -Dm644 "${srcdir}/${_pkgname}/resources/icon.iconset/icon_512x512.png" "$pkgdir/usr/share/irccloud-electron/icon.png"
echo "Packaging.. : Desktop Shortcut | Icon | [Other Files] | Done"
cp -r ${srcdir}/${_pkgname}/build/IRCCloud-linux/* $pkgdir/usr/share/irccloud-electron/
echo "Packaging.. : Desktop Shortcut | Icon | Other Files | [Done]"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |