neo4j-desktop

MEDIUM
maintainer nglgzz 7 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt AppImage from a non-standard host via a redirect link, which is unverifiable and could be silently swapped, posing a supply-chain risk.

Triggered rules

Medium source=() URL on a non-standard host 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:14 source=("${_appimage}::https://neo4j.com/artifact.php?name=${_appimage}")
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 90%): The package downloads a prebuilt AppImage from a non-standard host via a redirect link, which is unverifiable and could be silently swapped, posing a supply-chain risk.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Angelo Gazzola <(firstname) @ nglgzz.com>
2pkgname=neo4j-desktop
3pkgver=2.2.1
4pkgrel=1
5pkgdesc="GUI for managing local and remote Neo4j Graph databases"
6arch=('x86_64')
7url=http://neo4j.org/
8license=(custom)
9makedepends=('imagemagick')
10depends=('fuse')
11optdepends=('gnome-keyring: Adds support for storing secrets')
12options=(!strip)
13_appimage="${pkgname}-offline-${pkgver}-${CARCH}.AppImage"
14source=("${_appimage}::https://neo4j.com/artifact.php?name=${_appimage}")
15noextract=("${_appimage}")
16md5sums=('d7a5706c10ccc52a8fa6aefe5f2c852b')
17
18prepare() {
19 chmod +x "${_appimage}"
20 ./"${_appimage}" --appimage-extract
21}
22
23build() {
24 # Adjust .desktop so it will work outside AppImage container.
25 # Also force electron to use x11, as otherwise the main window is not opening (at least on wayland).
26 sed -i -E "s|Exec=AppRun|Exec=/usr/bin/${pkgname} --ozone-platform=x11|" "squashfs-root/${pkgname}.desktop" \
27 "squashfs-root/${pkgname}.desktop"
28
29 # The AppImage contains only an icon of size 1024x1024, so
30 # we need to generate the other icons for it to show
31 # consistently in the UI.
32 icons_dir="squashfs-root/usr/share/icons/hicolor"
33 src_icon="${icons_dir}/1024x1024/apps/${pkgname}.png"
34
35 for size in 16 32 48 64 128 256 512; do
36 mkdir -p "${icons_dir}/${size}x${size}/apps/"
37 magick "$src_icon" -resize "${size}x${size}" "${icons_dir}/${size}x${size}/apps/${pkgname}.png"
38 done
39
40 # Fix permissions; .AppImage permissions are 700 for all directories
41 chmod -R a-x+rX squashfs-root/usr
42}
43
44package() {
45 # AppImage
46 install -Dm755 "${srcdir}/${_appimage}" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"
47 # install -Dm644 "${srcdir}/LICENSE"
48
49 # Desktop file
50 install -Dm644 "${srcdir}/squashfs-root/${pkgname}.desktop" \
51 "${pkgdir}/usr/share/applications/${pkgname}.desktop"
52
53 # Icon images
54 install -dm755 "${pkgdir}/usr/share/"
55 cp -a "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
56
57 # Symlink executable
58 install -dm755 "${pkgdir}/usr/bin"
59 ln -n "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage" "${pkgdir}/usr/bin/${pkgname}"
60}
61

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 Medium 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion