bouffalo-lab-dev-cube
maintainer yjun
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source archive from a project-owned domain (dev.bouffalolab.com) for building the official tool; the host is not whitelisted but is plausibly legitimate, and the content is not executed remotely or obfuscated.
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 a source archive from a project-owned domain (dev.bouffalolab.com) for building the official tool; the host is not whitelisted but is plausibly legitimate, and the content is not executed remotely or obfuscated.
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:18
source=("https://dev.bouffalolab.com/media/upload/download/${_pkgname}-v${pkgver}.zip")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: yjun <jerrysteve1101 at gmail dot com>
2
3
pkgname=bouffalo-lab-dev-cube
4
_pkgname=BouffaloLabDevCube
5
pkgver=1.8.5
6
pkgrel=2
7
pkgdesc="A chip integrated development tool provided by Bouffalolab, which includes three major functions: IOT program download, MCU program download and RF performance test."
8
arch=('x86_64')
9
url="https://bouffalolab.oschina.io/bl_mcu_sdk/get_started/bl_dev_cube.html"
10
license=('unknown')
11
depends=('libusb'
12
'glibc'
13
'gcc-libs'
14
'zlib')
15
makedepends=('unzip')
16
provides=("bl-lab-dev-cube")
17
options=('emptydirs')
18
source=("https://dev.bouffalolab.com/media/upload/download/${_pkgname}-v${pkgver}.zip")
19
noextract=("${_pkgname}-v${pkgver}.zip")
20
sha256sums=('bbaddd5382b42c9d4ebef7ff39b1e37b347ba695a34132fb9237c83b773027b4')
21
22
_install() {
23
find ${@: 2} -type f -exec install -Dm$1 {} ${pkgdir}/opt/${pkgname}/{} \;
24
}
25
26
build() {
27
install -dm755 ${srcdir}/build
28
29
unzip "${_pkgname}-v${pkgver}.zip" -d ${srcdir}/build
30
}
31
32
package() {
33
cd ${srcdir}/build/
34
35
# binary
36
install -Dm755 bflb_iot_tool-ubuntu ${pkgdir}/opt/${pkgname}/bflb_iot_tool
37
install -Dm755 BLDevCube-ubuntu ${pkgdir}/opt/${pkgname}/BLDevCube
38
39
# symbol link
40
install -dm755 ${pkgdir}/usr/bin/
41
ln -sf /opt/${pkgname}/BLDevCube ${pkgdir}/usr/bin/BLDevCube
42
43
# desktop entry
44
# install -Dm644 usr/share/applications/${_pkgname}.desktop -t ${pkgdir}/usr/share/applications
45
46
# icon
47
# find usr/share/icons -type f -exec install -Dm644 {} ${pkgdir}/{} \;
48
# _install 644 usr/share/icons
49
50
# license
51
# install -Dm644 ${srcdir}/license.html -t ${pkgdir}/usr/share/licenses/${pkgname}/
52
53
# empty dir
54
install -dm777 ${pkgdir}/opt/${pkgname}/log
55
56
#
57
_install 644 chips
58
_install 644 docs
59
_install 644 utils
60
_install 644 chips
61
}
62
# vim: set sw=2 ts=2 et:
63
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 |