ldraw-parts-library
The package downloads a data-only archive (LDraw CAD files) from the project's official domain, which is not on the whitelist but plausibly legitimate; the content is non-executable and used purely for design data.
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-only archive (LDraw CAD files) from the project's official domain, which is not on the whitelist but plausibly legitimate; the content is non-executable and used purely for design data.
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=20260831
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=('d2a695868ed2b3957c45b022a6451908edab22cc043179dd61d18dd382b35e11'
'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-09-01 00:11+++ PKGBUILD @ 2026-09-17 00:27@@ -3,7 +3,7 @@ # Contributor: Jesse Jaara <jesse.jaara@gmail.com> pkgname=ldraw-parts-library-pkgver=20260731+pkgver=20260831 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=('6009f2e94204c4d3a63a4c812010b5c90bad8c5acb19b882c859fdac63734eae'+sha256sums=('d2a695868ed2b3957c45b022a6451908edab22cc043179dd61d18dd382b35e11' '7cbd598861cc678e86ce07da220e97d0f9d27f2b8d0d03b794400b999fd6fc42' '783990d0de8daf6b0e18b1c06578438f7d70e106a1a351686872d8d6eeeba7ac') Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 11:47:58 | Medium | 1 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |