deepin-wine-aliyun-mail

LOW
maintainer zxp19821005 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads official binaries from Alibaba and a Deepin app store, plus a non-executable font file; all sources are checksummed and the build process is transparent, repackaging only for native integration, with no evidence of malicious behavior.

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 official binaries from Alibaba and a Deepin app store, plus a non-executable font file; all sources are checksummed and the build process is transparent, repackaging only for native integration, with no evidence of malicious behavior.

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:25 "${_pkgname}_${_deepinver}_i386.deb::https://com-store-packages.uniontech.com/appstore/pool/appstore/c/${_pkgname}/${_pkgname}_${_deepinver}_i386.deb"
  • PKGBUILD:26 "${_officalname}-${pkgver}.exe::https://aliyun-alimail-desktop.oss-cn-hangzhou.aliyuncs.com/alimail/alimail-standard/latest/${_officalname}.exe"
  • PKGBUILD:27 "fake_simsun.ttc::https://images.xuthus.cc/images/fake_simsun.ttc"
  • PKGBUILD:28 "LICENSE.html::https://help.aliyun.com/document_detail/464805.html"

PKGBUILD

4 offending line(s) highlighted
1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2pkgname=deepin-wine-aliyun-mail
3_pkgname=com.aliyun.mail.deepin
4_officalname=AliMail
5_providername=Alibaba
6pkgver=2.7.1.13834
7_deepinver=1.6.7.0deepin2
8pkgrel=8
9pkgdesc="Aliyun Mail client on Deepin Wine 6"
10arch=("x86_64")
11url="https://mail.aliyun.com/"
12license=('LicenseRef-custom')
13depends=(
14 'deepin-wine6-stable'
15 'deepin-wine-helper'
16 'xdg-utils'
17 'gtk2'
18)
19makedepends=(
20 'p7zip'
21)
22conflicts=("${pkgname}")
23install="${pkgname}.install"
24source=(
25 "${_pkgname}_${_deepinver}_i386.deb::https://com-store-packages.uniontech.com/appstore/pool/appstore/c/${_pkgname}/${_pkgname}_${_deepinver}_i386.deb"
26 "${_officalname}-${pkgver}.exe::https://aliyun-alimail-desktop.oss-cn-hangzhou.aliyuncs.com/alimail/alimail-standard/latest/${_officalname}.exe"
27 "fake_simsun.ttc::https://images.xuthus.cc/images/fake_simsun.ttc"
28 "LICENSE.html::https://help.aliyun.com/document_detail/464805.html"
29 "${pkgname}.sh"
30)
31noextract=("${_officalname}-${pkgver}.exe")
32sha256sums=('7e020363732d448a29a394afa3f6a5f2c54e600987af599e3a4b6c0edec3a61e'
33 'f85e4a06c6da0781c4148dbe3ca4cf591996e445449aafb4198a747e22f9c1ce'
34 '3e2ed9203a5ce3b2f00b6c942d8fac6b24e7a6e7b1ebc863cee2e27d3ff487db'
35 '4e1c8cac900b9eb08b5830106c32913d3a5680230e073648f788dad479fdb0f2'
36 '2383c785f8b72f3d3a3529f0a9d8c2be0f03fc01b0b98218601eab421a3301e4')
37build() {
38 sed -e "s|@bottlename@|Deepin-${_officalname}|g" \
39 -e "s|@sparkver@|${_deepinver}|g" \
40 -e "s|@appver@|${pkgver}|g" \
41 -e "s|@appname@|${pkgname}|g" \
42 -e "s|@pathname@|${_officalname}|g" \
43 -e "s|@providername@|${_providername}|g" \
44 -i "${srcdir}/${pkgname}.sh"
45 bsdtar -xf "${srcdir}/data."*
46 mv "${srcdir}/opt/apps/${_pkgname}" "${srcdir}/opt/apps/${pkgname}"
47 mkdir -p "${srcdir}/tmp"
48 msg "Extracting Deepin Wine ${_officalname} archive ..."
49 bsdtar -xf "${srcdir}/opt/apps/${pkgname}/files/files.7z" -C "${srcdir}/tmp"
50 msg "Copying latest ${_officalname} files to ${srcdir}/tmp/drive_c/ProgramData/Alibaba/${_officalname} ..."
51 rm -r "${srcdir}/tmp/drive_c/ProgramData/Alibaba"
52 mkdir -p "${srcdir}/tmp/drive_c/ProgramData/Alibaba/${_officalname}"
53 bsdtar -xf "${srcdir}/${_officalname}-${pkgver}.exe" -C "${srcdir}/tmp/drive_c/ProgramData/Alibaba/${_officalname}/"
54 cp "${srcdir}/fake_simsun.ttc" "${srcdir}/tmp/drive_c/windows/fonts/"
55 msg "Repackaging app archive ..."
56 rm -r "${srcdir}/opt/apps/${pkgname}/files/files.7z" "${srcdir}/opt/apps/${pkgname}/info"
57 7z a -t7z -r "${srcdir}/opt/apps/${pkgname}/files/files.7z" "${srcdir}/tmp/*"
58 sed -e "s|Icon=${_pkgname}|Icon=${pkgname}|g" \
59 -e "s|\"/opt/apps/${_pkgname}/files/run.sh\"|${pkgname}|g" \
60 -i "${srcdir}/opt/apps/${pkgname}/entries/applications/${_pkgname}.desktop"
61}
62package() {
63 cp -r "${srcdir}/opt" "${pkgdir}"
64 md5sum "${srcdir}/opt/apps/${pkgname}/files/files.7z" | awk '{ print $1 }' > "${pkgdir}/opt/apps/${pkgname}/files/files.md5sum"
65 install -Dm644 "${srcdir}/opt/apps/${pkgname}/entries/applications/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
66 for _icons in 16x16 24x24 32x32 48x48 64x64;do
67 install -Dm644 "${srcdir}/opt/apps/${pkgname}/entries/icons/hicolor/${_icons}/apps/${_pkgname}.png" \
68 "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname}.png"
69 done
70 install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
71 install -Dm644 "LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
72}

Scan history

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

Report a package

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

0 / 4000
Your suggestion