cangjie-lts-runtime-bin

maintainer yms_hi · 0 votes · base cangjie-lts-bin · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads prebuilt SDK binaries from the project's official domain via an authenticated API endpoint; while the URL is non-standard, the host is project-owned, checksums are provided and verified, and the binaries are part of the official release, making this a normal, low-risk AUR package for a proprietary or semi-proprietary language toolchain.

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 prebuilt SDK binaries from the project's official domain via an authenticated API endpoint; while the URL is non-standard, the host is project-owned, checksums are provided and verified, and the binaries are part of the official release, making this a normal, low-risk AUR package for a proprietary or semi-proprietary language toolchain.

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:21 source_x86_64=("Cangjie-$pkgver-linux-amd64.tar.gz::https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=cangjie-sdk-linux-x64-1.0.4.tar.gz&objectKey=691154b9a1061e7e7ef142dd")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: yms_hi <yms_hi@Outlook.com>
2pkgname=('cangjie-lts-bin' 'cangjie-lts-tools-bin' 'cangjie-lts-runtime-bin')
3pkgver="1.0.4"
4pkgrel=2
5epoch=
6arch=('x86_64' 'aarch64')
7pkgdesc='Cangjie(Beta Channel)'
8url="https://cangjie-lang.cn/"
9license=('Apache-2.0')
10groups=('cangjie-lts-full')
11depends=()
12makedepends=()
13checkdepends=()
14provides=()
15conflicts=()
16replaces=()
17backup=()
18options=()
19install=
20changelog=
21source_x86_64=("Cangjie-$pkgver-linux-amd64.tar.gz::https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=cangjie-sdk-linux-x64-1.0.4.tar.gz&objectKey=691154b9a1061e7e7ef142dd")
22sha256sums_x86_64=('651D94F7BB0BE349C2D3C6F5BE45689187C2703A9BDBA0C8DE117363A1A67D8C')
23source_aarch64=("Cangjie-$pkgver-linux-aarch64.tar.gz::https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=cangjie-sdk-linux-aarch64-1.0.4.tar.gz&objectKey=691155b0a1061e7e7ef142e0")
24sha256sums_aarch64=('08FF3207021A127799B2E688DAD30572EC2CACE7F5C72DEBF6F03F172BC0B61F')
25noextract=()
26validpgpkeys=()
27
28build(){
29 cd "$srcdir/cangjie"
30 rm -r ./lib/windows_x86_64_llvm/
31 rm -r ./modules/windows_x86_64_llvm/
32}
33
34package_cangjie-lts-runtime-bin(){
35 provides=("cangjie-runtime=$pkgver")
36 depends=('openssl>=3.0.7')
37 conflicts=('cangjie-runtime')
38 pkgdesc='Runtime for Cangjie(LTS Channel)'
39 cd "$srcdir/cangjie"
40 install -Dm644 License.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
41 mkdir -p "$pkgdir/opt/cangjie/runtime/lib/linux_${CARCH}_llvm/"
42 mkdir -p "$pkgdir/usr/lib"
43 cp -r "./runtime/lib/linux_${CARCH}_llvm/" "$pkgdir/opt/cangjie/runtime/lib/"
44 chmod 755 "$pkgdir/opt/cangjie/runtime/lib/linux_${CARCH}_llvm/" -R
45}
46
47package_cangjie-lts-bin() {
48 pkgdesc="Cangjie compiler(LTS Channel)"
49 provides=("cangjie-bin=$pkgver")
50 depends=("cangjie-lts-runtime-bin=$pkgver" 'openssl>=3.0.7')
51 conflicts=('cangjie-bin')
52 cd "$srcdir/cangjie"
53 install -d "$pkgdir/opt/cangjie/bin" "$pkgdir/opt/cangjie/lib/" "$pkgdir/opt/cangjie/modules/"
54 install -Dm644 License.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
55 cp -r './third_party/' "$pkgdir/opt/cangjie"
56 cp -r './bin/' "$pkgdir/opt/cangjie"
57 cp -r './lib/' "$pkgdir/opt/cangjie"
58 cp -r './modules' "$pkgdir/opt/cangjie"
59 chmod 755 "$pkgdir/opt/cangjie/" -R
60}
61
62package_cangjie-lts-tools-bin(){
63 pkgdesc='Tools for Cangjie(LTS Channel)'
64 depends=("cangjie-lts-bin=$pkgver")
65 provides=("cangjie-tools=$pkgver")
66 conflicts=('cangjie-tools')
67 backup=('opt/cangjie/tools/config')
68 cd "$srcdir/cangjie"
69 install -Dm644 License.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
70 install -d "$pkgdir/opt/cangjie/tools"
71 cp -r './tools' "$pkgdir/opt/cangjie/"
72 cp './envsetup.sh' "$pkgdir/opt/cangjie/"
73 chmod 755 "$pkgdir/opt/cangjie/" -R
74}
75

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