awesun-bin
The package downloads a prebuilt .deb from the vendor's official domain (dl.oray.com), which is plausibly the project's own infrastructure; the binary is unpacked and installed without remote code execution or obfuscation, and the host, while not whitelisted, is official and specific to the vendor.
Triggered rules
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 domain (dl.oray.com), which is plausibly the project's own infrastructure; the binary is unpacked and installed without remote code execution or obfuscation, and the host, while not whitelisted, is official and specific to the vendor.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:18
source=("LICENSE::https://service.oray.com/question/1820.html") -
PKGBUILD:19
source_x86_64=("awesun-16.5.0.30560-x86_64.deb::https://dl.oray.com/sl/linux/awesun-16.5.0.30560-x86_64.deb")
PKGBUILD
2 offending line(s) highlighted# Maintainer: xifan <xifan2333@gmail.com>
# NOTE: This is an unofficial, community-maintained package.
pkgname=awesun-bin
_pkgname=awesun
pkgver=16.5.0.30560
pkgrel=2
pkgdesc="AweSun remote control client for Linux (Unofficial Community Package)"
arch=('x86_64')
url="https://sunlogin.oray.com/download/linux"
license=('custom')
depends=('gtk3' 'libappindicator-gtk3' 'webkit2gtk-4.1' 'libnotify' 'util-linux-libs' 'libepoxy' 'libxcrypt-compat')
provides=("${_pkgname}" 'sunloginclient' 'sunlogin')
conflicts=("${_pkgname}" 'sunloginclient' 'sunlogin' 'sunloginenterprise' 'awesunhost' 'awesuncli')
options=(!strip emptydirs)
install="${pkgname}.install"
backup=('etc/orayconfig.conf')
source=("LICENSE::https://service.oray.com/question/1820.html")
source_x86_64=("awesun-16.5.0.30560-x86_64.deb::https://dl.oray.com/sl/linux/awesun-16.5.0.30560-x86_64.deb")
sha256sums=('SKIP')
sha256sums_x86_64=('eda3fffe6d5324afbc4f939f0cb85c08b7851efad3c01878621474ec7503d10f')
package() {
cd "${srcdir}"
bsdtar -xf "${_pkgname}-${pkgver}-x86_64.deb"
bsdtar -xf data.tar.xz
install -d "${pkgdir}/opt/${_pkgname}"
cp -a "usr/local/${_pkgname}/." "${pkgdir}/opt/${_pkgname}/"
chown -R root:root "${pkgdir}/opt/${_pkgname}"
install -Dm644 "usr/share/applications/${_pkgname}.desktop" \
"${pkgdir}/usr/share/applications/${_pkgname}.desktop"
install -Dm644 "${pkgdir}/opt/${_pkgname}/scripts/run${_pkgname}.service" \
"${pkgdir}/usr/lib/systemd/system/run${_pkgname}.service"
install -Dm644 "${pkgdir}/opt/${_pkgname}/${_pkgname}.png" \
"${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -dm755 "${pkgdir}/usr/bin"
ln -s "/opt/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 /dev/null "${pkgdir}/etc/orayconfig.conf"
install -dm777 "${pkgdir}/var/log/${_pkgname}"
local old_path="/usr/local/${_pkgname}"
local new_path="/opt/${_pkgname}"
local padded_path="///////opt/${_pkgname}"
while IFS= read -r -d '' file; do
sed -i "s#${old_path}#${padded_path}#g" "${file}"
done < <(grep -RslZ "${old_path}" \
"${pkgdir}/opt/${_pkgname}" \
"${pkgdir}/usr/share/applications/${_pkgname}.desktop" \
"${pkgdir}/usr/lib/systemd/system/run${_pkgname}.service")
find "${pkgdir}/opt/${_pkgname}/scripts" -type f \
-exec sed -i "s#${padded_path}#${new_path}#g" {} +
sed -i \
-e "s#${padded_path}#${new_path}#g" \
-e "s#^Icon=.*#Icon=${_pkgname}#" \
"${pkgdir}/usr/share/applications/${_pkgname}.desktop"
sed -i "s#${padded_path}#${new_path}#g" \
"${pkgdir}/usr/lib/systemd/system/run${_pkgname}.service"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |