jlc-assistant-bin

maintainer taotieren · 4 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a prebuilt Electron app from the vendor's official domain (download.jlc.com), which is plausibly the project's own infrastructure; the source is not executed remotely and the worst case of a swapped binary is limited to code execution within the app, but the host is reasonably trusted for this context.

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 Electron app from the vendor's official domain (download.jlc.com), which is plausibly the project's own infrastructure; the source is not executed remotely and the worst case of a swapped binary is limited to code execution within the app, but the host is reasonably trusted for this context.

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 source=("${pkgname%-bin}-${pkgver}.zip::https://download.jlc.com/pcAssit/${pkgver}/JLCPcAssit-linux-x64-${pkgver}.zip")

PKGBUILD

1 offending line(s) highlighted
1# Contributor: taotieren <admin@taotieren.com>
2
3pkgname=jlc-assistant-bin
4pkgver=5.0.69
5pkgrel=25
6pkgdesc="嘉立创下单助手:该应用为您下单提供便利,快速获取优惠及下单信息,无需在网站等待审核审单!在下单助手下单立享打折优惠! "
7arch=('x86_64')
8url="https://www.jlc.com/portal/appDownloadsWithConfig.html"
9license=('LicenseRef-custom')
10provides=(${pkgname%-bin})
11conflicts=(${pkgname%-bin})
12replaces=(${pkgname%-bin})
13_electron=electron34
14depends=(
15 gtk3
16 nss
17 libxss
18 ${_electron}
19 libappindicator-gtk3
20 libnotify
21)
22makedepends=()
23backup=()
24options=()
25install=
26source=("${pkgname%-bin}-${pkgver}.zip::https://download.jlc.com/pcAssit/${pkgver}/JLCPcAssit-linux-x64-${pkgver}.zip")
27sha256sums=('d943ebf9ee328a657cd608bdf301f637ea48988b57adeae1ae770fae944caacd')
28noextract=()
29
30package() {
31 export LC_CTYPE="zh_CN.UTF-8"
32 install -dm0755 "${pkgdir}/usr/lib/${pkgname%-bin}/"
33
34 # electron file
35 install -dm0755 "${pkgdir}/usr/lib/${pkgname%-bin}/"
36 cd ${srcdir}/${pkgname%-bin}-linux-x64-${pkgver}/${pkgname%-bin}/
37 cp -r res ${pkgdir}/usr/lib/${pkgname%-bin}
38 cp -r resources ${pkgdir}/usr/lib/${pkgname%-bin}
39
40 # icon
41 local _icon
42 for _icon in 16 32 64 72 128 256 512; do
43 install -Dm0644 icon/png/${_icon}.png \
44 ${pkgdir}/usr/share/icons/hicolor/${_icon}x${_icon}/apps/${pkgname%-bin}.png
45 done
46
47 # desktop entry
48 install -Dm0644 ${pkgname%-bin}.dkt \
49 ${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop
50
51 sed -i 's|/opt/jlc-assistant/icon/png/128.png|jlc-assistant.png|g' \
52 ${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop
53 sed -i 's|/opt/jlc-assistant/||g' ${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop
54
55 # jlc-assistant file
56 install -Dm0755 /dev/stdin ${pkgdir}/usr/bin/${pkgname%-bin} <<EOF
57#!/bin/sh
58
59exec ${_electron} /usr/lib/jlc-assistant/resources/app.asar "\$@"
60EOF
61
62 # LICENSE
63 # install -Dm0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE
64
65}
66

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