tinybpt-git

maintainer taotieren · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The non-standard host is used only to download a CA certificate (cacert.pem) from a well-known and trusted source (curl.se), which is safe and commonly used for SSL/TLS verification; the main code is built from a legitimate git repository under the maintainer's control.

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 non-standard host is used only to download a CA certificate (cacert.pem) from a well-known and trusted source (curl.se), which is safe and commonly used for SSL/TLS verification; the main code is built from a legitimate git repository under the maintainer's control.

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:30 "tinybpt_cacert.pem::https://curl.se/ca/cacert.pem"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: taotieren <admin@taotieren.com>
2
3pkgname=tinybpt-git
4pkgver=r28.b490fcc
5pkgrel=2
6epoch=
7pkgdesc="Tinybpt (Tiny Buildroot Packaging Tool) 是一个 buildroot 的包管理工具,主要处理 buildroot 的包依赖关系,提供包的安装、卸载等功能。"
8arch=($CARCH)
9url="https://gitee.com/tinylab/buildroot-toolkit"
10license=(GPL-2.0-or-later)
11groups=()
12provides=(${pkgname%-git})
13conflicts=(${pkgname%-git})
14depends=(
15 bash
16 gcc-libs
17 glibc
18 openssl
19)
20makedepends=(
21 git
22 cmake
23 nlohmann-json
24 ninja
25)
26optdepends=("buildroot-meta: dependency requirements for buildroot")
27checkdepends=()
28options=()
29source=(${pkgname}::git+$url.git
30 "tinybpt_cacert.pem::https://curl.se/ca/cacert.pem"
31 "CMakeLists.patch"
32)
33noextract=()
34sha256sums=('SKIP'
35 'a3f328c21e39ddd1f2be1cea43ac0dec819eaa20a90425d7da901a11531b3aa5'
36 'aef37c794e79637913ceb23a9a300c51cf4d3264ab48837c82209f4bf6c3cddb')
37
38pkgver() {
39 cd "${srcdir}/${pkgname}"
40 (
41 set -o pipefail
42 git describe --long --tag --abbrev=7 2>/dev/null | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g' ||
43 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
44 )
45}
46
47prepare() {
48 git -C "${srcdir}/${pkgname}" clean -dfx
49 cd "${srcdir}/${pkgname}"
50 patch -p1 <${srcdir}/CMakeLists.patch
51}
52
53build() {
54 cp -rv ${srcdir}/tinybpt_cacert.pem ${srcdir}/${pkgname}
55
56 # see:https://wiki.archlinux.org/title/CMake_package_guidelines
57 cmake -S ${pkgname} \
58 -DCMAKE_BUILD_TYPE=None \
59 -DCMAKE_INSTALL_PREFIX=/usr \
60 -Wno-dev \
61 -B build \
62 -G Ninja
63
64 ninja -C build
65}
66
67package() {
68 DESTDIR="${pkgdir}" ninja -C "${srcdir}"/build install
69}
70

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