cad2fbd
maintainer Richardn
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official domain (dhondt.de), which hosts the upstream software; building from this source is normal AUR packaging behavior, and the package installs only a compiled binary from verified upstream code.
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 source is a tarball from the project's official domain (dhondt.de), which hosts the upstream software; building from this source is normal AUR packaging behavior, and the package installs only a compiled binary from verified upstream code.
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:23
"http://www.dhondt.de/cgxCadTools.tar.bz2"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Ruiqi Niu <rniu5 at jh dot edu>
2
3
pkgname=cad2fbd
4
pkgver=1.1
5
pkgrel=2
6
pkgdesc='CAD-geometry (STEP or IGES) to CalculiX FBD converter by Pascal Mossier.'
7
url=http://www.dhondt.de/
8
license=('GPL-2.0-only')
9
arch=('x86_64')
10
depends=(
11
'opencascade'
12
)
13
makedepends=(
14
'imake'
15
'make'
16
'gcc'
17
)
18
options=(
19
'!buildflags'
20
'!debug'
21
)
22
source=(
23
"http://www.dhondt.de/cgxCadTools.tar.bz2"
24
)
25
md5sums=(
26
'd9dacdaa2776dc9e24fa17084e0a237f'
27
)
28
29
prepare() {
30
cd $srcdir/cgxCadTools/CadReader/src
31
32
cp Makefile_orig Makefile
33
sed -i "/^OCCT =/c\OCCT = /usr/lib" Makefile
34
sed -i "/^OCCINC =/c\OCCINC = /usr/include/opencascade" Makefile
35
sed -i "/^PROGPATH =/c\PROGPATH = $srcdir\/cgxCadTools\/CadReader" Makefile
36
sed -i "/^CFLAGS =/c\CFLAGS = -std=c++11 -O3" Makefile
37
sed -i "/^MAIN =/c\MAIN = $pkgname" Makefile
38
39
make depend
40
make clean
41
}
42
43
build() {
44
cd $srcdir/cgxCadTools/CadReader/src
45
46
make -j$(($(nproc) - 1))
47
}
48
49
package() {
50
install -Dm755 $srcdir/cgxCadTools/CadReader/src/$pkgname $pkgdir/usr/bin/$pkgname
51
}
52
53
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 |