shalou

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary .deb from a Tencent Cloud Object Storage (COS) bucket (myqcloud.com is the official Tencent Cloud COS domain, not a random personal host), belonging to app-1320188180, which appears to be the vendor's own cloud storage for distribution. The sha256sum is pinned, which mitigates casual tampering. However, this is still a prebuilt closed-source binary from a non-official-repository host (not the project's own domain shalou.net, and not a well-known mirror), and the binary is executed directly on the user's system. The package installs into /opt, /usr/bin, /usr/lib etc. If the COS bucket were compromised or the maintainer changed the URL without updating the checksum, a malicious binary could be delivered. This is a genuine medium supply-chain concern: a prebuilt executable from an unofficial/cloud-storage host with a pinned hash but no additional verification (e.g., GPG signature). The cheaper model's assessment is correct in classification.

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:49 source=("https://app-1320188180.cos.ap-nanjing.myqcloud.com/pc/install/${pkgver}/shalou${pkgver}.deb")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 75%): The PKGBUILD downloads a prebuilt binary .deb from a Tencent Cloud Object Storage (COS) bucket (myqcloud.com is the official Tencent Cloud COS domain, not a random personal host), belonging to app-1320188180, which appears to be the vendor's own cloud storage for distribution. The sha256sum is pinned, which mitigates casual tampering. However, this is still a prebuilt closed-source binary from a non-official-repository host (not the project's own domain shalou.net, and not a well-known mirror), and the binary is executed directly on the user's system. The package installs into /opt, /usr/bin, /usr/lib etc. If the COS bucket were compromised or the maintainer changed the URL without updating the checksum, a malicious binary could be delivered. This is a genuine medium supply-chain concern: a prebuilt executable from an unofficial/cloud-storage host with a pinned hash but no additional verification (e.g., GPG signature). The cheaper model's assessment is correct in classification.

PKGBUILD

1 offending line(s) highlighted
1# contributor: Asuka Minato <i at asukaminato dot eu dot org>
2pkgname=shalou
3pkgver=6.6.3
4pkgrel=1
5pkgdesc="沙漏验机 - 是一款专业的苹果验机助手、苹果刷机助手"
6arch=(x86_64)
7url="www.shalou.net"
8license=('custom')
9depends=(libxtst
10 libxcursor
11 cairo
12 libxrender
13 libxi
14 expat
15 wayland
16 at-spi2-core
17 libx11
18 alsa-lib
19 libxml2
20 libdrm
21 fontconfig
22 libxkbcommon-x11
23 qt5-speech
24 qt5-location
25 qt5-tools
26 qt5-websockets
27 zlib
28 libxkbcommon
29 gdk-pixbuf2
30 qt5-wayland
31 pango
32 qt5-base
33 libxcomposite
34 nspr
35 gtk3
36 qt5-multimedia
37 gstreamer
38 freetype2
39 gst-plugins-base-libs
40 libxdamage
41 nss
42 libcups
43 glib2
44 glibc
45 dbus
46 libxext libxfixes libxcb libglvnd libpulse gcc-libs)
47provides=()
48options=(!strip) # or it will error
49source=("https://app-1320188180.cos.ap-nanjing.myqcloud.com/pc/install/${pkgver}/shalou${pkgver}.deb")
50sha256sums=('5200bf5423b8f5c4186d6cfb737d89963cc4077f0d72733594177b5262f6d5a3')
51
52package() {
53 bsdtar -xvf data.tar.* -C $pkgdir
54 mv $pkgdir/lib/ $pkgdir/usr/lib/
55 mv $pkgdir/bin/ $pkgdir/usr/bin/
56 chown root:root -R $pkgdir
57 chmod 755 $pkgdir/etc/
58 chmod 755 $pkgdir/etc/udev/
59 chmod 755 $pkgdir/etc/udev/rules.d/
60 chmod 755 $pkgdir/opt/
61 chmod 755 $pkgdir/usr/
62 chmod 755 $pkgdir/usr/bin/
63 chmod 755 $pkgdir/usr/lib/
64 chmod 755 $pkgdir/usr/lib/udev/
65 chmod 755 $pkgdir/usr/lib/udev/rules.d/
66 chmod 755 $pkgdir/usr/share/
67 chmod 755 $pkgdir/usr/share/applications/
68 # todo: a lot of qt5 lib remain undeleted, I am not sure, so I keep them there.
69}
70

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