hatoba-bin
MEDIUM
maintainer czyt
0 votes
scanned 2026-10-19 03:23:49.568814
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>
2
pkgname=hatoba-bin
3
pkgver=0.4.2
4
pkgrel=2
5
pkgdesc="Open-source desktop SSH client with an AI assistant and end-to-end encrypted sync through your own Cloudflare account"
6
arch=('x86_64')
7
url="https://hatoba.fog.moe"
8
license=('MIT')
9
depends=('webkit2gtk-4.1' 'gtk3' 'libayatana-appindicator' 'openssl')
10
provides=('hatoba')
11
conflicts=('hatoba')
12
options=('!strip' '!debug')
13
source_x86_64=("Hatoba_${pkgver}_linux-x64.deb::https://github.com/scarletkc/Hatoba/releases/download/v${pkgver}/Hatoba_${pkgver}_linux-x64.deb")
14
sha256sums_x86_64=('a3acd56e0f1e1dcc6baf0de01d41422fe4347a92051c07d2e28d4dbd865cbb29')
15
16
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-19 03:23:49 | Medium | 2 |