hatoba-bin

MEDIUM
maintainer czyt 0 votes scanned 2026-10-19 03:23:49.568814
View on AUR
Why flagged

The package installs a prebuilt binary (.deb) from GitHub releases without a verifiable source build, creating a supply-chain risk if the release asset is compromised.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Medium AI review of an ambiguous pattern llm_review

The static rules found a suspicious pattern they could not resolve, so an AI model (qwen/qwen3-235b-a22b-2507) reviewed it and judged it MEDIUM (confidence 90%): The package installs a prebuilt binary (.deb) from GitHub releases without a verifiable source build, creating a supply-chain risk if the release asset is compromised.

PKGBUILD

1# Maintainer: czyt <czytcn@gmail.com>
2pkgname=hatoba-bin
3pkgver=0.4.2
4pkgrel=2
5pkgdesc="Open-source desktop SSH client with an AI assistant and end-to-end encrypted sync through your own Cloudflare account"
6arch=('x86_64')
7url="https://hatoba.fog.moe"
8license=('MIT')
9depends=('webkit2gtk-4.1' 'gtk3' 'libayatana-appindicator' 'openssl')
10provides=('hatoba')
11conflicts=('hatoba')
12options=('!strip' '!debug')
13source_x86_64=("Hatoba_${pkgver}_linux-x64.deb::https://github.com/scarletkc/Hatoba/releases/download/v${pkgver}/Hatoba_${pkgver}_linux-x64.deb")
14sha256sums_x86_64=('a3acd56e0f1e1dcc6baf0de01d41422fe4347a92051c07d2e28d4dbd865cbb29')
15
16package() {
17 local _deb="Hatoba_${pkgver}_linux-x64.deb"
18
19 # Dynamically select the data archive member in case deb compression changes
20 local _data_member
21 _data_member=$(ar t "${srcdir}/${_deb}" | awk '/^data\.tar\.(gz|xz|zst|bz2|lzma)$/ { print; exit }')
22 [[ -n "${_data_member}" ]] || { echo "deb has no supported data archive" >&2; return 1; }
23
24 ar p "${srcdir}/${_deb}" "${_data_member}" |
25 bsdtar --no-same-owner -xf - -C "${pkgdir}"
26
27 chmod -R u=rwX,go=rX "${pkgdir}"
28}
29

Scan history

Scanned at (UTC)SeverityRules
2026-10-19 03:23:49 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