sunloginclient-cli
maintainer yjun
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt .deb from the vendor's official CDN (oray.com), which is plausibly the project's own infrastructure; the binary is unpacked and installed with minor path adjustments, but no untrusted remote code execution or obfuscation is present.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt .deb from the vendor's official CDN (oray.com), which is plausibly the project's own infrastructure; the binary is unpacked and installed with minor path adjustments, but no untrusted remote code execution or obfuscation is present.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:15
source=("http://dl-cdn.oray.com/sunlogin/linux/${_pkgname}-${pkgver}-amd64.deb" -
PKGBUILD:16
'LICENSE::https://service.oray.com/question/1820.html')
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: yjun <jerrysteve1101 at gmail dot com>
2
3
pkgname=sunloginclient-cli
4
_pkgname=sunloginclientshell
5
pkgver=10.1.1.28779
6
pkgrel=3
7
pkgdesc="Proprietary software that supports remote control of mobile devices, Windows, Mac, Linux and other systems.(CLI version)"
8
arch=("x86_64")
9
url="https://sunlogin.oray.com"
10
license=('custom')
11
depends=("ncurses5-compat-libs"
12
"glib2")
13
conflicts=('sunlogin')
14
options=('!emptydirs')
15
source=("http://dl-cdn.oray.com/sunlogin/linux/${_pkgname}-${pkgver}-amd64.deb"
16
'LICENSE::https://service.oray.com/question/1820.html')
17
install="${pkgname}.install"
18
sha256sums=('923a8bfdb1194ee50d8c6dd7b51a0f16ab34b3414c768f5ffa2b49d80874eed5'
19
'SKIP')
20
21
build() {
22
mkdir -p build
23
tar -xf data.tar.xz -C build
24
}
25
26
package() {
27
install -dm755 "${pkgdir}/opt"
28
cp -r build/usr/local/sunlogin "${pkgdir}/opt/sunlogin"
29
30
# systemd service
31
install -Dm644 "build/usr/local/sunlogin/scripts/runsunloginclient.service" "${pkgdir}/usr/lib/systemd/system/runsunloginclient.service"
32
33
# fixed path
34
sed -i 's#/usr/local/#/opt/#g' "${pkgdir}/opt/sunlogin/etc/watch.sh" \
35
"${pkgdir}/usr/lib/systemd/system/runsunloginclient.service"
36
37
# LICENSE
38
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
39
40
# soft link
41
install -dm755 "$pkgdir/usr/bin"
42
ln -s "/opt/sunlogin/bin/sunloginclient" "${pkgdir}/usr/bin/sunloginclient"
43
44
# ugly hack
45
sed -i "s#/usr/local/sunlogin\x0#/opt/sunlogin\x0\x0\x0\x0\x0\x0\x0#g" "${pkgdir}/opt/sunlogin/bin/sunloginclient"
46
47
# delete unnecessary files
48
rm -r "${pkgdir}/opt/sunlogin/scripts"
49
50
}
51
# vim: ts=2 sw=2 et:
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |