cangjie-lts-tools-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>
2
pkgname=('cangjie-lts-bin' 'cangjie-lts-tools-bin' 'cangjie-lts-runtime-bin')
3
pkgver="1.0.4"
4
pkgrel=2
5
epoch=
6
arch=('x86_64' 'aarch64')
7
pkgdesc='Cangjie(Beta Channel)'
8
url="https://cangjie-lang.cn/"
9
license=('Apache-2.0')
10
groups=('cangjie-lts-full')
11
depends=()
12
makedepends=()
13
checkdepends=()
14
provides=()
15
conflicts=()
16
replaces=()
17
backup=()
18
options=()
19
install=
20
changelog=
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")
22
sha256sums_x86_64=('651D94F7BB0BE349C2D3C6F5BE45689187C2703A9BDBA0C8DE117363A1A67D8C')
23
source_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")
24
sha256sums_aarch64=('08FF3207021A127799B2E688DAD30572EC2CACE7F5C72DEBF6F03F172BC0B61F')
25
noextract=()
26
validpgpkeys=()
27
28
build(){
29
cd "$srcdir/cangjie"
30
rm -r ./lib/windows_x86_64_llvm/
31
rm -r ./modules/windows_x86_64_llvm/
32
}
33
34
package_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
47
package_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
62
package_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) | Severity | Rules |
|---|---|---|
| 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 |