xinghuo-note-bin

maintainer zxp19821005 · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged This PKGBUILD installs a prebuilt binary extracted from a .deb file downloaded from gitee.com (a Chinese code hosting platform), which is the upstream project's own release page (gitee.com/xinghuowangluo/note/releases). The binary is not built from source and is executed directly. While gitee.com is a legitimate hosting platform (similar to GitHub) and the URL points to the project's own release artifacts with a pinned sha256sum, the supply-chain risk is real: the binary is a closed prebuilt executable from a personal/small project on a third-party platform with no independent verification mechanism beyond the checksum. The sha256sum provides integrity but not authenticity — if the release was replaced at the same tag, the checksum would catch it, but the maintainer must keep it updated. This is a standard -bin AUR pattern but with a non-Western hosting platform and an unauditable binary, which warrants medium severity rather than clean.

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:17 "LICENSE-${pkgver}::https://gitee.com/xinghuowangluo/note/blob/v${pkgver}/LICENSE"
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD installs a prebuilt binary extracted from a .deb file downloaded from gitee.com (a Chinese code hosting platform), which is the upstream project's own release page (gitee.com/xinghuowangluo/note/releases). The binary is not built from source and is executed directly. While gitee.com is a legitimate hosting platform (similar to GitHub) and the URL points to the project's own release artifacts with a pinned sha256sum, the supply-chain risk is real: the binary is a closed prebuilt executable from a personal/small project on a third-party platform with no independent verification mechanism beyond the checksum. The sha256sum provides integrity but not authenticity — if the release was replaced at the same tag, the checksum would catch it, but the maintainer must keep it updated. This is a standard -bin AUR pattern but with a non-Western hosting platform and an unauditable binary, which warrants medium severity rather than clean.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2pkgname=xinghuo-note-bin
3_debname=com.gitee.xinghuo.note
4pkgver=1.6.4
5pkgrel=1
6pkgdesc="Note Master, a convenient note-taking tool for recording temporary information, reminders, or to-do tasks on the desktop. Beautiful interface, small size, and fast speed.(Prebuilt version)"
7arch=('x86_64')
8url="https://gitee.com/xinghuowangluo/note"
9license=('MulanPSL-2.0')
10provides=("${pkgname%-bin}=${pkgver}")
11conflicts=("${pkgname%-bin}")
12depends=(
13 'qt6-base'
14)
15source=(
16 "${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${_debname}_${pkgver}-20241130_amd64_Deepin23.deb"
17 "LICENSE-${pkgver}::https://gitee.com/xinghuowangluo/note/blob/v${pkgver}/LICENSE"
18)
19sha256sums=('4755a3a36973a35fef5fe9450a622c7dd29b71218ed1aa8cf8b346b84a5ef319'
20 '8a9cc05fde1a7b1ea22e75ac44679619609d332cb1377dc73aaa57f68bdcc80d')
21prepare() {
22 bsdtar -xf "${srcdir}/data."*
23 sed -i -e "
24 s/Name=note/Name=Xinghuo Note/g
25 s/\/opt\/apps\/${_debname}\/bin\/note/${pkgname%-bin}/g
26 s/\/opt\/apps\/${_debname}\/icon\/note.png/${pkgname%-bin}/g
27 s/Categories=Application/Categories=Utility;/g
28 " "${srcdir}/usr/share/applications/note.desktop"
29}
30package() {
31 install -Dm755 "${srcdir}/opt/apps/${_debname}/bin/note" "${pkgdir}/usr/bin/${pkgname%-bin}"
32 install -Dm644 "${srcdir}/opt/apps/${_debname}/icon/note.png" "${pkgdir}/usr/share/pixmaps/${pkgname%-bin}.png"
33 install -Dm644 "${srcdir}/usr/share/applications/note.desktop" "${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop"
34 install -Dm644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
35}

Scan history

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