siyuan-b3log-appimage

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

The package downloads a prebuilt AppImage executable from a non-whitelisted, non-standard host (release.liuyun.io), which is not the project's official release infrastructure, and uses 'SKIP' for checksums, creating an unverifiable 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:18 source=("https://release.liuyun.io/siyuan/siyuan-${pkgver}-linux.AppImage")
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt AppImage executable from a non-whitelisted, non-standard host (release.liuyun.io), which is not the project's official release infrastructure, and uses 'SKIP' for checksums, creating an unverifiable supply-chain risk.

PKGBUILD

1 offending line(s) highlighted
1# maintainer: SiYuan community (https://github.com/siyuan-note/siyuan/issues/new/choose)
2# auto running on siyuan official repo
3# PKGBUILD is modified from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=siyuan-appimage
4# which is made by vvxxp8 <concatenate[g] the characters[x] in square[b] brackets[1] in[5] order[3] at gmail dot com>
5# had agreement with the author to use the PKGBUILD
6# for change request, PLEASE MAKE A PR ON GITHUB REPO, keep commenting here would be ignored
7
8pkgname=siyuan-b3log-appimage
9pkgver=3.8.0
10pkgrel=1
11pkgdesc="auto upload to AUR when SiYuan stable release"
12arch=("x86_64")
13url="https://b3log.org/siyuan"
14license=("AGPL-3.0-only")
15options=("!strip" "!debug")
16depends=("fuse2")
17optdepends=('pandoc: docx export')
18source=("https://release.liuyun.io/siyuan/siyuan-${pkgver}-linux.AppImage")
19sha256sums=('SKIP')
20
21_pkgname=siyuan-${pkgver}-linux.AppImage
22noextract=("${_pkgname}")
23
24prepare() {
25 chmod +x "${_pkgname}"
26 ./"${_pkgname}" --appimage-extract > /dev/null
27}
28
29build() {
30 _desktop_file=$(find squashfs-root -maxdepth 1 -name "*.desktop" -print -quit)
31 # Adjust .desktop so it will work outside of AppImage container
32 sed -i \
33 -e "s|Exec=AppRun|Exec=/opt/${pkgname}/${pkgname}.AppImage|" \
34 -e "s+^Icon=.*+Icon=siyuan-bin+" \
35 "${_desktop_file}"
36
37 # Fix permissions; .AppImage permissions are 700 for all directories
38 chmod -R a-x+rX squashfs-root/usr
39}
40
41package() {
42 _desktop_file=$(find squashfs-root -maxdepth 1 -name "*.desktop" -print -quit)
43 # AppImage
44 install -Dm755 "${srcdir}/${_pkgname}" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"
45 install -Dm644 "${srcdir}/squashfs-root/LICENSE" "${pkgdir}/opt/${pkgname}/LICENSE"
46
47 # Desktop file
48 install -Dm644 "${srcdir}/${_desktop_file}" \
49 "${pkgdir}/usr/share/applications/siyuan.desktop"
50
51 # Icon images
52 install -Dm644 "squashfs-root/resources/stage/icon.png" \
53 "${pkgdir}/usr/share/icons/hicolor/512x512/apps/siyuan-bin.png"
54
55 # Symlink executable
56 install -dm755 "${pkgdir}/usr/bin"
57 ln -s "/opt/${pkgname}/${pkgname}.AppImage" "${pkgdir}/usr/bin/siyuan"
58
59 # Symlink license
60 install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}/"
61 ln -s "/opt/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
62}
63

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