deepin-wine-adrive

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

The package downloads a prebuilt .deb from a university mirror, which is a common practice for AUR packages; the .deb is from a project-associated source and not executed directly, with contents extracted and repackaged, posing low risk.

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 university mirror, which is a common practice for AUR packages; the .deb is from a project-associated source and not executed directly, with contents extracted and repackaged, posing low risk.

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:26 "LICENSE.html::https://terms.alicdn.com/legal-agreement/terms/suit_bu1_alibaba_group/suit_bu1_alibaba_group202102022125_53871.html"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2_appname=adrive
3pkgname="deepin-wine-${_appname}"
4_sparkname=com.aliyundrive.spark
5_officalname=aDrive
6pkgver=4.9.15spark9
7pkgrel=1
8pkgdesc="Aliyun aDrive on Deepin Wine 8"
9arch=("x86_64")
10url="https://www.aliyundrive.com"
11_dlurl="https://mirrors.sdu.edu.cn/spark-store-repository/store"
12license=('LicenseRef-custom')
13conflicts=("${_appname}")
14provides=("${_appname}")
15depends=(
16 'deepin-wine6-stable'
17 'spark-dwine-helper'
18 'xdg-utils'
19)
20makedepends=(
21 'p7zip'
22)
23install="${pkgname}.install"
24source=(
25 "${pkgname}-${pkgver}.deb::${_dlurl}//network/${_sparkname}/${_sparkname}_${pkgver}_all.deb"
26 "LICENSE.html::https://terms.alicdn.com/legal-agreement/terms/suit_bu1_alibaba_group/suit_bu1_alibaba_group202102022125_53871.html"
27 "${pkgname}.sh"
28)
29sha256sums=('769e2265f50c5eb3d53299f86f3975ebf9ea783b132de9fd7d44002e15487966'
30 '6805d4f66fba42ef107aa186c1aa57b157273dc75469bc5476134f4ce001e96a'
31 '60092b36b388d8c5899ced088bf4fa2f26999ba5ea7470dedf196bdc6473b43b')
32build() {
33 sed -e "s|@bottlename@|Deepin-${_officalname}|g" \
34 -e "s|@appver@|${pkgver}|g" \
35 -e "s|@appname@|${pkgname}|g" \
36 -e "s|@pathname@|${_officalname}|g" \
37 -i "${srcdir}/${pkgname}.sh"
38
39 bsdtar -xf "${srcdir}/data."* -C "${srcdir}"
40 mv "${srcdir}/opt/apps/${_sparkname}" "${srcdir}/opt/apps/${pkgname}"
41 sed "s|\"/opt/apps/${_sparkname}/files/run.sh\"|${pkgname}|g;s|${_sparkname}|${pkgname}|g" \
42 -i "${srcdir}/opt/apps/${pkgname}/entries/applications/${_sparkname}.desktop"
43}
44package() {
45 cp -r "${srcdir}/opt" "${pkgdir}"
46 md5sum "${srcdir}/opt/apps/${pkgname}/files/files.7z" | awk '{ print $1 }' > "${pkgdir}/opt/apps/${pkgname}/files/files.md5sum"
47 install -Dm644 "${srcdir}/opt/apps/${pkgname}/entries/applications/${_sparkname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
48 install -Dm644 "${srcdir}/opt/apps/${pkgname}/entries/icons/hicolor/scalable/apps/${_sparkname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
49 install -Dm755 "${srcdir}/${pkgname}.sh" -t "${pkgdir}/usr/bin/${pkgname}"
50 install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
51}

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