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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |