eusoft-ting-fr-bin

maintainer zxp19821005 · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a prebuilt .deb from the official project's static host (frdic.com), which is plausibly legitimate; the source is not executed directly but repackaged, and the build uses system Electron, reducing supply-chain risk despite the non-whitelisted host.

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 the official project's static host (frdic.com), which is plausibly legitimate; the source is not executed directly but repackaged, and the build uses system Electron, reducing supply-chain risk despite the non-whitelisted host.

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:22 "${pkgname%-bin}-${pkgver}.deb::https://static.frdic.com/pkg/${_pkgname}/${_pkgname}.deb"
  • PKGBUILD:23 "LICENSE.html::https://www.eudic.net/v4/en/home/privacy"

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2_pkgname=ting_fr
3pkgname="eusoft-${_pkgname//_/-}-bin"
4_zhname='每日法语听力'
5pkgver=10.2.0
6_electronversion=11
7pkgrel=1
8pkgdesc="Listening statistics, note synchronization, and voice highlighting follow-up make learning French easy and enjoyable for you.(Prebuilt version.Use system-wide electron)听力统计、笔记同步、语音高亮跟随,让您轻松愉快学法语"
9arch=('x86_64')
10url="https://www.frdic.com/ting"
11license=('LicenseRef-custom')
12conflicts=(
13 "${pkgname%-bin}"
14 "eudic-${_pkgname}"
15 "${_pkgname}"
16)
17depends=(
18 "electron${_electronversion}"
19 'ffmpeg'
20)
21source=(
22 "${pkgname%-bin}-${pkgver}.deb::https://static.frdic.com/pkg/${_pkgname}/${_pkgname}.deb"
23 "LICENSE.html::https://www.eudic.net/v4/en/home/privacy"
24 "${pkgname%-bin}.sh"
25)
26sha256sums=('cdf9d08b640518a101e875a9d2b5c4e92e32258c78f0e98017020031803a4a93'
27 '7f16e15435a7380645f8573fd7333f67c16811c04c15364d2e5d7bd44fa5e23a'
28 'f2fe8c189974ffb9d445e9a42bd4f1d5b60185607c3fcafae79ab44be224e013')
29_get_electron_version() {
30 _electronversion="$(strings "${srcdir}/opt/${_zhname}/${_pkgname}" | grep '^Chrome/[0-9.]* Electron/[0-9]' | cut -d'/' -f3 | cut -d'.' -f1)"
31 echo -e "The electron version is: \033[1;31m${_electronversion}\033[0m"
32}
33prepare() {
34 sed -i -e "
35 s/@electronversion@/${_electronversion}/g
36 s/@appname@/${pkgname%-bin}/g
37 s/@runname@/app.asar/g
38 s/@cfgdirname@/${_pkgname}/g
39 s/@options@//g
40 " "${srcdir}/${pkgname%-bin}.sh"
41 bsdtar -xf "${srcdir}/data."*
42 _get_electron_version
43 sed -i -e "
44 s/\"\/opt\/${_zhname}\/${_pkgname}\"/${pkgname%-bin}/g
45 s/Icon=${_pkgname}/Icon=${pkgname%-bin}/g
46 " "${srcdir}/usr/share/applications/${_pkgname}.desktop"
47 ln -sf "/usr/bin/ffmpeg" "${srcdir}/opt/${_zhname}/resources/ffmpeg-linux-x64"
48}
49package() {
50 install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
51 install -Dm644 "${srcdir}/opt/${_zhname}/resources/app.asar" -t "${pkgdir}/usr/lib/${pkgname%-bin}"
52 cp -Pr --no-preserve=ownership "${srcdir}/opt/${_zhname}/resources/app.asar.unpacked" "${pkgdir}/usr/lib/${pkgname%-bin}"
53 install -Dm644 "${srcdir}/opt/${_zhname}/swiftshader/"* -t "${pkgdir}/usr/lib/${pkgname%-bin}/swiftshader"
54 install -Dm644 "${srcdir}/usr/share/applications/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop"
55 _icon_sizes=(32x32 128x128 256x256)
56 for _icons in "${_icon_sizes[@]}";do
57 install -Dm644 "${srcdir}/usr/share/icons/hicolor/${_icons}/apps/${_pkgname}.png" \
58 "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}.png"
59 done
60 install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
61}
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