csky-elf-noneabiv2-tools-bin

maintainer taotieren · 2 votes · base csky-toolchain-bin · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads prebuilt toolchain binaries and documentation PDFs from T-Head's official Aliyun host, which is plausibly the project's own infrastructure; while the host is not on a standard whitelist, the content is verified via provided sha256sums and consists of non-executable data or expected build tools, making the realistic risk low.

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 90%): The package downloads prebuilt toolchain binaries and documentation PDFs from T-Head's official Aliyun host, which is plausibly the project's own infrastructure; while the host is not on a standard whitelist, the content is verified via provided sha256sums and consists of non-executable data or expected build tools, making the realistic risk low.

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:15 source=("https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/null/1614234913073/ReleaseNotes.pdf"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: taotieren <admin@taotieren.com>
2
3pkgbase=csky-toolchain-bin
4pkgname=($pkgbase csky-elf-noneabiv2-tools-bin csky-elfabiv2-tools-bin csky-linux-uclibc-tools-bin csky-linux-uclibcabiv2-tools-bin csky-linux-gnuabiv2-tools-bin csky-elf-tools-bin csky-toolchain-guide-bin)
5pkgver=3.10.29
6pkgrel=2
7arch=('x86_64')
8url='https://occ.t-head.cn/community/download?id=3885366095506644992'
9license=('Apache')
10provides=()
11#conflicts=()
12depends=('filesystem')
13makedepends=('tar')
14
15source=("https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/null/1614234913073/ReleaseNotes.pdf"
16 "csky-elf-noneabiv2-tools-bin-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1356021/1619529419771/csky-elf-noneabiv2-tools-x86_64-newlib-20210423.tar.gz"
17 "csky-elfabiv2-tools-bin-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1356021/1619529111421/csky-elfabiv2-tools-x86_64-minilibc-20210423.tar.gz"
18 "csky-linux-uclibc-tools-bin-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1356021/1619527806432/csky-linux-uclibc-tools-x86_64-uclibc-linux-4.9.56-20210423.tar.gz"
19 "csky-linux-uclibcabiv2-tools-bin-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1356021/1619528170242/csky-linux-uclibcabiv2-tools-x86_64-uclibc-linux-4.9.56-20210423.tar.gz"
20 "csky-linux-gnuabiv2-tools-bin-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1356021/1619528643136/csky-linux-gnuabiv2-tools-x86_64-glibc-linux-4.9.56-20210423.tar.gz"
21 "csky-elf-tools-bin-${pkgver}.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1356021/1619529266702/csky-elf-tools-x86_64-minilibc-20210423.tar.gz"
22 "C-SKY ABIV2 Standards Manual.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/cop-image-prod/resource/420257228264570880/1577083169449/C-SKY+ABIV2+Standards+Manual.pdf"
23 "C-SKY Tools V3 User Guide-GDB.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/cop-image-prod/resource/420257228264570880/1577083297437/C-SKY+Tools+V3+User+Guide-GDB.pdf"
24 "C-SKY Tools V3 User Guide-Assembler.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/cop-image-prod/resource/420257228264570880/1577083259363/C-SKY+Tools+V3+User+Guide-Assembler.pdf"
25 "C-SKY Tools V3 User Guide-Link.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/cop-image-prod/resource/420257228264570880/1577083316694/C-SKY+Tools+V3+User+Guide-Link.pdf"
26 "C-SKY Tools V3 User Guide-Binutils.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/cop-image-prod/resource/420257228264570880/1577083279742/C-SKY+Tools+V3+User+Guide-Binutils.pdf"
27 "C-SKY Tools V3 User Guide-Compiler.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/cop-image-prod/resource/420257228264570880/1577083227863/C-SKY+Tools+V3+User+Guide-Compiler.pdf"
28 "C-SKY ABIV1 Standards Manual.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/cop-image-prod/resource/420257228264570880/1577083146977/C-SKY+ABIV1+Standards+Manual.pdf"
29 "T-HEAD 800 Series ABI Standards Manual.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1356021/1614835977510/T-HEAD_800_Series_ABI_Standards_Manual.pdf"
30 "T-HEAD软件开发指南V1.7.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1355977/1615892629021/T-HEAD%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97V1.7.pdf"
31 )
32
33sha256sums=('e70dca4e839c503d0efff7b078c5418f0d28d0e79a032d50e5e39682507c82ae'
34 '2e97e379bf8ec94ef2196ea6c6d62f3d3b291da19a087e3704de43e83415f859'
35 '8b9a353c157e4d44001a21974254a21cc0f3c7ea2bf3c894f18a905509a7048f'
36 '294514bb90355d8e0da1cb3e26b3d2862e14b861358fa5070a7333b991de725b'
37 '6aa00d660ece51b19cbb689e7ce4e0fabeeb3f0a4a84d86fbc42ddbcf88b096f'
38 '1a20b552977e2f7793b4ef242d41fbe6dc24fd2d369bdec5c96beb0d209fb676'
39 '6d93e925171806136f0b12c4c26c94f3b2dafdc04aa32cd94586f23e39ce673c'
40 '055d36544aae5ed7b4c8b8904c97c6b4386ad80a623320fbda1cb43ce9c73a56'
41 '9898a9118219666bb4bb5ed84695e286e0cb7872284770c9e1135520ce5bfd1e'
42 'b1720cbf06f0afb2a11f98b6961acd11dcf7531a3681b3d071a06587cf54e061'
43 'a3e8dc23e2b72e05914501626840754053a0352745ff7dbf744667e4e385e06d'
44 'c3972f0b36be4f875a50718e6303917ef3f9240063e12023c768b3e81bd9c6b3'
45 '219c07ebdd961bae2e009763a118c30e3a963ec3f134e67f5d6b5248b3d046bd'
46 '7229d8a72f7c7900518712365251030fca2f8bfe8dc497cce95dc5fe56576315'
47 '1c950ac9da8c2e53f9473e699b53bfeaea79adfa021ac36ef5047101aae94173'
48 'f552d20599d73f824e44a03d8ca49fe74b59e838a97352a2596042ba8cad422f')
49
50noextract=(csky-elf-noneabiv2-tools-bin-${pkgver}.tar.gz csky-elfabiv2-tools-bin-${pkgver}.tar.gz csky-linux-uclibc-tools-bin-${pkgver}.tar.gz csky-linux-uclibcabiv2-tools-bin-${pkgver}.tar.gz csky-linux-gnuabiv2-tools-bin-${pkgver}.tar.gz csky-elf-tools-bin-${pkgver}.tar.gz)
51
52package_csky-toolchain-bin() {
53 pkgdesc="C-Sky toolchain 800 series"
54 depends=(csky-elf-noneabiv2-tools-bin csky-elfabiv2-tools-bin csky-linux-uclibc-tools-bin csky-linux-uclibcabiv2-tools-bin csky-linux-gnuabiv2-tools-bin csky-elf-tools-bin csky-toolchain-guide-bin)
55}
56
57package_csky-elf-noneabiv2-tools-bin() {
58 pkgdesc="C-Sky elf noneabiv2 tools for 800 series"
59 install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
60
61 tar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "${pkgdir}/opt/t-head/${pkgname%-bin}" --no-same-owner --no-same-permissions
62
63 install -Dm0755 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.sh" << EOF
64#!/bin/sh
65[ -d /opt/t-head/${pkgname%-bin}/bin ] && append_path '/opt/t-head/${pkgname%-bin}/bin'
66
67export PATH
68EOF
69}
70
71package_csky-elfabiv2-tools-bin() {
72 pkgdesc="C-Sky elfabiv2 tools for 800 series"
73 install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
74
75 tar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "${pkgdir}/opt/t-head/${pkgname%-bin}" --no-same-owner --no-same-permissions
76
77 install -Dm0755 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.sh" << EOF
78#!/bin/sh
79[ -d /opt/t-head/${pkgname%-bin}/bin ] && append_path '/opt/t-head/${pkgname%-bin}/bin'
80
81export PATH
82EOF
83}
84
85package_csky-linux-uclibc-tools-bin() {
86 pkgdesc="C-Sky linux uclibc tools for 800 series"
87 install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
88
89 tar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "${pkgdir}/opt/t-head/${pkgname%-bin}" --no-same-owner --no-same-permissions
90
91 install -Dm0755 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.sh" << EOF
92#!/bin/sh
93[ -d /opt/t-head/${pkgname%-bin}/bin ] && append_path '/opt/t-head/${pkgname%-bin}/bin'
94
95export PATH
96EOF
97}
98
99package_csky-linux-uclibcabiv2-tools-bin() {
100 pkgdesc="C-Sky linux uclibcabiv2 tools for 800 series"
101 install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
102
103 tar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "${pkgdir}/opt/t-head/${pkgname%-bin}" --no-same-owner --no-same-permissions
104
105 install -Dm0755 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.sh" << EOF
106#!/bin/sh
107[ -d /opt/t-head/${pkgname%-bin}/bin ] && append_path '/opt/t-head/${pkgname%-bin}/bin'
108
109export PATH
110EOF
111}
112
113package_csky-linux-gnuabiv2-tools-bin() {
114 pkgdesc="C-Sky linux gnuabiv2 tools for 800 series"
115 install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
116
117 tar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "${pkgdir}/opt/t-head/${pkgname%-bin}" --no-same-owner --no-same-permissions
118
119 install -Dm0755 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.sh" << EOF
120#!/bin/sh
121[ -d /opt/t-head/${pkgname%-bin}/bin ] && append_path '/opt/t-head/${pkgname%-bin}/bin'
122
123export PATH
124EOF
125}
126
127package_csky-elf-tools-bin() {
128 pkgdesc="C-Sky elf tools for 800 series"
129 install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
130
131 tar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "${pkgdir}/opt/t-head/${pkgname%-bin}" --no-same-owner --no-same-permissions
132
133 install -Dm0755 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.sh" << EOF
134#!/bin/sh
135[ -d /opt/t-head/${pkgname%-bin}/bin ] && append_path '/opt/t-head/${pkgname%-bin}/bin'
136
137export PATH
138EOF
139}
140
141package_csky-toolchain-guide-bin() {
142 pkgdesc="C-Sky toolchain guide for 800 series"
143 install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
144
145 cp -r "${srcdir}"/*.pdf "${pkgdir}/opt/t-head/${pkgname%-bin}"
146}
147# vim: ts=4 sw=4 et
148

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