signal-desktop-git
The pnpm install commands are run on the project's own source from GitHub, which is a legitimate build step for a Node.js application, not an undeclared external package installation.
Triggered rules
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 pnpm install commands are run on the project's own source from GitHub, which is a legitimate build step for a Node.js application, not an undeclared external package installation.
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:83
pnpm install --dir sticker-creator
PKGBUILD
1 offending line(s) highlighted# Maintainer: Bink
pkgname=signal-desktop-git
_pkgname=Signal-Desktop
pkgver=7.89.0.alpha.1.r23.g753766e4de
pkgrel=1
pkgdesc="Signal Private Messenger for Linux"
license=('AGPL-3.0-only')
arch=('x86_64')
url="https://signal.org"
provides=('signal-desktop')
conflicts=('signal-desktop')
depends=(
'alsa-lib' 'libasound.so'
'at-spi2-core' 'libatk-bridge-2.0.so'
'cairo' 'libcairo.so'
'dbus' 'libdbus-1.so'
'expat' 'libexpat.so'
'gcc-libs'
'glib2' 'libgio-2.0.so'
'glibc'
'gtk3'
'hicolor-icon-theme'
'libcups'
'libdrm'
'libnotify'
'libpulse'
'libx11'
'libxcb'
'libxcomposite'
'libxdamage'
'libxext'
'libxfixes'
'libxkbcommon' 'libxkbcommon.so'
'libxrandr'
'mesa'
'nspr'
'nss'
'pango' 'libpango-1.0.so'
'systemd-libs' 'libudev.so'
)
makedepends=(
'git'
'git-lfs'
'libxcrypt-compat'
'node-gyp'
'nodejs'
'pnpm'
'python'
'jq'
)
optdepends=('xdg-desktop-portal: Screensharing with Wayland')
source=(
"git+https://github.com/signalapp/${_pkgname}.git"
"${_pkgname,,}.desktop"
)
sha256sums=('SKIP'
'bf388df4b5bbcab5559ebbf220ed4748ed21b057f24b5ff46684e3fe6e88ccce')
b2sums=('SKIP'
'ffb8f7bab4fd84aacf13e7b6d2835daf449b6650b4b3fa723456792ba7fb6cae352928fea11cb030510d558ce30036ff5a1513444f067b94c7fff0158b4f2265')
pkgver() {
# Grab version from package.json and append revisions since and last git commit_hash.
cd "${_pkgname}"
version=$(jq -r '.version' package.json 2>/dev/null | tr '-' '.')
commit_hash=$(git rev-parse --short HEAD 2>/dev/null)
latest_tag=$(git tag --sort=-v:refname | head -n1 2>/dev/null)
commits_ahead=$( [[ -n "$latest_tag" ]] && git rev-list --count HEAD --not "$latest_tag" || echo 0 )
[[ -n "$version" ]] && [[ -n "$commit_hash" ]] && echo "${version}.r${commits_ahead}.g${commit_hash}" || echo "unknown"
}
prepare() {
cd "${_pkgname}"
# 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
# Install dependencies for signal-desktop
pnpm install
}
build() {
cd "${_pkgname}"
# Build the sticker creator
pnpm --prefix ./sticker-creator/ run build
# Build signal-desktop
pnpm run build
}
package() {
cd "${_pkgname}"
install -d "${pkgdir}/usr/"{lib,bin}
cp -a release/linux-unpacked "${pkgdir}/usr/lib/${_pkgname,,}"
ln -s "/usr/lib/${_pkgname,,}/${_pkgname,,}" "${pkgdir}/usr/bin/"
chmod u+s "${pkgdir}/usr/lib/${_pkgname,,}/chrome-sandbox"
install -Dm 644 "../${_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/${_pkgname,,}.png"
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 |