zhiximind-desktop-bin

maintainer zxp19821005 · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a prebuilt .deb from the official project domain (zhixi.com) over HTTPS, which is a legitimate source for the software; the non-whitelisted host is the project's own, and the binary is unpacked and installed without remote code execution or obfuscation.

Triggered rules

LOW AI review downgraded a static finding 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 package downloads a prebuilt .deb from the official project domain (zhixi.com) over HTTPS, which is a legitimate source for the software; the non-whitelisted host is the project's own, and the binary is unpacked and installed without remote code execution or obfuscation.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:17 "${pkgname%-bin}-${pkgver}.deb::https://www.zhixi.com/download/linux?channel=21C8B557"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2pkgname=zhiximind-desktop-bin
3_debname=com.zhixi.desktop
4pkgver=3.8.2.2884
5_electronversion=22
6pkgrel=1
7pkgdesc="A mind mapping and mind mapping software present on all major platforms.(Prebuilt version.Use system-wide electron)知犀思维导图官方版"
8arch=('x86_64')
9url="https://www.zhixi.com"
10license=('LicenseRef-Custom')
11provides=("${pkgname%-bin}=${pkgver}")
12conflicts=("${pkgname%-bin}")
13depends=(
14 "electron${_electronversion}"
15)
16source=(
17 "${pkgname%-bin}-${pkgver}.deb::https://www.zhixi.com/download/linux?channel=21C8B557"
18 "LICENSE-${pkgver}.html::${url}/user-agreement"
19 "${pkgname%-bin}.sh"
20)
21sha256sums=('77ab35455a653f67641d0b76414bd99ef4e1cf3a7087fdd87fbe6363d551fac0'
22 '4d4b81d994b4c3f9a20669d60aaf8df79a0f1fd7b25b62f709082512c10239f2'
23 '31ad33b633744f5361abd964be306cea53ae1050e760c787115f7eca60045ae6')
24_get_electron_version() {
25 _elec_ver="$(strings "${srcdir}/opt/apps/${_debname}/files/${pkgname%-bin}" | grep '^Chrome/[0-9.]* Electron/[0-9]' | cut -d'/' -f3 | cut -d'.' -f1)"
26 echo -e "The electron version is: \033[1;31m${_elec_ver}\033[0m"
27}
28prepare() {
29 sed -i -e "
30 s/@electronversion@/${_electronversion}/g
31 s/@appname@/${pkgname%-bin}/g
32 s/@runname@/app.asar/g
33 s/@cfgdirname@/${pkgname%-bin}/g
34 s/@options@//g
35 " "${srcdir}/${pkgname%-bin}.sh"
36 bsdtar -xf "${srcdir}/data."*
37 _get_electron_version
38 sed -i "s/\/opt\/apps\/${_debname}\/files\///g" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
39}
40package() {
41 install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
42 install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}"
43 cp -a "${srcdir}/opt/apps/${_debname}/files/resources/". "${pkgdir}/usr/lib/${pkgname%-bin}/"
44 install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
45 _icon_sizes=(16x16 32x32 48x48 64x64 128x128 256x256 512x512)
46 for _icons in "${_icon_sizes[@]}";do
47 install -Dm644 "${srcdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}.png" \
48 -t "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps"
49 done
50 install -Dm644 "${srcdir}/usr/share/mime/packages/${pkgname%-bin}.xml" -t "${pkgdir}/usr/share/mime/packages"
51 install -Dm644 "${srcdir}/LICENSE-${pkgver}.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.html"
52}
53

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

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

0 / 4000
Your suggestion