cangjie-lts-tools-bin

LOW
maintainer yms_hi 0 votes base cangjie-lts-bin scanned 2026-09-17 00:27:14.276658
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-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