varicad-view

LOW
maintainer petrmanek 4 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt RPM from the official vendor's domain (varicad.com) for packaging; this is a standard practice for AUR packages wrapping official binaries, and the source is not from a swappable or untrusted host.

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 prebuilt RPM from the official vendor's domain (varicad.com) for packaging; this is a standard practice for AUR packages wrapping official binaries, and the source is not from a swappable or untrusted host.

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://www.varicad.com/userdata/files/release/VariCAD_View-${_pkgver_year}.${_pkgver_majmin}-${_pkgver_rel}.$CARCH.rpm")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Petr Manek <pm+aur at petrmanek dot cz>
2
3pkgname=varicad-view
4_pkgver_year=2026
5_pkgver_majmin=2.01
6_pkgver_rel=1
7pkgver=${_pkgver_year}.${_pkgver_majmin}
8pkgrel=1
9pkgdesc="Free viewer, convertor & printing software working with 2D DWG, DXF, 3D STEP formats."
10arch=('x86_64')
11license=(custom)
12makedepends=()
13depends=(libx11 libxcomposite libxdamage libxext libxfixes libxrender mime-types gtk2 hicolor-icon-theme)
14provides=(varicad-view)
15source=("https://www.varicad.com/userdata/files/release/VariCAD_View-${_pkgver_year}.${_pkgver_majmin}-${_pkgver_rel}.$CARCH.rpm")
16url="https://www.varicad.com/"
17sha256sums=('c408220944aa4c4247cdb4d15677eaee1a9e0980f53c4fab24e1f7a4b57f9ffe')
18
19package() {
20 # Contents of this function are inspired by the install script located at:
21 # $srcdir/opt/VariCAD-View/desktop/installdesktop.sh
22
23 addon=view
24
25 # executable
26 mkdir -p $pkgdir/opt/VariCAD-View $pkgdir/usr/bin
27 cp -r $srcdir/opt/VariCAD-View/{bin,lib} $pkgdir/opt/VariCAD-View/
28 cd $pkgdir/usr/bin && ln -s ../../opt/VariCAD-View/bin/varicad-view
29
30 # icons
31 install -Dm644 \
32 $srcdir/opt/VariCAD-View/desktop/varicad"$addon".xpm \
33 $pkgdir/usr/share/pixmaps/varicad"$addon".xpm
34
35 for icon_resolution in hicolor locolor ; do
36 for icon_size in 512 256 192 128 96 72 64 48 42 36 32 24 22 16 ; do
37 icon_dim="$icon_size"x"$icon_size"
38 icon_dir=$icon_resolution/$icon_dim
39 install -Dm644 \
40 $srcdir/opt/VariCAD-View/desktop/varicad"$addon"_"$icon_dim".png \
41 $pkgdir/usr/share/icons/$icon_dir/apps/varicad"$addon".png
42 done
43 done
44
45 # desktop files
46 install -Dm644 \
47 $srcdir/opt/VariCAD-View/desktop/varicad"$addon".desktop \
48 $pkgdir/usr/share/applications/varicad"$addon".desktop
49 install -Dm644 \
50 $srcdir/opt/VariCAD-View/desktop/x-varicad"$addon".desktop \
51 $pkgdir/usr/share/mimelnk/application/x-varicad"$addon".desktop
52
53 # documentation
54 for install_file in $(ls $srcdir/usr/share/doc/packages/VariCAD_View) ;
55 do
56 install -Dm644 \
57 $srcdir/usr/share/doc/packages/VariCAD_View/$install_file \
58 $pkgdir/usr/share/doc/$pkgname/$install_file
59 done
60}
61
62
63

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion