cangjie-lts-tools-bin
cangjie-lts-bin
scanned 2026-09-17 00:27:14.276658
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
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)
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# Maintainer: yms_hi <yms_hi@Outlook.com>
pkgname=('cangjie-lts-bin' 'cangjie-lts-tools-bin' 'cangjie-lts-runtime-bin')
pkgver="1.0.4"
pkgrel=2
epoch=
arch=('x86_64' 'aarch64')
pkgdesc='Cangjie(Beta Channel)'
url="https://cangjie-lang.cn/"
license=('Apache-2.0')
groups=('cangjie-lts-full')
depends=()
makedepends=()
checkdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
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")
sha256sums_x86_64=('651D94F7BB0BE349C2D3C6F5BE45689187C2703A9BDBA0C8DE117363A1A67D8C')
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")
sha256sums_aarch64=('08FF3207021A127799B2E688DAD30572EC2CACE7F5C72DEBF6F03F172BC0B61F')
noextract=()
validpgpkeys=()
build(){
cd "$srcdir/cangjie"
rm -r ./lib/windows_x86_64_llvm/
rm -r ./modules/windows_x86_64_llvm/
}
package_cangjie-lts-runtime-bin(){
provides=("cangjie-runtime=$pkgver")
depends=('openssl>=3.0.7')
conflicts=('cangjie-runtime')
pkgdesc='Runtime for Cangjie(LTS Channel)'
cd "$srcdir/cangjie"
install -Dm644 License.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
mkdir -p "$pkgdir/opt/cangjie/runtime/lib/linux_${CARCH}_llvm/"
mkdir -p "$pkgdir/usr/lib"
cp -r "./runtime/lib/linux_${CARCH}_llvm/" "$pkgdir/opt/cangjie/runtime/lib/"
chmod 755 "$pkgdir/opt/cangjie/runtime/lib/linux_${CARCH}_llvm/" -R
}
package_cangjie-lts-bin() {
pkgdesc="Cangjie compiler(LTS Channel)"
provides=("cangjie-bin=$pkgver")
depends=("cangjie-lts-runtime-bin=$pkgver" 'openssl>=3.0.7')
conflicts=('cangjie-bin')
cd "$srcdir/cangjie"
install -d "$pkgdir/opt/cangjie/bin" "$pkgdir/opt/cangjie/lib/" "$pkgdir/opt/cangjie/modules/"
install -Dm644 License.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
cp -r './third_party/' "$pkgdir/opt/cangjie"
cp -r './bin/' "$pkgdir/opt/cangjie"
cp -r './lib/' "$pkgdir/opt/cangjie"
cp -r './modules' "$pkgdir/opt/cangjie"
chmod 755 "$pkgdir/opt/cangjie/" -R
}
package_cangjie-lts-tools-bin(){
pkgdesc='Tools for Cangjie(LTS Channel)'
depends=("cangjie-lts-bin=$pkgver")
provides=("cangjie-tools=$pkgver")
conflicts=('cangjie-tools')
backup=('opt/cangjie/tools/config')
cd "$srcdir/cangjie"
install -Dm644 License.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
install -d "$pkgdir/opt/cangjie/tools"
cp -r './tools' "$pkgdir/opt/cangjie/"
cp './envsetup.sh' "$pkgdir/opt/cangjie/"
chmod 755 "$pkgdir/opt/cangjie/" -R
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |