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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |