deepin-wine-ximalaya
The package downloads a .deb and an .exe from a university mirror and the official site, respectively, to repackage legitimate Deepin Wine application files; both are verified by checksum and are part of normal AUR packaging for repackaged Windows apps, with no evidence of remote code execution or obfuscated payloads.
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 .deb and an .exe from a university mirror and the official site, respectively, to repackage legitimate Deepin Wine application files; both are verified by checksum and are part of normal AUR packaging for repackaged Windows apps, with no evidence of remote code execution or obfuscated payloads.
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:29
"${_sparkpkgname}_${_sparkver}_amd64.deb::https://mirrors.sdu.edu.cn/spark-store/store/music/${_sparkpkgname}/${_sparkpkgname}_${_sparkver}_amd64.deb"
PKGBUILD
1 offending line(s) highlighted# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
_appname=ximalaya
pkgname="deepin-wine-${_appname}"
pkgver=4.0.2
pkgrel=3
_sparkpkgname="com.${_appname}.spark"
_sparkver=4.0.0spark9
pkgdesc="喜马拉雅,是中国领先的音频分享平台。用声音分享人类智慧,用声音服务美好生活,做一家人一辈子的精神食粮,是平台的使命和初心。"
arch=("x86_64")
url="https://www.ximalaya.com"
license=('LicenseRef-custom')
depends=(
'deepin-wine6-stable'
'spark-dwine-helper'
'xdg-utils'
)
optdepends=(
'wqy-microhei'
'wqy-zenhei'
'ttf-ms-fonts'
)
makedepends=(
'p7zip'
)
provides=("${_appname}")
conflicts=("${_appname}" "${_sparkpkgname}")
install="${pkgname}.install"
source=(
"${_sparkpkgname}_${_sparkver}_amd64.deb::https://mirrors.sdu.edu.cn/spark-store/store/music/${_sparkpkgname}/${_sparkpkgname}_${_sparkver}_amd64.deb"
"${_appname}-${pkgver}.exe::${url}/down/lite/v2?client=win&channelId=99&subChannelId=100001"
"LICENSE.html"
"${pkgname}".sh
)
sha256sums=('95834bc4ad16e4822331adac43b5f4feb9aeba50d103788a2cefad72cd8dc941'
'7bb0647d70828858fcccba3af63cffc8ac0179defaba674fb120bd3786c703be'
'95b52ed4c2b0ef19d4a091da847c7dd20761699aa63a12bf933fa2064f49cd01'
'8303c95e1a707be4e418d1750a47eaebf861f2cdff81a9e0c0212ae2edacef2a')
build() {
sed -e "s|@appname@|${_appname}|g" \
-e "s|@appver@|${pkgver}|g" \
-e "s|@packagename@|${pkgname}|g" \
-i "${pkgname}.sh"
bsdtar -xf "${srcdir}/data."*
mkdir -p "${srcdir}/tmp"
msg "Extracting Deepin Wine ${_appname} archive ..."
bsdtar -xf "${srcdir}/opt/apps/${_sparkpkgname}/files/files.7z" -C "${srcdir}/tmp"
msg "Extracting latest ${_appname} installer to ${srcdir}/tmp/drive_c/Program Files (x86)/${_appname} ..."
7z x -aoa "${_appname}-${pkgver}.exe"
bsdtar -xf "${srcdir}/${_appname}-${pkgver%.804}-ia32.nsis.7z" -C "${srcdir}/tmp/drive_c/Program Files (x86)/${_appname}"
msg "Repackaging app archive ..."
rm -rf "${srcdir}/opt/apps/${_sparkpkgname}/files/files.7z"
7z a -t7z -r "${srcdir}/opt/apps/${_sparkpkgname}/files/files.7z" "${srcdir}/tmp/*"
sed "s|${_sparkpkgname}|${pkgname}|g;s|\"/opt/apps/${pkgname}/files/run.sh\" -u %u|${pkgname} -u %U|g" \
-i "${srcdir}/opt/apps/${_sparkpkgname}/entries/applications/${_sparkpkgname}.desktop"
md5sum "${srcdir}/opt/apps/${_sparkpkgname}/files/files.7z" | awk '{ print $1 }' > "${srcdir}/opt/apps/${_sparkpkgname}/files/files.md5sum"
}
package() {
install -Dm755 -d "${pkgdir}/opt/apps/${pkgname}"
cp -r "${srcdir}/opt/apps/${_sparkpkgname}/"{entries,files} "${pkgdir}/opt/apps/${pkgname}"
install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
ln -sf "/opt/apps/${pkgname}/files/run.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/opt/apps/${_sparkpkgname}/entries/applications/${_sparkpkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "${srcdir}/opt/apps/${_sparkpkgname}/entries/icons/hicolor/scalable/apps/${_sparkpkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
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 |