youdao-dict
The package downloads a prebuilt .deb from YouDao's official domain (codown.youdao.com) for packaging, which is normal for distributing prebuilt binaries; no code is downloaded or executed at runtime, and the source host, while not on a standard whitelist, belongs 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 YouDao's official domain (codown.youdao.com) for packaging, which is normal for distributing prebuilt binaries; no code is downloaded or executed at runtime, and the source host, while not on a standard whitelist, belongs 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:43
"${pkgname}-${pkgver}.deb::http://codown.youdao.com/cidian/linux/${pkgname}_${pkgver}-ubuntu-amd64.deb" -
PKGBUILD:44
"License.html::https://c.youdao.com/dict/law/youdaofanyi_pc_service.html"
PKGBUILD
2 offending line(s) highlighted# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
# Contributor: yesuu zhang <yesuu79@qq.com>
# Contributor: fkxxyz <fkxxyz@163.com>
pkgname=youdao-dict
pkgver=6.0.0
pkgrel=13
pkgdesc="YouDao Dictionary.(Prebuilt version)"
arch=('x86_64')
license=('LicenseRef-custom')
conflicts=("${pkgname}")
url="http://cidian.youdao.com/"
depends=(
'sqlite'
'python-dbus'
'python-lxml'
#'python-webob'
'python-opengl'
'python-gobject'
'python-xlib'
'python-requests'
'gstreamer'
#'python-pyquery'
#'python-pyqt5-webkit'
'gobject-introspection-runtime'
#'python-cssselect'
'python-pyxdg'
#'qt5-webkit'
'qt5-quickcontrols'
'qt5-graphicaleffects'
'tesseract'
#'tesseract-data-chi_sim'
#'tesseract-data-eng'
#'tesseract-data-chi_tra'
'tesseract-data-osd'
'wqy-microhei'
'python-pillow'
'gst-plugins-base'
'qt6-declarative'
'qt6-multimedia'
'python-pyqt5'
)
source=(
"${pkgname}-${pkgver}.deb::http://codown.youdao.com/cidian/linux/${pkgname}_${pkgver}-ubuntu-amd64.deb"
"License.html::https://c.youdao.com/dict/law/youdaofanyi_pc_service.html"
"${pkgname}.sh"
)
sha256sums=('e56f248c3caf7d0bff9f4f18780d9b258612b490c1c0f332335b8d15471e0dd2'
'a373604e2f43ced0f4e37f7adbbb8719f11b2daf49aec96e1f6d9348027e882c'
'105c5d6e590ff22fea3f3ed299431078c324b91dff71016e1c2815ba3d54d4d4')
prepare() {
sed -i -e "
s/@appname@/${pkgname}/g
s/@runname@/main.py/g
" "${srcdir}/${pkgname}.sh"
bsdtar -xf "${srcdir}/data."*
sed -i '290s/self.setX(x)/self.setX(int(x))/g;291s/self.setY(y)/self.setY(int(y))/g' "${srcdir}/usr/share/${pkgname}/app/plugins/youdao/window.py"
sed -i '644s/self.move(x, y)/self.move(int(x), int(y))/g' "${srcdir}/usr/share/${pkgname}/dae/window.py"
sed -i 's/getargspec/getfullargspec/g' "${srcdir}/usr/share/${pkgname}/app/plugins/${pkgname%-dict}/pyquery/pyquery.py"
sed -i 's/import imp/import importlib/g;/imp.load_source/d' "${srcdir}/usr/share/${pkgname}/dae/plugins.py"
sed -i -e "
53i\ spec = importlib.util.spec_from_file_location(plugin_name, os.path.join(path, '__init__.py'))
53i\ plugin = importlib.util.module_from_spec(spec)
53i\ spec.loader.exec_module(plugin)
" "${srcdir}/usr/share/${pkgname}/dae/plugins.py"
sed -i "s/usr\/share/usr\/lib/g" "${srcdir}/usr/share/dbus-1/services/com.youdao.backend.service"
sed -i "37s/ print/ print/" "${srcdir}/usr/share/${pkgname}/${pkgname}-backend.py"
sed -i -e "
/if not wmHelper.hasComposite:/d
s/\ width = 0/\ width = 0/g
" "${srcdir}/usr/share/${pkgname}/dae/shadowwindow.py"
}
package(){
install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm755 -d "${pkgdir}/usr/lib"
cp -Pr --no-preserve=ownership "${srcdir}/usr/share/${pkgname}" "${pkgdir}/usr/lib"
install -Dm644 "${srcdir}/etc/xdg/autostart/${pkgname}-autostart.desktop" -t "${pkgdir}/etc/xdg/autostart"
install -Dm644 "${srcdir}/usr/share/applications/${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
install -Dm644 "${srcdir}/usr/share/dbus-1/services/com.youdao.backend.service" -t "${pkgdir}/usr/share/dbus-1/services"
_icon_sizes=(16x16 24x24 48x48 64x64 96x96 scalable)
for _icons in "${_icon_sizes[@]}";do
install -Dm644 "${srcdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname}".* \
-t "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps"
done
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 |