ldcad

maintainer lopsided98 · 4 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a prebuilt binary tarball from the project's official domain (melkert.net), which is not on the whitelist but is plausibly legitimate; the package installs only the project's own files with minor path adjustments, and no unreviewed remote code execution occurs.

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 prebuilt binary tarball from the project's official domain (melkert.net), which is not on the whitelist but is plausibly legitimate; the package installs only the project's own files with minor path adjustments, and no unreviewed remote code execution occurs.

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:12 source=("http://www.melkert.net/action/download/LDCad-${pkgver//./-}-Linux.tar.bz2"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Ben Wolsieffer <benwolsieffer@gmail.com>
2pkgname=ldcad
3pkgver=1.6d2
4pkgrel=2
5epoch=1
6pkgdesc="A multiplatform LDraw (virtual LEGO) editor that lets you edit LDraw model documents in real-time"
7arch=('i686' 'x86_64')
8url="http://www.melkert.net/LDCad"
9license=('custom')
10depends=('gtk2' 'glu' 'xdg-utils' 'ttf-dejavu')
11backup=('etc/LDCad.cfg')
12source=("http://www.melkert.net/action/download/LDCad-${pkgver//./-}-Linux.tar.bz2"
13 "license.txt")
14sha256sums=('77bdd33f0eea1f3e8d0f2a88dabe0b5b8982a9d66ebbcbcc5ca3d2eba2a5f013'
15 '9f94daabad96e05f398e634ab1ed713a1c1326c147825896d8af1b251035e217')
16
17
18prepare() {
19 cd "${srcdir}/LDCad-${pkgver//./-}-Linux"
20 # Make the setup script install to the correct paths
21 sed -i -e "s:/usr:$pkgdir/usr:" \
22 -e "s:/etc:$pkgdir/etc:" \
23 -e '/update-mime-database/d' \
24 -e '/update-desktop-database/d' setup.sh
25
26 if [ "$CARCH" == x86_64 ]; then
27 cp LDCad64 LDCad
28 elif [ "$CARCH" == i686 ]; then
29 cp LDCad32 LDCad
30 fi
31}
32
33package() {
34 # Create directories the installer is expecting to find
35 cd "${pkgdir}"
36 mkdir -p usr/bin
37 mkdir -p etc
38 mkdir -p usr/share/mime/packages/
39 mkdir -p usr/share/applications/
40
41 # Run installer
42 cd "${srcdir}/LDCad-${pkgver//./-}-Linux"
43 ./setup.sh
44
45 # Move mime file so it doesn't conflict with other packages
46 mv "${pkgdir}/usr/share/mime/packages/ldraw.xml" "${pkgdir}/usr/share/mime/packages/ldcad.xml"
47
48 # Remove references to $pkgdir in config and desktop file
49 sed -i -e "s:$pkgdir::" \
50 "${pkgdir}/etc/LDCad.cfg" \
51 "${pkgdir}/usr/share/applications/LDCad.desktop"
52
53 # Install license
54 install -D -m644 "${srcdir}/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
55}
56

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