youku-bin

maintainer zxp19821005 · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a prebuilt .deb from a plausible project-related host (kylinos.cn), extracts and repackages it; while the host is not on standard whitelists, it is associated with a known Linux distribution (Kylin OS), and the package installs only static files without executing remote code or exfiltrating data.

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 a plausible project-related host (kylinos.cn), extracts and repackages it; while the host is not on standard whitelists, it is associated with a known Linux distribution (Kylin OS), and the package installs only static files without executing remote code or exfiltrating data.

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:18 "${pkgname%-bin}-${pkgver}.deb::https://archive.kylinos.cn/kylin/partner/pool/${pkgname%-bin}-app_${pkgver}_amd64.deb"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2pkgname=youku-bin
3_appname=YouKu
4_chsname='优酷'
5pkgver=1.0.0
6_electronversion=9
7pkgrel=10
8pkgdesc="Linux version of the Youku client APP, implemented on UOS using Electron technology.(Prebuilt version.Use system-wide electron)Linux版优酷客户端APP,基于Electron技术实现在kylin的APP客户端."
9arch=('x86_64')
10_kylinurl=""
11license=("LicenseRef-custom")
12conflicts=("${pkgname%-bin}")
13provides=("${pkgname%-bin}=${pkgver}")
14depends=(
15 "electron${_electronversion}"
16)
17source=(
18 "${pkgname%-bin}-${pkgver}.deb::https://archive.kylinos.cn/kylin/partner/pool/${pkgname%-bin}-app_${pkgver}_amd64.deb"
19 "${pkgname%-bin}.sh"
20)
21sha256sums=('c28ade22d41fa6074fce7f2cb06f9db4dfba439698bbea37b0f5735d9ae30075'
22 '27def8dfd0987086dd77bd167c731d8f50f5b485bae2dff71d44f7904ddc0d35')
23_get_electron_version() {
24 _elec_ver="$(strings "${srcdir}/opt/${_chsname}/${_appname}" | grep '^Chrome/[0-9.]* Electron/[0-9]' | cut -d'/' -f3 | cut -d'.' -f1)"
25 echo -e "The electron version is: \033[1;31m${_elec_ver}\033[0m"
26}
27prepare() {
28 sed -i -e "
29 s/@electronversion@/${_electronversion}/g
30 s/@appname@/${pkgname%-bin}/g
31 s/@runname@/app.asar/g
32 s/@cfgdirname@/kylin-${pkgname%-bin}-app/g
33 s/@options@//g
34 " "${srcdir}/${pkgname%-bin}.sh"
35 bsdtar -xf "${srcdir}/data."*
36 _get_electron_version
37 sed -i -e "
38 s/\"\/opt\/${_chsname}\/${_appname}\"/${pkgname%-bin}/g
39 s/\/opt\/${_chsname}\/resources\/assets\/images\/app_icon32.png/${pkgname%-bin}/g
40 s/Categories=Viedo;/Categories=AudioVideo;/g
41 " "${srcdir}/usr/share/applications/${_appname}.desktop"
42}
43package() {
44 install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
45 install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}/resources"
46 find "${srcdir}/opt/${_chsname}/resources" -maxdepth 1 -type f -exec install -Dm644 -t "${pkgdir}/usr/lib/${pkgname%-bin}/resources" {} +
47 if find "${srcdir}/opt/${_chsname}/resources" -mindepth 1 -maxdepth 1 -type d | read; then
48 for _subdir in "${srcdir}/opt/${_chsname}/resources/"*; do
49 if [ -d "${_subdir}" ]; then
50 cp -Pr --no-preserve=ownership "${_subdir}" "${pkgdir}/usr/lib/${pkgname%-bin}"
51 fi
52 done
53 fi
54 install -Dm644 "${srcdir}/opt/${_chsname}/swiftshader/"* -t "${pkgdir}/usr/lib/${pkgname%-bin}/swiftshader"
55 install -Dm644 "${srcdir}/usr/share/applications/${_appname}.desktop" "${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop"
56 _icon_sizes=(16x16 32x32 64x64 128x128 256x256 512x512)
57 for _icons in "${_icon_sizes[@]}";do
58 install -Dm644 "${srcdir}/usr/share/icons/hicolor/${_icons}/apps/${_appname}.png" \
59 "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}.png"
60 done
61 install -Dm644 "${srcdir}/opt/${_chsname}/LICENSE"* -t "${pkgdir}/usr/share/licenses/${pkgname}"
62}

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion