mendeleydesktop
The package downloads prebuilt binaries from Mendeley's official domain (desktop-download.mendeley.com), which is plausibly the project's own release infrastructure; despite the non-whitelisted host, the source is verifiable via checksums and the worst case of a swapped download would be code execution, but the context suggests legitimate software distribution.
Triggered rules
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is LOW (confidence 95%): The package downloads prebuilt binaries from Mendeley's official domain (desktop-download.mendeley.com), which is plausibly the project's own release infrastructure; despite the non-whitelisted host, the source is verifiable via checksums and the worst case of a swapped download would be code execution, but the context suggests legitimate software distribution.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:13
source_i686=("https://desktop-download.mendeley.com/download/linux/$pkgbase-$pkgver-linux-i486.tar.bz2")
PKGBUILD
1 offending line(s) highlighted# Maintainer: xgdgsc <xgdgsc at gmail dot com>
# Maintainer: Alesandar Trifunović <akstrfn at gmail dot com>
pkgbase=mendeleydesktop
pkgname=('mendeleydesktop'
'mendeleydesktop-bundled')
pkgver=1.19.8
pkgrel=1
pkgdesc="Academic software for managing and sharing research papers."
url=http://www.mendeley.com/release-notes/
arch=(i686 x86_64)
license=(custom:mendeley_eula)
source_i686=("https://desktop-download.mendeley.com/download/linux/$pkgbase-$pkgver-linux-i486.tar.bz2")
source_x86_64=("https://desktop-download.mendeley.com/download/linux/$pkgbase-$pkgver-linux-x86_64.tar.bz2")
sha512sums_i686=('c2bb4fb332c61275f5fd9ff691f72cec24b9d5c7c5de0f16713bdb38086eb935b5eea24cffa04817d08b997591886d7b8942df38addc7f30c794438be62e1ea7')
sha512sums_x86_64=('95e39e6cd19ec5f012ecfe9f340522eacb2afb5766b0640e5934da07ff1c3503f4f5e9ea48c83f78e1df7ed23191d89aa3c0ebe0c483493d6a5cc681d52ec2eb')
if [[ $CARCH = i686 ]];then
$CARCH=i486
fi
prepare() {
cp -a "$pkgbase-$pkgver-linux-$CARCH" "mendeley-native"
}
package_mendeleydesktop() {
depends=('qt5-webengine')
cd "mendeley-native"
# Using shared libraries so remove the bundled ones
rm -rf lib/cpp lib/qt lib/ssl lib/libpng12.so.0 lib/mendeleydesktop/plugins
rm -rf lib/mendeleydesktop/libexec/resources
rm -rf lib/mendeleydesktop/libexec/translations/qtwebengine_locales
# TODO Run install-mendeley-link-handler.sh for gconf or just remove it?
rm bin/install-mendeley-link-handler.sh
# # Remove unneeded lines if gconf is not installed.
# if ! which gconftool-2 &>/dev/null;then
# sed -i '/GCONF/d' \
# "$pkgdir"/opt/"$pkgbase"/bin/install-mendeley-link-handler.sh
# fi
# Link system Qt
ln -s /usr/share/qt/resources \
lib/mendeleydesktop/libexec/
ln -s /usr/share/qt/translations/qtwebengine_locales \
lib/mendeleydesktop/libexec/translations/
install -d "$pkgdir/opt/$pkgbase/"
cp -a bin lib share "$pkgdir/opt/$pkgbase/"
# Replace default python laucher with custom bash
cat <<'EOF' > "$pkgdir/opt/$pkgbase/bin/mendeleydesktop"
#!/bin/bash
export LD_LIBRARY_PATH=/usr/lib/:/opt/mendeleydesktop/lib/:/usr/lib/qt/
export MENDELEY_BUNDLED_QT_PLUGIN_PATH=/lib/qt/plugins/
/opt/mendeleydesktop/lib/mendeleydesktop/libexec/mendeleydesktop.x86_64 "$@"
EOF
install -d "$pkgdir"/usr/bin
ln -s "/opt/$pkgbase/bin/mendeleydesktop" \
"$pkgdir/usr/bin/mendeleydesktop"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgbase/LICENSE"
install -Dm644 share/applications/mendeleydesktop.desktop \
"$pkgdir"/usr/share/applications/mendeleydesktop.desktop
cp -a "$pkgdir/opt/$pkgbase/share/icons" "$pkgdir/usr/share/icons"
# Clean share from opt (don't remove mendeleydesktop)
rm -rf "$pkgdir/opt/$pkgbase/share/"{applications,doc,icons}
}
package_mendeleydesktop-bundled() {
provides=('mendeleydesktop')
conflicts=('mendeleydesktop')
cd "$pkgbase-$pkgver-linux-$CARCH"
sed -i 's/Exec=/&env LD_LIBRARY_PATH=\/opt\/mendeleydesktop\/lib\/mendeleydesktop\/plugins\/platforms /' bin/install-mendeley-link-handler.sh
install -d "$pkgdir/opt/$pkgbase"
cp -a bin lib share "$pkgdir/opt/$pkgbase/"
install -d "$pkgdir"/usr/bin
ln -s "/opt/$pkgbase/bin/mendeleydesktop" \
"$pkgdir/usr/bin/mendeleydesktop"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgbase/LICENSE"
install -Dm644 share/applications/mendeleydesktop.desktop \
"$pkgdir"/usr/share/applications/mendeleydesktop.desktop
cp -a "$pkgdir/opt/$pkgbase/share/icons" "$pkgdir/usr/share/icons"
# Clean share from opt (don't remove mendeleydesktop)
rm -rf "$pkgdir/opt/$pkgbase/share/"{applications,doc,icons}
}
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 |