signal-desktop-system-electron
The pnpm install runs on project-owned source from GitHub, building the official Signal Desktop app; the undeclared package install is part of the project's build process, not an external malicious injection.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pnpm install runs on project-owned source from GitHub, building the official Signal Desktop app; the undeclared package install is part of the project's build process, not an external malicious injection.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:66
pnpm install --dir sticker-creator
PKGBUILD
1 offending line(s) highlighted# Maintainer: Yaksh Bariya <yakshbari4@gmail.com>
pkgname=signal-desktop-system-electron
conflicts=('signal-desktop')
provides=('signal-desktop')
_parent_pkgname=signal-desktop
_pkgname=Signal-Desktop
pkgver=8.18.0
pkgrel=2
pkgdesc="Signal Private Messenger for Linux (uses system Electron)"
license=('AGPL-3.0-only')
arch=('x86_64')
url="https://signal.org"
depends=(
'electron'
'glibc'
'gtk3'
'hicolor-icon-theme'
'libcups'
'libdrm'
'libgcc'
'libnotify'
'libpulse'
'libx11'
'libxcb'
'libxcomposite'
'libxdamage'
'libxext'
'libxfixes'
'libxrandr'
'mesa'
'nspr'
'nss'
)
makedepends=(
'git'
'git-lfs'
'libxcrypt-compat'
'node-gyp'
'nodejs'
'npm'
'pnpm'
'python'
)
optdepends=('xdg-desktop-portal: Screensharing with Wayland')
source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/signalapp/${_pkgname}/archive/v${pkgver}.tar.gz"
"${_parent_pkgname}.desktop"
)
sha256sums=('61a93b2b5b74e696de74efe59d408b9ab8c026a826321379ce96a9b68172bc72'
'bf388df4b5bbcab5559ebbf220ed4748ed21b057f24b5ff46684e3fe6e88ccce')
b2sums=('adc87a1a3eee518446fba366362855c4bd7ba414162dfbade8c388ad7e367c807698fee10348db84cf72e02c1f4bd88b19e9bd276b0916b5d73b2ce9d614c35e'
'ffb8f7bab4fd84aacf13e7b6d2835daf449b6650b4b3fa723456792ba7fb6cae352928fea11cb030510d558ce30036ff5a1513444f067b94c7fff0158b4f2265')
prepare() {
cd "${_pkgname}-${pkgver}"
# git-lfs hook needs to be installed for one of the dependencies
export GIT_CONFIG_GLOBAL="$HOME/.gitconfig"
git lfs install
# Allow higher Node versions
sed 's#"node": "#&>=#' -i package.json
# Install dependencies for sticker-creator
pnpm install --dir sticker-creator
# Configure electron-builder's Linux target for the current Arch architecture.
case "${CARCH}" in
"aarch64") electron_arch="arm64" ;;
*) electron_arch="x64" ;;
esac
node scripts/prepare_linux_build.mjs deb "${electron_arch}"
# Install dependencies for signal-desktop
pnpm install --frozen-lockfile
}
build() {
cd "${_pkgname}-${pkgver}"
# Build the sticker creator
pnpm --prefix ./sticker-creator/ run build
# Build signal-desktop
pnpm run build
}
package() {
cd "${_pkgname}-${pkgver}"
install -d "${pkgdir}/usr/"{lib,bin}
cp -a release/linux-unpacked/resources/ "${pkgdir}/usr/lib/${_parent_pkgname}"
cat << EOF > "${pkgdir}/usr/bin/${_parent_pkgname}"
#!/bin/sh
NODE_ENV=production electron /usr/lib/${_parent_pkgname}/app.asar "\$@"
EOF
chmod +x "${pkgdir}/usr/bin/${_parent_pkgname}"
install -Dm 644 "../${_parent_pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
for i in 16 24 32 48 64 128 256 512 1024; do
install -Dm 644 "build/icons/png/${i}x${i}.png" \
"${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${_parent_pkgname}.png"
done
}
# vim: ts=2 sw=2 et:
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 |