ldraw-parts-library
The package downloads a data archive from a project-specific domain (ldraw.org) for a legitimate CAD parts library; the content is non-executable and used as static data, so the non-whitelisted host poses minimal risk.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a data archive from a project-specific domain (ldraw.org) for a legitimate CAD parts library; the content is non-executable and used as static data, so the non-whitelisted host poses minimal risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:13
source=("$pkgname-$pkgver.zip::https://library.ldraw.org/library/updates/complete.zip"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Frederik Leonhardt <frederik at leonhardt dot co dot nz>
# Contributor: Brian Bidulock <bidulock@openss7.org>
# Contributor: Jesse Jaara <jesse.jaara@gmail.com>
pkgname=ldraw-parts-library
pkgver=20261026
pkgrel=1
pkgdesc="A collection of LDraw-format CAD files representing many of LEGO bricks produced"
arch=(any)
url="https://library.ldraw.org/updates"
license=('CCPL: cc-by-2.0')
options=(!strip)
source=("$pkgname-$pkgver.zip::https://library.ldraw.org/library/updates/complete.zip"
"$pkgname.sh"
"license")
sha256sums=('023083918da2d3697c794fb4267975509584f3611b993095874206a803fa610f'
'7cbd598861cc678e86ce07da220e97d0f9d27f2b8d0d03b794400b999fd6fc42'
'783990d0de8daf6b0e18b1c06578438f7d70e106a1a351686872d8d6eeeba7ac')
xpkgver() {
local version=$(grep -oP '^0 !LDRAW_ORG Configuration UPDATE \K.+$' "$srcdir/ldraw/LDConfig.ldr")
echo ${version//[^0-9]/}
}
package() {
cd "${srcdir}/ldraw/"
# Install data
mkdir -p "${pkgdir}/usr/share/ldraw"
mv LDConfig.ldr "${pkgdir}/usr/share/ldraw/"
mv p "${pkgdir}/usr/share/ldraw/"
mv parts "${pkgdir}/usr/share/ldraw/"
# Fix permissions
find "${pkgdir}/usr/share/ldraw" -type f -exec chmod 644 {} +
find "${pkgdir}/usr/share/ldraw" -type d -exec chmod 755 {} +
# Install the old version 2.0 CC-by license
install -D -m644 ../license "${pkgdir}/usr/share/licenses/${pkgname}/license"
install -D -m755 ../ldraw-parts-library.sh "${pkgdir}/etc/profile.d/ldraw-parts-library.sh"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-31 00:07+++ PKGBUILD @ 2026-11-01 00:21@@ -3,7 +3,7 @@ # Contributor: Jesse Jaara <jesse.jaara@gmail.com> pkgname=ldraw-parts-library-pkgver=20260831+pkgver=20261026 pkgrel=1 pkgdesc="A collection of LDraw-format CAD files representing many of LEGO bricks produced" arch=(any)@@ -13,7 +13,7 @@ source=("$pkgname-$pkgver.zip::https://library.ldraw.org/library/updates/complete.zip" "$pkgname.sh" "license")-sha256sums=('d2a695868ed2b3957c45b022a6451908edab22cc043179dd61d18dd382b35e11'+sha256sums=('023083918da2d3697c794fb4267975509584f3611b993095874206a803fa610f' '7cbd598861cc678e86ce07da220e97d0f9d27f2b8d0d03b794400b999fd6fc42' '783990d0de8daf6b0e18b1c06578438f7d70e106a1a351686872d8d6eeeba7ac') Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 23:59:16 | Medium | 1 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |